|
22 | 22 | "object-shorthand": [2, "always", {
|
23 | 23 | "ignoreConstructors": false,
|
24 | 24 | "avoidQuotes": false, // this is the override vs airbnb
|
25 |
| - }], |
26 |
| - "max-len": [2, 120, { |
27 |
| - "ignoreStrings": true, |
28 |
| - "ignoreTemplateLiterals": true, |
29 |
| - "ignoreComments": true, |
30 |
| - }], |
31 |
| - "consistent-return": 0, |
| 25 | + }], |
| 26 | + "max-len": [2, 140, { |
| 27 | + "ignoreStrings": true, |
| 28 | + "ignoreTemplateLiterals": true, |
| 29 | + "ignoreComments": true, |
| 30 | + }], |
| 31 | + "consistent-return": 0, |
32 | 32 |
|
33 |
| - "prefer-destructuring": [2, { "array": false, "object": false }, { "enforceForRenamedProperties": false }], |
34 |
| - "prefer-object-spread": 0, // until node 8 is required |
35 |
| - "prefer-rest-params": 0, // until node 6 is required |
36 |
| - "prefer-spread": 0, // until node 6 is required |
37 |
| - "function-call-argument-newline": 1, // TODO: enable |
38 |
| - "function-paren-newline": 0, |
39 |
| - "no-plusplus": [2, {"allowForLoopAfterthoughts": true}], |
40 |
| - "no-param-reassign": 1, |
41 |
| - "no-restricted-syntax": [2, { |
42 |
| - "selector": "ObjectPattern", |
43 |
| - "message": "Object destructuring is not compatible with Node v4" |
44 |
| - }], |
45 |
| - "strict": [2, "safe"], |
46 |
| - "valid-jsdoc": [2, { |
47 |
| - "requireReturn": false, |
48 |
| - "requireParamDescription": false, |
49 |
| - "requireReturnDescription": false, |
50 |
| - }], |
| 33 | + "prefer-destructuring": [2, { "array": false, "object": false }, { "enforceForRenamedProperties": false }], |
| 34 | + "prefer-object-spread": 0, // until node 8 is required |
| 35 | + "prefer-rest-params": 0, // until node 6 is required |
| 36 | + "prefer-spread": 0, // until node 6 is required |
| 37 | + "function-call-argument-newline": 1, // TODO: enable |
| 38 | + "function-paren-newline": 0, |
| 39 | + "no-plusplus": [2, {"allowForLoopAfterthoughts": true}], |
| 40 | + "no-param-reassign": 1, |
| 41 | + "no-restricted-syntax": [2, { |
| 42 | + "selector": "ObjectPattern", |
| 43 | + "message": "Object destructuring is not compatible with Node v4" |
| 44 | + }], |
| 45 | + "strict": [2, "safe"], |
| 46 | + "valid-jsdoc": [2, { |
| 47 | + "requireReturn": false, |
| 48 | + "requireParamDescription": false, |
| 49 | + "requireReturnDescription": false, |
| 50 | + }], |
51 | 51 |
|
52 |
| - "eslint-plugin/consistent-output": 0, |
53 |
| - "eslint-plugin/require-meta-docs-description": [2, { "pattern": "^(Enforce|Require|Disallow)" }], |
54 |
| - "eslint-plugin/require-meta-schema": 0, |
55 |
| - "eslint-plugin/require-meta-type": 0 |
56 |
| - }, |
57 |
| - "overrides": [ |
58 |
| - { |
59 |
| - "files": "tests/**", |
60 |
| - "rules": { |
61 |
| - "no-template-curly-in-string": 1, |
62 |
| - }, |
63 |
| - }, |
64 |
| - { |
65 |
| - "files": "markdown.config.js", |
66 |
| - "rules": { |
67 |
| - "no-console": 0, |
68 |
| - }, |
69 |
| - }, |
70 |
| - { |
71 |
| - "files": ".github/workflows/*.js", |
72 |
| - "parserOptions": { |
73 |
| - "ecmaVersion": 2019, |
74 |
| - }, |
75 |
| - "rules": { |
76 |
| - "camelcase": 0, |
77 |
| - "no-console": 0, |
78 |
| - "no-restricted-syntax": 0, |
79 |
| - }, |
80 |
| - }, |
81 |
| - ], |
82 |
| - } |
| 52 | + "eslint-plugin/consistent-output": 0, |
| 53 | + "eslint-plugin/require-meta-docs-description": [2, { "pattern": "^(Enforce|Require|Disallow)" }], |
| 54 | + "eslint-plugin/require-meta-schema": 0, |
| 55 | + "eslint-plugin/require-meta-type": 0 |
| 56 | + }, |
| 57 | + "overrides": [ |
| 58 | + { |
| 59 | + "files": "tests/**", |
| 60 | + "rules": { |
| 61 | + "no-template-curly-in-string": 1, |
| 62 | + }, |
| 63 | + }, |
| 64 | + { |
| 65 | + "files": "markdown.config.js", |
| 66 | + "rules": { |
| 67 | + "no-console": 0, |
| 68 | + }, |
| 69 | + }, |
| 70 | + { |
| 71 | + "files": ".github/workflows/*.js", |
| 72 | + "parserOptions": { |
| 73 | + "ecmaVersion": 2019, |
| 74 | + }, |
| 75 | + "rules": { |
| 76 | + "camelcase": 0, |
| 77 | + "no-console": 0, |
| 78 | + "no-restricted-syntax": 0, |
| 79 | + }, |
| 80 | + }, |
| 81 | + ], |
| 82 | +} |
0 commit comments