@hexadrop/eslint-config 1.0.0 → 1.0.2
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.d.mts +377 -310
- package/dist/index.mjs +4 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1508,6 +1508,7 @@ async function stylistic(options) {
|
|
|
1508
1508
|
name: STYLISTIC_CONFIG_NAME_RULES_UNICORN,
|
|
1509
1509
|
rules: {
|
|
1510
1510
|
...unicornRules,
|
|
1511
|
+
"unicorn/consistent-boolean-name": ["error", { ignore: ["value", "^completed$"] }],
|
|
1511
1512
|
"unicorn/consistent-function-scoping": "off",
|
|
1512
1513
|
"unicorn/dom-node-dataset": "off",
|
|
1513
1514
|
"unicorn/name-replacements": ["error", { allowList: {
|
|
@@ -1516,7 +1517,9 @@ async function stylistic(options) {
|
|
|
1516
1517
|
} }],
|
|
1517
1518
|
"unicorn/no-array-reduce": "off",
|
|
1518
1519
|
"unicorn/no-nested-ternary": "off",
|
|
1519
|
-
"unicorn/no-
|
|
1520
|
+
"unicorn/no-nonstandard-builtin-properties": "off",
|
|
1521
|
+
"unicorn/no-static-only-class": "off",
|
|
1522
|
+
"unicorn/prefer-includes-over-repeated-comparisons": "off"
|
|
1520
1523
|
}
|
|
1521
1524
|
});
|
|
1522
1525
|
if (markdown) config.push({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hexadrop/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Opinionated ESLint ruleset designed for large teams and projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "8.62.0",
|
|
50
50
|
"@typescript-eslint/parser": "8.62.0",
|
|
51
|
-
"astro-eslint-parser": "2.
|
|
51
|
+
"astro-eslint-parser": "2.1.0",
|
|
52
52
|
"eslint-config-flat-gitignore": "2.3.0",
|
|
53
53
|
"eslint-flat-config-utils": "3.2.0",
|
|
54
54
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
55
55
|
"eslint-merge-processors": "2.0.0",
|
|
56
56
|
"eslint-parser-plain": "0.1.1",
|
|
57
|
-
"eslint-plugin-astro": "2.
|
|
57
|
+
"eslint-plugin-astro": "2.1.1",
|
|
58
58
|
"eslint-plugin-format": "2.0.1",
|
|
59
59
|
"eslint-plugin-import-x": "4.17.0",
|
|
60
60
|
"eslint-plugin-jsonc": "3.2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
65
65
|
"eslint-plugin-react-refresh": "0.5.3",
|
|
66
66
|
"eslint-plugin-simple-import-sort": "13.0.0",
|
|
67
|
-
"eslint-plugin-unicorn": "
|
|
67
|
+
"eslint-plugin-unicorn": "69.0.0",
|
|
68
68
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
69
69
|
"globals": "17.7.0",
|
|
70
70
|
"jsonc-eslint-parser": "3.1.0",
|