-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.js
30 lines (30 loc) · 889 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
extends: [
"airbnb-base",
"plugin:security/recommended"
],
plugins: ["import", "fp", "security"],
rules: {
"comma-dangle": ["error", "never"],
"no-confusing-arrow": "off",
"class-methods-use-this": "off",
"arrow-params": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
quotes: [2, "double"],
"quote-props": ["error", "as-needed", { numbers: true }],
indent: ["error", 4],
"fp/no-arguments": "error",
"fp/no-delete": "error",
"fp/no-get-set": "error",
"fp/no-mutating-assign": "error",
"fp/no-proxy": "error",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": [
"error",
{ devDependencies: true }
]
},
env: {
node: true
}
};