You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
642 B
26 lines
642 B
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"node": true,
|
|
"mocha": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"block-scoped-var": "error",
|
|
"consistent-return": "error",
|
|
"eqeqeq": ["error", "always"],
|
|
"indent": [ "error", 2 ],
|
|
"linebreak-style": [ "error", "unix" ],
|
|
"no-eval": "error",
|
|
"no-shadow": "error",
|
|
"no-shadow-restricted-names": "error",
|
|
"quotes": [ "error", "double" ],
|
|
"semi": [ "error", "always" ]
|
|
}
|
|
}
|