@ncontiero/eslint-config 8.3.1 → 8.3.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 +6 -0
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -4052,6 +4052,11 @@ interface RuleOptions {
|
|
|
4052
4052
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-fetch
|
|
4053
4053
|
*/
|
|
4054
4054
|
'react/web-api-no-leaked-fetch'?: Linter.RuleEntry<[]>;
|
|
4055
|
+
/**
|
|
4056
|
+
* Enforces that every 'IntersectionObserver' created in a component or custom hook has a corresponding 'IntersectionObserver.disconnect()'.
|
|
4057
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-intersection-observer
|
|
4058
|
+
*/
|
|
4059
|
+
'react/web-api-no-leaked-intersection-observer'?: Linter.RuleEntry<[]>;
|
|
4055
4060
|
/**
|
|
4056
4061
|
* Enforces that every 'setInterval' in a component or custom hook has a corresponding 'clearInterval'.
|
|
4057
4062
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
|
|
@@ -13856,6 +13861,7 @@ type TailwindcssEnforceLogicalProperties = [] | [{
|
|
|
13856
13861
|
detectComponentClasses?: boolean;
|
|
13857
13862
|
rootFontSize?: number;
|
|
13858
13863
|
cwd?: string;
|
|
13864
|
+
ignore?: string[];
|
|
13859
13865
|
}]; // ----- tailwindcss/enforce-shorthand-classes -----
|
|
13860
13866
|
type TailwindcssEnforceShorthandClasses = [] | [{
|
|
13861
13867
|
selectors?: ({
|
package/dist/index.mjs
CHANGED
|
@@ -1312,7 +1312,7 @@ async function tailwindcss(options = {}) {
|
|
|
1312
1312
|
"tailwindcss/enforce-consistent-line-wrapping": ["warn", {
|
|
1313
1313
|
group: "never",
|
|
1314
1314
|
preferSingleLine: true,
|
|
1315
|
-
printWidth:
|
|
1315
|
+
printWidth: 125
|
|
1316
1316
|
}],
|
|
1317
1317
|
"tailwindcss/enforce-consistent-variable-syntax": "error",
|
|
1318
1318
|
"tailwindcss/enforce-consistent-variant-order": "warn",
|
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.2",
|
|
5
5
|
"description": "Nicolas's ESLint config.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Nicolas Contiero",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@e18e/eslint-plugin": "^0.5.0",
|
|
41
41
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
42
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
42
|
+
"@eslint-react/eslint-plugin": "^5.9.0",
|
|
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
|
-
"@next/eslint-plugin-next": "^16.2.
|
|
46
|
+
"@next/eslint-plugin-next": "^16.2.9",
|
|
47
47
|
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
48
48
|
"@typescript-eslint/parser": "^8.61.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
|
-
"eslint-plugin-better-tailwindcss": "4.
|
|
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
55
|
"eslint-plugin-import-x": "^4.16.2",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"@ncontiero/prettier-config": "^1.0.0",
|
|
82
82
|
"@tanstack/eslint-plugin-query": "^5.101.0",
|
|
83
83
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
84
|
-
"@types/node": "^25.9.
|
|
85
|
-
"eslint": "^10.
|
|
84
|
+
"@types/node": "^25.9.3",
|
|
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",
|