@shayanthenerd/eslint-config 0.27.1 → 0.27.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/rules/astro.mjs
CHANGED
|
@@ -11,12 +11,10 @@ const astroRules = {
|
|
|
11
11
|
"astro/no-exports-from-components": "error",
|
|
12
12
|
"astro/no-prerender-export-outside-pages": "error",
|
|
13
13
|
"astro/no-unused-define-vars-in-style": "warn",
|
|
14
|
-
"astro/valid-compile": "error",
|
|
15
14
|
"astro/no-set-html-directive": "warn",
|
|
16
15
|
"astro/no-unsafe-inline-scripts": "warn",
|
|
17
16
|
"astro/no-set-text-directive": "warn",
|
|
18
17
|
"astro/no-unused-css-selector": "warn",
|
|
19
|
-
"astro/no-omitted-end-tags": "warn",
|
|
20
18
|
"astro/prefer-class-list-directive": "warn",
|
|
21
19
|
"astro/prefer-split-class-list": "warn",
|
|
22
20
|
"astro/jsx-a11y/alt-text": "error",
|
package/dist/rules/tailwind.mjs
CHANGED
|
@@ -35,7 +35,7 @@ function getTailwindRules(options) {
|
|
|
35
35
|
const isTailwindV4 = isEnabled(tailwind) && tailwind.entryPoint;
|
|
36
36
|
return {
|
|
37
37
|
"better-tailwindcss/enforce-canonical-classes": "warn",
|
|
38
|
-
"better-tailwindcss/enforce-consistent-class-order":
|
|
38
|
+
"better-tailwindcss/enforce-consistent-class-order": "warn",
|
|
39
39
|
"better-tailwindcss/enforce-consistent-line-wrapping": [multilineSort ? "warn" : "off", {
|
|
40
40
|
indent,
|
|
41
41
|
tabWidth: indent,
|
|
@@ -1796,6 +1796,7 @@ interface ESLintSchema {
|
|
|
1796
1796
|
/**
|
|
1797
1797
|
* Disallow function declarations that contain unsafe references inside loop statements
|
|
1798
1798
|
* @see https://typescript-eslint.io/rules/no-loop-func
|
|
1799
|
+
* @deprecated
|
|
1799
1800
|
*/
|
|
1800
1801
|
'@typescript-eslint/no-loop-func'?: Linter.RuleEntry<[]>;
|
|
1801
1802
|
/**
|
|
@@ -2497,6 +2498,7 @@ interface ESLintSchema {
|
|
|
2497
2498
|
/**
|
|
2498
2499
|
* disallow omitted end tags
|
|
2499
2500
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-omitted-end-tags/
|
|
2501
|
+
* @deprecated
|
|
2500
2502
|
*/
|
|
2501
2503
|
'astro/no-omitted-end-tags'?: Linter.RuleEntry<[]>;
|
|
2502
2504
|
/**
|
|
@@ -2557,6 +2559,7 @@ interface ESLintSchema {
|
|
|
2557
2559
|
/**
|
|
2558
2560
|
* disallow warnings when compiling.
|
|
2559
2561
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
|
|
2562
|
+
* @deprecated
|
|
2560
2563
|
*/
|
|
2561
2564
|
'astro/valid-compile'?: Linter.RuleEntry<[]>;
|
|
2562
2565
|
/**
|
|
@@ -2821,7 +2824,7 @@ interface ESLintSchema {
|
|
|
2821
2824
|
*/
|
|
2822
2825
|
'cypress/assertion-before-screenshot'?: Linter.RuleEntry<[]>;
|
|
2823
2826
|
/**
|
|
2824
|
-
* enforce
|
|
2827
|
+
* enforce `.should()` over `.and()` for starting assertion chains
|
|
2825
2828
|
* @see https://github.com/cypress-io/eslint-plugin-cypress/blob/master/docs/rules/no-and.md
|
|
2826
2829
|
*/
|
|
2827
2830
|
'cypress/no-and'?: Linter.RuleEntry<[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shayanthenerd/eslint-config",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"description": "A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"{**/*.ts,package.json}": "pnpm lint"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@eslint-react/eslint-plugin": "5.14.
|
|
52
|
+
"@eslint-react/eslint-plugin": "5.14.10",
|
|
53
53
|
"@eslint/css": "1.4.0",
|
|
54
54
|
"@eslint/markdown": "8.0.3",
|
|
55
55
|
"@html-eslint/eslint-plugin": "0.64.0",
|
|
@@ -57,18 +57,18 @@
|
|
|
57
57
|
"@next/eslint-plugin-next": "16.2.10",
|
|
58
58
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
59
59
|
"@vitest/eslint-plugin": "1.6.23",
|
|
60
|
-
"astro-eslint-parser": "
|
|
60
|
+
"astro-eslint-parser": "3.0.0",
|
|
61
61
|
"defu": "6.1.7",
|
|
62
62
|
"eslint-flat-config-utils": "3.2.0",
|
|
63
63
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
64
|
-
"eslint-plugin-astro": "
|
|
64
|
+
"eslint-plugin-astro": "3.0.0",
|
|
65
65
|
"eslint-plugin-baseline-js": "0.7.0",
|
|
66
66
|
"eslint-plugin-better-tailwindcss": "4.6.1",
|
|
67
|
-
"eslint-plugin-cypress": "6.4.
|
|
67
|
+
"eslint-plugin-cypress": "6.4.3",
|
|
68
68
|
"eslint-plugin-import-x": "4.17.1",
|
|
69
69
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
70
70
|
"eslint-plugin-n": "18.2.2",
|
|
71
|
-
"eslint-plugin-package-json": "1.
|
|
71
|
+
"eslint-plugin-package-json": "1.6.0",
|
|
72
72
|
"eslint-plugin-perfectionist": "5.10.0",
|
|
73
73
|
"eslint-plugin-playwright": "2.10.5",
|
|
74
74
|
"eslint-plugin-promise": "7.3.0",
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
"globals": "17.7.0",
|
|
82
82
|
"local-pkg": "1.2.1",
|
|
83
83
|
"tailwind-csstree": "0.3.3",
|
|
84
|
-
"typescript-eslint": "8.
|
|
84
|
+
"typescript-eslint": "8.64.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@arethetypeswrong/cli": "0.18.5",
|
|
88
|
-
"@eslint/config-inspector": "3.0
|
|
88
|
+
"@eslint/config-inspector": "3.1.0",
|
|
89
89
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
90
90
|
"@types/node": "26.1.1",
|
|
91
91
|
"actions-up": "1.16.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"serve": "14.2.6",
|
|
98
98
|
"simple-git-hooks": "2.13.1",
|
|
99
99
|
"ts-morph": "28.0.0",
|
|
100
|
-
"tsdown": "0.22.
|
|
100
|
+
"tsdown": "0.22.7",
|
|
101
101
|
"typescript": "6.0.3",
|
|
102
102
|
"unplugin-unused": "0.5.7"
|
|
103
103
|
},
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"devEngines": {
|
|
111
111
|
"packageManager": {
|
|
112
112
|
"name": "pnpm",
|
|
113
|
-
"version": "11.
|
|
113
|
+
"version": "11.13.0",
|
|
114
114
|
"onFail": "warn"
|
|
115
115
|
},
|
|
116
116
|
"runtime": {
|