@fullstacksjs/eslint-config 12.4.2 → 13.0.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/README.md +1 -1
- package/cjs/modules/base.js +0 -1
- package/cjs/modules/cypress.js +2 -2
- package/cjs/modules/node.js +1 -0
- package/cjs/modules/tailwind.js +2 -2
- package/package.json +20 -21
- package/src/modules/base.mjs +0 -1
- package/src/modules/cypress.mjs +1 -1
- package/src/modules/node.mjs +1 -0
- package/src/modules/tailwind.mjs +2 -2
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ interface Options {
|
|
|
73
73
|
next?: boolean; // controls next plugin
|
|
74
74
|
prettier?: boolean; // controls prettier plugin
|
|
75
75
|
disableExpensiveRules?: boolean; // controls expensive rules
|
|
76
|
-
|
|
76
|
+
gitignore?: false | string; // automatically ignore paths from .gitignore
|
|
77
77
|
}
|
|
78
78
|
```
|
|
79
79
|
|
package/cjs/modules/base.js
CHANGED
package/cjs/modules/cypress.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _eslintPluginCypress = _interopRequireDefault(require("eslint-plugin-cypress"));
|
|
8
8
|
var _globs = require("../utils/globs.js");
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
/** @return { import('eslint').Linter.Config } */
|
|
@@ -12,7 +12,7 @@ function cypress() {
|
|
|
12
12
|
return {
|
|
13
13
|
files: _globs.globs.e2e,
|
|
14
14
|
plugins: {
|
|
15
|
-
cypress:
|
|
15
|
+
cypress: _eslintPluginCypress.default
|
|
16
16
|
},
|
|
17
17
|
rules: {
|
|
18
18
|
'cypress/assertion-before-screenshot': 'warn',
|
package/cjs/modules/node.js
CHANGED
|
@@ -36,6 +36,7 @@ function node(options = {}) {
|
|
|
36
36
|
'n/no-restricted-import': 'off',
|
|
37
37
|
'n/no-restricted-require': 'off',
|
|
38
38
|
'n/no-sync': (0, _conditions.strict)(options, 'warn'),
|
|
39
|
+
'n/no-top-level-await': 'off',
|
|
39
40
|
'n/no-unpublished-bin': 'warn',
|
|
40
41
|
'n/no-unpublished-import': 'warn',
|
|
41
42
|
'n/no-unpublished-require': 'warn',
|
package/cjs/modules/tailwind.js
CHANGED
|
@@ -21,12 +21,12 @@ async function tailwind(options = {}) {
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
rules: {
|
|
24
|
-
'better-tailwindcss/
|
|
24
|
+
'better-tailwindcss/enforce-consistent-class-order': 'warn',
|
|
25
25
|
'better-tailwindcss/no-duplicate-classes': 'error',
|
|
26
26
|
'better-tailwindcss/no-conflicting-classes': 'error',
|
|
27
27
|
'better-tailwindcss/no-unnecessary-whitespace': 'warn',
|
|
28
28
|
'better-tailwindcss/enforce-consistent-variable-syntax': 'error',
|
|
29
|
-
'better-tailwindcss/
|
|
29
|
+
'better-tailwindcss/enforce-consistent-line-wrapping': 'off'
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullstacksjs/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "fullstacks <fullstacksjs@gmail.com>",
|
|
6
6
|
"description": "fullstacks eslint config",
|
|
@@ -36,44 +36,43 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@eslint-react/eslint-plugin": "1.50.0",
|
|
39
|
-
"@eslint/compat": "1.3.
|
|
40
|
-
"@next/eslint-plugin-next": "15.3.
|
|
41
|
-
"@stylistic/eslint-plugin": "
|
|
39
|
+
"@eslint/compat": "1.3.1",
|
|
40
|
+
"@next/eslint-plugin-next": "15.3.4",
|
|
41
|
+
"@stylistic/eslint-plugin": "5.1.0",
|
|
42
42
|
"deepmerge": "4.3.1",
|
|
43
|
-
"eslint-plugin-better-tailwindcss": "3.
|
|
44
|
-
"eslint-plugin-cypress": "
|
|
45
|
-
"eslint-plugin-import-x": "4.
|
|
46
|
-
"eslint-plugin-jest": "
|
|
43
|
+
"eslint-plugin-better-tailwindcss": "3.4.3",
|
|
44
|
+
"eslint-plugin-cypress": "5.1.0",
|
|
45
|
+
"eslint-plugin-import-x": "4.16.1",
|
|
46
|
+
"eslint-plugin-jest": "29.0.1",
|
|
47
47
|
"eslint-plugin-jest-formatting": "3.1.0",
|
|
48
48
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
49
|
-
"eslint-plugin-n": "17.
|
|
49
|
+
"eslint-plugin-n": "17.20.0",
|
|
50
50
|
"eslint-plugin-perfectionist": "4.13.0",
|
|
51
51
|
"eslint-plugin-playwright": "2.2.0",
|
|
52
|
-
"eslint-plugin-prettier": "5.
|
|
52
|
+
"eslint-plugin-prettier": "5.5.1",
|
|
53
53
|
"eslint-plugin-promise": "7.2.1",
|
|
54
54
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
55
55
|
"eslint-plugin-storybook": "0.12.0",
|
|
56
56
|
"eslint-plugin-vitest": "0.5.4",
|
|
57
|
-
"globals": "16.
|
|
57
|
+
"globals": "16.3.0",
|
|
58
58
|
"local-pkg": "1.1.1",
|
|
59
|
-
"typescript-eslint": "8.
|
|
59
|
+
"typescript-eslint": "8.35.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@eslint/eslintrc": "3.3.1",
|
|
63
|
-
"@eslint/js": "9.
|
|
63
|
+
"@eslint/js": "9.30.1",
|
|
64
64
|
"@semantic-release/github": "11.0.3",
|
|
65
|
-
"@semantic-release/npm": "12.0.
|
|
65
|
+
"@semantic-release/npm": "12.0.2",
|
|
66
66
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
67
67
|
"@types/eslint": "9.6.1",
|
|
68
|
-
"cspell": "9.
|
|
69
|
-
"eslint": "9.
|
|
68
|
+
"cspell": "9.1.2",
|
|
69
|
+
"eslint": "9.30.1",
|
|
70
70
|
"husky": "9.1.7",
|
|
71
|
-
"jest": "
|
|
72
|
-
"lint-staged": "16.
|
|
73
|
-
"np": "10.2.0",
|
|
71
|
+
"jest": "30.0.3",
|
|
72
|
+
"lint-staged": "16.1.2",
|
|
74
73
|
"pinst": "3.0.0",
|
|
75
|
-
"prettier": "3.
|
|
76
|
-
"semantic-release": "24.2.
|
|
74
|
+
"prettier": "3.6.2",
|
|
75
|
+
"semantic-release": "24.2.6",
|
|
77
76
|
"typescript": "5.8.3",
|
|
78
77
|
"unbuild": "3.5.0"
|
|
79
78
|
},
|
package/src/modules/base.mjs
CHANGED
|
@@ -114,7 +114,6 @@ function base(options = {}) {
|
|
|
114
114
|
'no-restricted-globals': ['error', { name: 'event', message: 'Use local parameter instead.' }],
|
|
115
115
|
'no-restricted-syntax': ['error', 'WithStatement'],
|
|
116
116
|
'no-return-assign': 'error',
|
|
117
|
-
'no-return-await': 'warn',
|
|
118
117
|
'no-script-url': 'error',
|
|
119
118
|
'no-self-assign': 'error',
|
|
120
119
|
'no-self-compare': 'error',
|
package/src/modules/cypress.mjs
CHANGED
package/src/modules/node.mjs
CHANGED
|
@@ -26,6 +26,7 @@ function node(options = {}) {
|
|
|
26
26
|
'n/no-restricted-import': 'off',
|
|
27
27
|
'n/no-restricted-require': 'off',
|
|
28
28
|
'n/no-sync': strict(options, 'warn'),
|
|
29
|
+
'n/no-top-level-await': 'off',
|
|
29
30
|
'n/no-unpublished-bin': 'warn',
|
|
30
31
|
'n/no-unpublished-import': 'warn',
|
|
31
32
|
'n/no-unpublished-require': 'warn',
|
package/src/modules/tailwind.mjs
CHANGED
|
@@ -13,12 +13,12 @@ async function tailwind(options = {}) {
|
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
15
|
rules: {
|
|
16
|
-
'better-tailwindcss/
|
|
16
|
+
'better-tailwindcss/enforce-consistent-class-order': 'warn',
|
|
17
17
|
'better-tailwindcss/no-duplicate-classes': 'error',
|
|
18
18
|
'better-tailwindcss/no-conflicting-classes': 'error',
|
|
19
19
|
'better-tailwindcss/no-unnecessary-whitespace': 'warn',
|
|
20
20
|
'better-tailwindcss/enforce-consistent-variable-syntax': 'error',
|
|
21
|
-
'better-tailwindcss/
|
|
21
|
+
'better-tailwindcss/enforce-consistent-line-wrapping': 'off',
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
24
|
}
|