uci-socket/.eslintrc.js

36 lines
591 B
JavaScript
Raw Permalink 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",
"allowImportExportEverywhere": true
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"
]
}
}