@shayanthenerd/eslint-config 0.11.2 → 0.12.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/dist/configs/base.mjs +13 -14
- package/dist/configs/css.mjs +2 -2
- package/dist/configs/cypress.mjs +2 -1
- package/dist/configs/html.mjs +3 -1
- package/dist/configs/importX.mjs +8 -5
- package/dist/configs/oxlintOverrides.mjs +8 -8
- package/dist/configs/perfectionist.mjs +1 -1
- package/dist/configs/playwright.mjs +2 -1
- package/dist/configs/storybook.mjs +1 -2
- package/dist/configs/stylistic.mjs +3 -3
- package/dist/configs/tailwind.mjs +15 -12
- package/dist/configs/typescript.mjs +13 -10
- package/dist/configs/vitest.mjs +1 -1
- package/dist/configs/vue.mjs +20 -8
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +23 -22
- package/dist/oxlint.config.jsonc +1 -0
- package/dist/rules/css.mjs +12 -3
- package/dist/rules/cypress.mjs +7 -3
- package/dist/rules/html.mjs +45 -23
- package/dist/rules/importX.mjs +23 -21
- package/dist/rules/javascript.mjs +167 -115
- package/dist/rules/playwright.mjs +40 -12
- package/dist/rules/storybook.mjs +13 -2
- package/dist/rules/stylistic.mjs +104 -55
- package/dist/rules/tailwind.mjs +13 -12
- package/dist/rules/typescript.mjs +117 -7
- package/dist/rules/vitest.mjs +57 -28
- package/dist/rules/vue.mjs +271 -96
- package/dist/rules/vueAccessibility.mjs +21 -7
- package/dist/types/eslint-schema.d.mts +43 -34
- package/dist/types/index.d.mts +1 -1
- package/package.json +25 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shayanthenerd/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style",
|
|
6
6
|
"keywords": [
|
|
@@ -52,24 +52,24 @@
|
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=20.12.0"
|
|
54
54
|
},
|
|
55
|
-
"packageManager": "pnpm@10.
|
|
55
|
+
"packageManager": "pnpm@10.24.0",
|
|
56
56
|
"scripts": {
|
|
57
|
-
"prepare": "pnpm git:gitmessage &&
|
|
57
|
+
"prepare": "pnpm git:gitmessage && simple-git-hooks && pnpm generate:types",
|
|
58
58
|
"prepublishOnly": "pnpm build:package",
|
|
59
59
|
"git:gitmessage": "git config --local commit.template \".gitmessage\"",
|
|
60
|
-
"inspect": "
|
|
60
|
+
"inspect": "eslint-config-inspector",
|
|
61
61
|
"build:package": "tsdown --no-report",
|
|
62
|
-
"build:inspector": "
|
|
63
|
-
"preview:inspector": "
|
|
62
|
+
"build:inspector": "eslint-config-inspector build --config=./scripts/defaultESLintConfigReference.ts",
|
|
63
|
+
"preview:inspector": "serve .eslint-config-inspector",
|
|
64
64
|
"generate:types": "node ./scripts/generateESLintTypes.ts",
|
|
65
|
-
"update:actions": "
|
|
65
|
+
"update:actions": "actions-up --yes",
|
|
66
66
|
"format": "prettier --write '**/*.{json,jsonc,yaml,yml,lock}' --cache",
|
|
67
67
|
"lint:oxlint": "oxlint --fix",
|
|
68
68
|
"lint:eslint": "eslint --fix --cache --cache-location=./node_modules/.cache/.eslintcache",
|
|
69
69
|
"lint": "pnpm lint:oxlint && pnpm lint:eslint",
|
|
70
70
|
"check:types": "tsc",
|
|
71
|
-
"check:exports": "
|
|
72
|
-
"check:spell": "
|
|
71
|
+
"check:exports": "attw --pack --profile=esm-only --exclude-entrypoints=./oxlint",
|
|
72
|
+
"check:spell": "pnpx cspell . --gitignore --exclude='pnpm-lock.yaml' --cache --cache-location='./node_modules/.cache/.cspellcache'",
|
|
73
73
|
"ci:validate": "pnpm generate:types && pnpm format && pnpm lint && pnpm check:types && pnpm build:inspector && pnpm build:package && pnpm check:exports"
|
|
74
74
|
},
|
|
75
75
|
"simple-git-hooks": {
|
|
@@ -80,45 +80,44 @@
|
|
|
80
80
|
"**/*.{json,jsonc,yaml,yml,lock}": "pnpm format"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@eslint/compat": "
|
|
83
|
+
"@eslint/compat": "2.0.0",
|
|
84
84
|
"@eslint/css": "0.14.1",
|
|
85
|
-
"@eslint/
|
|
86
|
-
"@
|
|
87
|
-
"@
|
|
88
|
-
"@vitest/eslint-plugin": "1.4.0",
|
|
85
|
+
"@html-eslint/eslint-plugin": "0.50.0",
|
|
86
|
+
"@stylistic/eslint-plugin": "5.6.1",
|
|
87
|
+
"@vitest/eslint-plugin": "1.5.0",
|
|
89
88
|
"defu": "6.1.4",
|
|
90
89
|
"eslint": "9.39.1",
|
|
91
90
|
"eslint-flat-config-utils": "2.1.4",
|
|
92
91
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
93
|
-
"eslint-plugin-better-tailwindcss": "3.7.
|
|
92
|
+
"eslint-plugin-better-tailwindcss": "3.7.11",
|
|
94
93
|
"eslint-plugin-cypress": "5.2.0",
|
|
95
94
|
"eslint-plugin-import-x": "4.16.1",
|
|
96
|
-
"eslint-plugin-oxlint": "1.
|
|
95
|
+
"eslint-plugin-oxlint": "1.30.0",
|
|
97
96
|
"eslint-plugin-perfectionist": "4.15.1",
|
|
98
97
|
"eslint-plugin-playwright": "2.3.0",
|
|
99
|
-
"eslint-plugin-storybook": "10.0
|
|
98
|
+
"eslint-plugin-storybook": "10.1.0",
|
|
100
99
|
"eslint-plugin-unused-imports": "4.3.0",
|
|
101
|
-
"eslint-plugin-vue": "10.
|
|
100
|
+
"eslint-plugin-vue": "10.6.1",
|
|
102
101
|
"eslint-plugin-vuejs-accessibility": "2.4.1",
|
|
103
102
|
"globals": "16.5.0",
|
|
104
103
|
"local-pkg": "1.1.2",
|
|
105
|
-
"oxlint": "1.
|
|
104
|
+
"oxlint": "1.30.0",
|
|
106
105
|
"tailwind-csstree": "0.1.4",
|
|
107
|
-
"typescript-eslint": "8.
|
|
106
|
+
"typescript-eslint": "8.48.0"
|
|
108
107
|
},
|
|
109
108
|
"devDependencies": {
|
|
110
109
|
"@arethetypeswrong/cli": "0.18.2",
|
|
111
|
-
"@eslint/config-inspector": "1.
|
|
112
|
-
"@types/node": "24.10.
|
|
110
|
+
"@eslint/config-inspector": "1.4.2",
|
|
111
|
+
"@types/node": "24.10.1",
|
|
113
112
|
"actions-up": "1.5.0",
|
|
114
113
|
"eslint-typegen": "2.3.0",
|
|
115
|
-
"nano-staged": "0.
|
|
116
|
-
"prettier": "3.
|
|
114
|
+
"nano-staged": "0.9.0",
|
|
115
|
+
"prettier": "3.7.1",
|
|
117
116
|
"publint": "0.3.15",
|
|
118
117
|
"serve": "14.2.5",
|
|
119
118
|
"simple-git-hooks": "2.13.1",
|
|
120
|
-
"tsdown": "0.16.
|
|
119
|
+
"tsdown": "0.16.7",
|
|
121
120
|
"typescript": "5.9.3",
|
|
122
|
-
"unplugin-unused": "0.5.
|
|
121
|
+
"unplugin-unused": "0.5.6"
|
|
123
122
|
}
|
|
124
123
|
}
|