@ncontiero/eslint-config 8.3.2 → 8.3.3
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 +1088 -284
- package/dist/index.mjs +5 -2
- package/package.json +18 -18
package/dist/index.mjs
CHANGED
|
@@ -1539,8 +1539,11 @@ async function typescript(options = {}) {
|
|
|
1539
1539
|
function unicorn(options = {}) {
|
|
1540
1540
|
const { allRecommended, overrides = {} } = options;
|
|
1541
1541
|
return [{
|
|
1542
|
+
name: "ncontiero/unicorn/setup",
|
|
1543
|
+
plugins: { unicorn: pluginUnicorn }
|
|
1544
|
+
}, {
|
|
1545
|
+
files: [GLOB_SRC],
|
|
1542
1546
|
name: "ncontiero/unicorn/rules",
|
|
1543
|
-
plugins: { unicorn: pluginUnicorn },
|
|
1544
1547
|
rules: {
|
|
1545
1548
|
...allRecommended ? pluginUnicorn.configs.recommended.rules : {
|
|
1546
1549
|
"unicorn/better-dom-traversing": "error",
|
|
@@ -1563,7 +1566,6 @@ function unicorn(options = {}) {
|
|
|
1563
1566
|
"unicorn/no-blob-to-file": "error",
|
|
1564
1567
|
"unicorn/no-console-spaces": "error",
|
|
1565
1568
|
"unicorn/no-for-loop": "error",
|
|
1566
|
-
"unicorn/no-hex-escape": "error",
|
|
1567
1569
|
"unicorn/no-incorrect-query-selector": "error",
|
|
1568
1570
|
"unicorn/no-instanceof-builtins": "error",
|
|
1569
1571
|
"unicorn/no-invalid-remove-event-listener": "error",
|
|
@@ -1616,6 +1618,7 @@ function unicorn(options = {}) {
|
|
|
1616
1618
|
"unicorn/prefer-string-starts-ends-with": "error",
|
|
1617
1619
|
"unicorn/prefer-string-trim-start-end": "error",
|
|
1618
1620
|
"unicorn/prefer-type-error": "error",
|
|
1621
|
+
"unicorn/prefer-unicode-code-point-escapes": "error",
|
|
1619
1622
|
"unicorn/switch-case-break-position": "error",
|
|
1620
1623
|
"unicorn/throw-new-error": "error"
|
|
1621
1624
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncontiero/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.3.
|
|
4
|
+
"version": "8.3.3",
|
|
5
5
|
"description": "Nicolas's ESLint config.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Nicolas Contiero",
|
|
@@ -37,36 +37,36 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@e18e/eslint-plugin": "^0.5.
|
|
40
|
+
"@e18e/eslint-plugin": "^0.5.1",
|
|
41
41
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
42
|
-
"@eslint-react/eslint-plugin": "^5.9.
|
|
42
|
+
"@eslint-react/eslint-plugin": "^5.9.2",
|
|
43
43
|
"@eslint/markdown": "^8.0.2",
|
|
44
44
|
"@html-eslint/eslint-plugin": "^0.62.0",
|
|
45
45
|
"@html-eslint/parser": "^0.62.0",
|
|
46
46
|
"@next/eslint-plugin-next": "^16.2.9",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
48
|
-
"@typescript-eslint/parser": "^8.
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
48
|
+
"@typescript-eslint/parser": "^8.62.0",
|
|
49
49
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
50
50
|
"eslint-merge-processors": "^2.0.0",
|
|
51
51
|
"eslint-plugin-antfu": "^3.2.3",
|
|
52
52
|
"eslint-plugin-better-tailwindcss": "4.6.0",
|
|
53
53
|
"eslint-plugin-command": "^3.5.2",
|
|
54
54
|
"eslint-plugin-de-morgan": "^2.1.2",
|
|
55
|
-
"eslint-plugin-import-x": "^4.
|
|
56
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
55
|
+
"eslint-plugin-import-x": "^4.17.0",
|
|
56
|
+
"eslint-plugin-jsdoc": "^63.0.8",
|
|
57
57
|
"eslint-plugin-jsonc": "^3.2.0",
|
|
58
58
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
59
59
|
"eslint-plugin-n": "^18.1.0",
|
|
60
|
-
"eslint-plugin-perfectionist": "^5.9.
|
|
60
|
+
"eslint-plugin-perfectionist": "^5.9.1",
|
|
61
61
|
"eslint-plugin-prettier": "^5.5.6",
|
|
62
62
|
"eslint-plugin-promise": "^7.3.0",
|
|
63
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
63
|
+
"eslint-plugin-react-refresh": "^0.5.3",
|
|
64
64
|
"eslint-plugin-regexp": "^3.1.0",
|
|
65
65
|
"eslint-plugin-toml": "^1.4.0",
|
|
66
|
-
"eslint-plugin-unicorn": "^
|
|
66
|
+
"eslint-plugin-unicorn": "^69.0.0",
|
|
67
67
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
68
|
-
"eslint-plugin-yml": "^3.
|
|
69
|
-
"globals": "^17.
|
|
68
|
+
"eslint-plugin-yml": "^3.5.0",
|
|
69
|
+
"globals": "^17.7.0",
|
|
70
70
|
"local-pkg": "^1.2.1",
|
|
71
71
|
"prettier": "^3.8.4",
|
|
72
72
|
"toml-eslint-parser": "^1.0.3",
|
|
@@ -74,24 +74,24 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@changesets/cli": "^2.31.0",
|
|
77
|
-
"@commitlint/cli": "^21.0
|
|
78
|
-
"@commitlint/config-conventional": "^21.0
|
|
77
|
+
"@commitlint/cli": "^21.1.0",
|
|
78
|
+
"@commitlint/config-conventional": "^21.1.0",
|
|
79
79
|
"@eslint/config-inspector": "^3.0.4",
|
|
80
80
|
"@ncontiero/changelog-github": "^2.1.4",
|
|
81
81
|
"@ncontiero/prettier-config": "^1.0.0",
|
|
82
|
-
"@tanstack/eslint-plugin-query": "^5.101.
|
|
82
|
+
"@tanstack/eslint-plugin-query": "^5.101.1",
|
|
83
83
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
84
|
-
"@types/node": "^25.9.
|
|
84
|
+
"@types/node": "^25.9.4",
|
|
85
85
|
"eslint": "^10.5.0",
|
|
86
86
|
"eslint-typegen": "^2.3.1",
|
|
87
87
|
"husky": "^9.1.7",
|
|
88
88
|
"nano-staged": "^1.0.2",
|
|
89
89
|
"tinyexec": "^1.2.4",
|
|
90
90
|
"tinyglobby": "^0.2.17",
|
|
91
|
-
"tsdown": "^0.22.
|
|
91
|
+
"tsdown": "^0.22.3",
|
|
92
92
|
"tsx": "^4.22.4",
|
|
93
93
|
"typescript": "^6.0.3",
|
|
94
|
-
"vitest": "^4.1.
|
|
94
|
+
"vitest": "^4.1.9"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">=20.19.0"
|