42 lines
847 B
JavaScript
42 lines
847 B
JavaScript
module.exports = {
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"globals": {
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018
|
|
},
|
|
"rules": {
|
|
"eol-last": "error",
|
|
"indent": [
|
|
"off",
|
|
"tab"
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"no-console": "off",
|
|
"no-empty": [ "error", { "allowEmptyCatch": true } ],
|
|
"no-trailing-spaces": "error",
|
|
"no-unused-vars": [
|
|
"error",
|
|
{
|
|
"args" : "none",
|
|
},
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
]
|
|
}
|
|
};
|