Tiny, but fully loaded test-runner.
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.
|
|
|
module.exports = {
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"rules": {
|
|
|
|
"no-nested-ternary": "warn",
|
|
|
|
"no-self-compare": "error",
|
|
|
|
"no-trailing-spaces": "error",
|
|
|
|
"no-unmodified-loop-condition": "error",
|
|
|
|
"no-unneeded-ternary": "error",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-undef": "off",
|
|
|
|
'comma-dangle': [ 'error', 'only-multiline' ],
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
"tab",
|
|
|
|
{ MemberExpression: 0, }
|
|
|
|
],
|
|
|
|
"linebreak-style": [ "error", "unix" ],
|
|
|
|
"semi": [ "error", "always" ],
|
|
|
|
"eqeqeq": [ "error", "always", {"null": "ignore"} ],
|
|
|
|
"no-global-assign": 0,
|
|
|
|
}
|
|
|
|
};
|