@fullstacksjs/eslint-config 14.7.0 → 14.8.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.
- package/cjs/modules/base.js +3 -1
- package/cjs/modules/react.js +1 -0
- package/cjs/modules/tailwind.js +1 -0
- package/package.json +24 -24
- package/src/modules/base.mjs +1 -1
- package/src/modules/react.mjs +1 -0
- package/src/modules/tailwind.mjs +1 -0
package/cjs/modules/base.js
CHANGED
|
@@ -96,7 +96,9 @@ function base(options = {}) {
|
|
|
96
96
|
'no-extend-native': 'error',
|
|
97
97
|
'no-extra-bind': 'error',
|
|
98
98
|
'no-extra-label': 'error',
|
|
99
|
-
'no-fallthrough':
|
|
99
|
+
'no-fallthrough': ["error", {
|
|
100
|
+
"allowEmptyCase": true
|
|
101
|
+
}],
|
|
100
102
|
'no-func-assign': 'error',
|
|
101
103
|
'no-global-assign': 'error',
|
|
102
104
|
'no-implicit-globals': 'error',
|
package/cjs/modules/react.js
CHANGED
|
@@ -129,6 +129,7 @@ function react(options = {}) {
|
|
|
129
129
|
'@eslint-react/web-api-no-leaked-interval': 'error',
|
|
130
130
|
'@eslint-react/web-api-no-leaked-resize-observer': 'error',
|
|
131
131
|
'@eslint-react/web-api-no-leaked-fetch': 'error',
|
|
132
|
+
'@eslint-react/web-api-no-leaked-intersection-observer': 'error',
|
|
132
133
|
'@eslint-react/rsc-function-definition': 'error',
|
|
133
134
|
'@eslint-react/rules-of-hooks': 'error',
|
|
134
135
|
'@eslint-react/exhaustive-deps': 'error',
|
package/cjs/modules/tailwind.js
CHANGED
|
@@ -42,6 +42,7 @@ async function tailwind(options = {}) {
|
|
|
42
42
|
'better-tailwindcss/enforce-consistent-variant-order': 'warn',
|
|
43
43
|
'better-tailwindcss/enforce-logical-properties': (0, _conditions.strict)('warn'),
|
|
44
44
|
'better-tailwindcss/enforce-shorthand-classes': 'warn',
|
|
45
|
+
'better-tailwindcss/no-concatenated-classes': 'error',
|
|
45
46
|
'better-tailwindcss/no-conflicting-classes': 'error',
|
|
46
47
|
'better-tailwindcss/no-deprecated-classes': 'warn',
|
|
47
48
|
'better-tailwindcss/no-duplicate-classes': 'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullstacksjs/eslint-config",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.8.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "fullstacks <fullstacksjs@gmail.com>",
|
|
6
6
|
"description": "fullstacks eslint config",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"src",
|
|
17
17
|
"cjs"
|
|
18
18
|
],
|
|
19
|
-
"packageManager": "npm@
|
|
19
|
+
"packageManager": "npm@12.0.1",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"lint": "eslint .",
|
|
22
22
|
"spell": "cspell ./* --no-progress",
|
|
@@ -38,46 +38,46 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@eslint-react/eslint-plugin": "5.
|
|
41
|
+
"@eslint-react/eslint-plugin": "5.17.2",
|
|
42
42
|
"@eslint/compat": "2.1.0",
|
|
43
|
-
"@next/eslint-plugin-next": "16.2.
|
|
43
|
+
"@next/eslint-plugin-next": "16.2.10",
|
|
44
44
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
45
|
-
"@vitest/eslint-plugin": "1.6.
|
|
45
|
+
"@vitest/eslint-plugin": "1.6.23",
|
|
46
46
|
"deepmerge": "4.3.1",
|
|
47
47
|
"eslint-flat-config-utils": "3.2.0",
|
|
48
|
-
"eslint-plugin-better-tailwindcss": "4.
|
|
49
|
-
"eslint-plugin-cypress": "6.4.
|
|
50
|
-
"eslint-plugin-import-x": "4.
|
|
51
|
-
"eslint-plugin-jest": "29.15.
|
|
48
|
+
"eslint-plugin-better-tailwindcss": "4.7.0",
|
|
49
|
+
"eslint-plugin-cypress": "6.4.3",
|
|
50
|
+
"eslint-plugin-import-x": "4.17.1",
|
|
51
|
+
"eslint-plugin-jest": "29.15.4",
|
|
52
52
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
53
|
-
"eslint-plugin-n": "18.
|
|
54
|
-
"eslint-plugin-perfectionist": "5.
|
|
55
|
-
"eslint-plugin-playwright": "2.10.
|
|
53
|
+
"eslint-plugin-n": "18.2.1",
|
|
54
|
+
"eslint-plugin-perfectionist": "5.10.0",
|
|
55
|
+
"eslint-plugin-playwright": "2.10.5",
|
|
56
56
|
"eslint-plugin-prettier": "5.5.6",
|
|
57
57
|
"eslint-plugin-promise": "7.3.0",
|
|
58
|
-
"eslint-plugin-react-refresh": "0.5.
|
|
59
|
-
"eslint-plugin-regexp": "3.1.
|
|
60
|
-
"eslint-plugin-storybook": "10.
|
|
61
|
-
"globals": "17.
|
|
58
|
+
"eslint-plugin-react-refresh": "0.5.3",
|
|
59
|
+
"eslint-plugin-regexp": "3.1.1",
|
|
60
|
+
"eslint-plugin-storybook": "10.5.2",
|
|
61
|
+
"globals": "17.7.0",
|
|
62
62
|
"local-pkg": "1.2.1",
|
|
63
|
-
"typescript-eslint": "8.
|
|
63
|
+
"typescript-eslint": "8.65.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@eslint/eslintrc": "3.3.
|
|
66
|
+
"@eslint/eslintrc": "3.3.6",
|
|
67
67
|
"@eslint/js": "10.0.1",
|
|
68
|
-
"@semantic-release/github": "12.0.
|
|
68
|
+
"@semantic-release/github": "12.0.9",
|
|
69
69
|
"@semantic-release/npm": "13.1.5",
|
|
70
70
|
"@semantic-release/release-notes-generator": "14.1.1",
|
|
71
71
|
"@types/eslint": "9.6.1",
|
|
72
72
|
"cspell": "10.0.1",
|
|
73
|
-
"eslint": "10.
|
|
73
|
+
"eslint": "10.7.0",
|
|
74
74
|
"husky": "9.1.7",
|
|
75
75
|
"jest": "30.4.2",
|
|
76
|
-
"lint-staged": "17.0
|
|
76
|
+
"lint-staged": "17.1.0",
|
|
77
77
|
"pinst": "3.0.0",
|
|
78
|
-
"prettier": "3.
|
|
79
|
-
"semantic-release": "25.0.
|
|
80
|
-
"storybook": "10.
|
|
78
|
+
"prettier": "3.9.5",
|
|
79
|
+
"semantic-release": "25.0.8",
|
|
80
|
+
"storybook": "10.5.2",
|
|
81
81
|
"typescript": "6.0.3",
|
|
82
82
|
"unbuild": "3.6.1"
|
|
83
83
|
},
|
package/src/modules/base.mjs
CHANGED
|
@@ -85,7 +85,7 @@ function base(options = {}) {
|
|
|
85
85
|
'no-extend-native': 'error',
|
|
86
86
|
'no-extra-bind': 'error',
|
|
87
87
|
'no-extra-label': 'error',
|
|
88
|
-
'no-fallthrough':
|
|
88
|
+
'no-fallthrough': ["error", { "allowEmptyCase": true }],
|
|
89
89
|
'no-func-assign': 'error',
|
|
90
90
|
'no-global-assign': 'error',
|
|
91
91
|
'no-implicit-globals': 'error',
|
package/src/modules/react.mjs
CHANGED
|
@@ -133,6 +133,7 @@ function react(options = {}) {
|
|
|
133
133
|
'@eslint-react/web-api-no-leaked-interval': 'error',
|
|
134
134
|
'@eslint-react/web-api-no-leaked-resize-observer': 'error',
|
|
135
135
|
'@eslint-react/web-api-no-leaked-fetch': 'error',
|
|
136
|
+
'@eslint-react/web-api-no-leaked-intersection-observer': 'error',
|
|
136
137
|
|
|
137
138
|
'@eslint-react/rsc-function-definition': 'error',
|
|
138
139
|
|
package/src/modules/tailwind.mjs
CHANGED
|
@@ -37,6 +37,7 @@ async function tailwind(options = {}) {
|
|
|
37
37
|
'better-tailwindcss/enforce-consistent-variant-order': 'warn',
|
|
38
38
|
'better-tailwindcss/enforce-logical-properties': strict('warn'),
|
|
39
39
|
'better-tailwindcss/enforce-shorthand-classes': 'warn',
|
|
40
|
+
'better-tailwindcss/no-concatenated-classes': 'error',
|
|
40
41
|
'better-tailwindcss/no-conflicting-classes': 'error',
|
|
41
42
|
'better-tailwindcss/no-deprecated-classes': 'warn',
|
|
42
43
|
'better-tailwindcss/no-duplicate-classes': 'error',
|