@innovixx/eslint-config 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -315,7 +315,18 @@ const bestPracticesRules = {
|
|
|
315
315
|
'no-void': 'error',
|
|
316
316
|
|
|
317
317
|
// disallow usage of configurable warning terms in comments: e.g. todo
|
|
318
|
-
'no-warning-comments': [
|
|
318
|
+
'no-warning-comments': [
|
|
319
|
+
'error',
|
|
320
|
+
{
|
|
321
|
+
terms: [
|
|
322
|
+
'DONOTCOMMIT',
|
|
323
|
+
'DO_NOT_COMMIT',
|
|
324
|
+
'DO-NOT-COMMIT',
|
|
325
|
+
'DO NOT COMMIT',
|
|
326
|
+
],
|
|
327
|
+
location: 'anywhere',
|
|
328
|
+
},
|
|
329
|
+
],
|
|
319
330
|
|
|
320
331
|
// disallow use of the with statement
|
|
321
332
|
'no-with': 'error',
|
|
@@ -24,7 +24,19 @@ export const graphqlConfig = [
|
|
|
24
24
|
},
|
|
25
25
|
|
|
26
26
|
rules: {
|
|
27
|
-
'eol-last': '
|
|
27
|
+
'eol-last': 'error',
|
|
28
|
+
'no-warning-comments': [
|
|
29
|
+
'error',
|
|
30
|
+
{
|
|
31
|
+
terms: [
|
|
32
|
+
'DONOTCOMMIT',
|
|
33
|
+
'DO_NOT_COMMIT',
|
|
34
|
+
'DO-NOT-COMMIT',
|
|
35
|
+
'DO NOT COMMIT',
|
|
36
|
+
],
|
|
37
|
+
location: 'anywhere',
|
|
38
|
+
},
|
|
39
|
+
],
|
|
28
40
|
},
|
|
29
41
|
},
|
|
30
42
|
{
|
package/package.json
CHANGED