53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
{
|
|
"extends": "airbnb-base",
|
|
|
|
"parserOptions": {
|
|
"sourceType": "strict"
|
|
},
|
|
|
|
"env": {
|
|
"mocha": true
|
|
},
|
|
|
|
"rules": {
|
|
"semi": [ 2, "never" ],
|
|
"import/no-extraneous-dependencies": ["error", {"devDependencies": true, "optionalDependencies": false, "peerDependencies": false}],
|
|
"new-cap": 0,
|
|
"no-mixed-operators": 0,
|
|
"no-cond-assign": 0,
|
|
"guard-for-in": 0,
|
|
"global-require": 0,
|
|
"no-underscore-dangle": 0,
|
|
"object-shorthand": 0,
|
|
"default-case": 0,
|
|
"one-var": 0,
|
|
"prefer-rest-params": 0,
|
|
"no-unused-vars": [ 2, { "args": "none" } ],
|
|
"no-alert": 0,
|
|
"quote-props": 0,
|
|
"no-nested-ternary": 0,
|
|
"no-use-before-define": [2, { "functions": false, "classes": true }],
|
|
"consistent-return": 0,
|
|
"no-eval": 0,
|
|
"prefer-arrow-callback": 0,
|
|
"array-bracket-spacing": 0,
|
|
"no-console": 0,
|
|
"indent": [ 2, 2, { "SwitchCase": 1 }],
|
|
"max-len": 0,
|
|
"comma-dangle": 0,
|
|
"no-param-reassign": 0,
|
|
"prefer-template": 0,
|
|
"curly": 0,
|
|
"func-names": 0,
|
|
"no-shadow": 0,
|
|
"spaced-comment": 0,
|
|
"strict": [ 2, "global" ]
|
|
},
|
|
|
|
"globals": {
|
|
"PWD": true,
|
|
"ENV": true,
|
|
"location": true
|
|
}
|
|
}
|