36 lines
591 B
JavaScript
36 lines
591 B
JavaScript
module.exports = {
|
|
"ecmaFeatures": {
|
|
"modules": true,
|
|
"spread" : true,
|
|
"restParams" : true
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"mocha": true
|
|
},
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017,
|
|
"sourceType": "module",
|
|
"allowImportExportEverywhere": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"no-console": 0,
|
|
"semi": ["error", "never"],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
]
|
|
}
|
|
}
|