@rotki/eslint-config 2.1.0 → 2.2.0
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.
- package/dist/index.cjs +9 -3
- package/dist/index.js +9 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -580,7 +580,7 @@ function imports(options = {}) {
|
|
|
580
580
|
}
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
|
-
files: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`],
|
|
583
|
+
files: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`, `**/.vitepress/config.${GLOB_SRC}`],
|
|
584
584
|
rules: {
|
|
585
585
|
"import/no-default-export": "off",
|
|
586
586
|
"no-console": "off"
|
|
@@ -1021,8 +1021,8 @@ function node() {
|
|
|
1021
1021
|
"node/no-exports-assign": "error",
|
|
1022
1022
|
"node/no-new-require": "error",
|
|
1023
1023
|
"node/no-path-concat": "error",
|
|
1024
|
-
"node/prefer-global/buffer": ["
|
|
1025
|
-
"node/prefer-global/process": ["
|
|
1024
|
+
"node/prefer-global/buffer": ["error", "never"],
|
|
1025
|
+
"node/prefer-global/process": ["error", "never"],
|
|
1026
1026
|
"node/process-exit-as-throw": "error"
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
@@ -1589,6 +1589,12 @@ function unicorn() {
|
|
|
1589
1589
|
"unicorn/prefer-type-error": "error",
|
|
1590
1590
|
"unicorn/throw-new-error": "error"
|
|
1591
1591
|
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
files: [".github/**/*.md"],
|
|
1595
|
+
rules: {
|
|
1596
|
+
"unicorn/filename-case": "off"
|
|
1597
|
+
}
|
|
1592
1598
|
}
|
|
1593
1599
|
];
|
|
1594
1600
|
}
|
package/dist/index.js
CHANGED
|
@@ -487,7 +487,7 @@ function imports(options = {}) {
|
|
|
487
487
|
}
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
|
-
files: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`],
|
|
490
|
+
files: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`, `**/.vitepress/config.${GLOB_SRC}`],
|
|
491
491
|
rules: {
|
|
492
492
|
"import/no-default-export": "off",
|
|
493
493
|
"no-console": "off"
|
|
@@ -928,8 +928,8 @@ function node() {
|
|
|
928
928
|
"node/no-exports-assign": "error",
|
|
929
929
|
"node/no-new-require": "error",
|
|
930
930
|
"node/no-path-concat": "error",
|
|
931
|
-
"node/prefer-global/buffer": ["
|
|
932
|
-
"node/prefer-global/process": ["
|
|
931
|
+
"node/prefer-global/buffer": ["error", "never"],
|
|
932
|
+
"node/prefer-global/process": ["error", "never"],
|
|
933
933
|
"node/process-exit-as-throw": "error"
|
|
934
934
|
}
|
|
935
935
|
}
|
|
@@ -1496,6 +1496,12 @@ function unicorn() {
|
|
|
1496
1496
|
"unicorn/prefer-type-error": "error",
|
|
1497
1497
|
"unicorn/throw-new-error": "error"
|
|
1498
1498
|
}
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
files: [".github/**/*.md"],
|
|
1502
|
+
rules: {
|
|
1503
|
+
"unicorn/filename-case": "off"
|
|
1504
|
+
}
|
|
1499
1505
|
}
|
|
1500
1506
|
];
|
|
1501
1507
|
}
|