uci-base/.eslintrc.js

35 lines
550 B
JavaScript
Raw Normal View History

2017-12-21 15:47:42 -08:00
module.exports = {
"ecmaFeatures": {
"modules": true,
"spread" : true,
"restParams" : true
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"parser": "babel-eslint",
2017-12-21 15:47:42 -08:00
"parserOptions": {
"ecmaVersion": 2017
,"sourceType": "module"
2017-12-21 15:47:42 -08:00
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"no-console": 0,
"semi": ["error", "never"],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
]
}
}