|
1 | 1 | { |
| 2 | + "root": true, |
| 3 | + |
| 4 | + "extends": "@ljharb/eslint-config/node/0.4", |
| 5 | + |
2 | 6 | "rules": { |
| 7 | + "callback-return": "warn", |
| 8 | + "camelcase": "off", |
| 9 | + "eqeqeq": ["error", "always", {"null": "ignore"}], |
| 10 | + "func-style": "off", |
| 11 | + "id-length": "off", |
3 | 12 | "indent": [2, 2, {"SwitchCase": 1}], |
4 | | - "quotes": [2, "single"], |
5 | | - "linebreak-style": [2, "unix"], |
6 | | - "semi": [2, "always"], |
7 | | - "curly": [2, "multi-line"], |
8 | | - "handle-callback-err": [2, "^err"], |
9 | | - "valid-jsdoc": [2, { |
10 | | - "requireReturn": false, |
11 | | - "requireReturnDescription": false, |
12 | | - "prefer": { |
13 | | - "return": "returns" |
14 | | - } |
15 | | - }], |
16 | | - "require-jsdoc": [2, { |
17 | | - "require": { |
18 | | - "FunctionDeclaration": true |
19 | | - } |
20 | | - }], |
21 | | - "no-redeclare": [2, { "builtinGlobals": true }], |
22 | | - "no-shadow": [2, { "builtinGlobals": true, "hoist": "all" }], |
23 | | - "no-use-before-define": [2, "nofunc"], |
24 | | - "no-shadow-restricted-names": 2, |
25 | | - "no-extra-semi": 2, |
26 | | - "no-unused-vars": 2, |
27 | | - "no-undef": 2, |
28 | | - "no-irregular-whitespace": 2, |
29 | | - "no-console": 2, |
30 | | - "key-spacing": 0, |
31 | | - "strict": 0, |
32 | | - "dot-notation": 0, |
33 | | - "eol-last": 0, |
34 | | - "no-new": 0, |
35 | | - "semi-spacing": 0, |
36 | | - "no-multi-spaces": 0, |
37 | | - "eqeqeq": 0, |
38 | | - "no-mixed-requires": 0 |
| 13 | + "max-lines": "off", |
| 14 | + "no-param-reassign": "warn", |
| 15 | + "no-underscore-dangle": "off", |
| 16 | + "sort-keys": "off", |
39 | 17 | }, |
40 | | - "env": { |
41 | | - "node": true |
42 | | - }, |
43 | | - "ignorePatterns": [ |
44 | | - "node_modules/*", |
45 | | - "index.d.ts", |
46 | | - "coverage", |
47 | | - ] |
48 | 18 | } |
0 commit comments