1 | {
|
2 | "extends": "airbnb-base",
|
3 | "env": {
|
4 | "commonjs": true,
|
5 | "node": true,
|
6 | "mocha": true
|
7 | },
|
8 | "rules": {
|
9 | "class-methods-use-this" : "off",
|
10 | "indent": ["error", 4],
|
11 | "max-len": ["error", 150, 4],
|
12 | "import/no-unresolved":"off",
|
13 | "no-plusplus":"off",
|
14 | "no-underscore-dangle": 0,
|
15 | "no-lonely-if":"off",
|
16 | "no-console": "off",
|
17 | "no-bitwise": ["error", { "allow": ["|"] }],
|
18 | "no-restricted-syntax": ["error", "ForInStatement"],
|
19 | "no-param-reassign":"off",
|
20 | "no-continue":"off",
|
21 | "no-new":"off",
|
22 | "no-throw-literal":"off",
|
23 | "consistent-return":"off",
|
24 | "object-curly-newline": ["error", {
|
25 | "ImportDeclaration": "never",
|
26 | "ExportDeclaration": {
|
27 | "multiline": true,
|
28 | "minProperties": 3
|
29 | }
|
30 | }],
|
31 | "import/no-dynamic-require":"off",
|
32 | "comma-dangle": ["error", {
|
33 | "arrays": "only-multiline",
|
34 | "objects": "only-multiline",
|
35 | "imports": "never",
|
36 | "exports": "never",
|
37 | "functions": "ignore"
|
38 | }],
|
39 | "no-use-before-define": ["error", {
|
40 | "functions": false,
|
41 | "classes": true,
|
42 | "variables": true
|
43 | }],
|
44 | "no-restricted-properties": "off",
|
45 | "linebreak-style": "off",
|
46 | "arrow-parens": "off",
|
47 | "max-classes-per-file": "off",
|
48 | "one-var": "off",
|
49 | "one-var-declaration-per-line": "off"
|
50 | }
|
51 | }
|