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.

33 lines
718 B

6 years ago
module.exports = {
"parserOptions": {
"ecmaVersion": 2018,
},
6 years ago
"env": {
"commonjs": true,
"es6": true,
"node": true,
6 years ago
},
"extends": "eslint:recommended",
"rules": {
6 years ago
"no-global-assign": "off",
"no-console": "off",
"no-undef": "off",
6 years ago
"no-nested-ternary": "warn",
"no-self-compare": "error",
"no-trailing-spaces": "error",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",
6 years ago
"no-undef": "error",
'comma-dangle': [ 'error', 'only-multiline' ],
6 years ago
"linebreak-style": [ "error", "unix" ],
"semi": [ "error", "always" ],
"eqeqeq": [ "error", "always", {"null": "ignore"} ],
6 years ago
"indent": [ "error", "tab",
{
MemberExpression: 0,
SwitchCase: 1,
}
],
6 years ago
}
};