@favorodera/eslint-config 1.0.4 → 1.1.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/index.d.mts +3144 -1011
- package/dist/index.mjs +5 -3
- package/package.json +28 -28
package/dist/index.mjs
CHANGED
|
@@ -150,8 +150,8 @@ function disables() {
|
|
|
150
150
|
"tailwind/enforce-consistent-variable-syntax": "off",
|
|
151
151
|
"tailwind/enforce-shorthand-classes": "off",
|
|
152
152
|
"unicorn/filename-case": "off",
|
|
153
|
+
"unicorn/name-replacements": "off",
|
|
153
154
|
"unicorn/no-process-exit": "off",
|
|
154
|
-
"unicorn/prevent-abbreviations": "off",
|
|
155
155
|
"no-unused-vars": "off",
|
|
156
156
|
"ts/no-unused-vars": "off"
|
|
157
157
|
}
|
|
@@ -1153,7 +1153,6 @@ async function typescript() {
|
|
|
1153
1153
|
"ts/default-param-last": "error",
|
|
1154
1154
|
"ts/method-signature-style": "error",
|
|
1155
1155
|
"ts/no-import-type-side-effects": "error",
|
|
1156
|
-
"ts/no-loop-func": "error",
|
|
1157
1156
|
"ts/no-redeclare": "error"
|
|
1158
1157
|
}
|
|
1159
1158
|
}];
|
|
@@ -1184,7 +1183,10 @@ async function unicorn() {
|
|
|
1184
1183
|
}, {
|
|
1185
1184
|
files,
|
|
1186
1185
|
name: "favorodera/unicorn/rules",
|
|
1187
|
-
rules
|
|
1186
|
+
rules: {
|
|
1187
|
+
...rules,
|
|
1188
|
+
"unicorn/single-line-block-comment-style": ["error", "single-line"]
|
|
1189
|
+
}
|
|
1188
1190
|
}];
|
|
1189
1191
|
}
|
|
1190
1192
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@favorodera/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Opinionated, type-safe flat ESLint configuration factory for Vue, TypeScript, Tailwind, and more.",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|
|
@@ -44,53 +44,53 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@eslint/js": "^10.0.1",
|
|
47
|
-
"@eslint/markdown": "^8.0.
|
|
47
|
+
"@eslint/markdown": "^8.0.3",
|
|
48
48
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
49
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
49
|
+
"@vitest/eslint-plugin": "^1.6.27",
|
|
50
50
|
"defu": "^6.1.7",
|
|
51
51
|
"eslint-flat-config-utils": "^3.2.0",
|
|
52
52
|
"eslint-merge-processors": "^2.0.0",
|
|
53
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
53
|
+
"eslint-plugin-better-tailwindcss": "^4.7.0",
|
|
54
54
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
55
|
-
"eslint-plugin-jsdoc": "^
|
|
56
|
-
"eslint-plugin-jsonc": "^3.
|
|
57
|
-
"eslint-plugin-n": "^18.
|
|
58
|
-
"eslint-plugin-perfectionist": "^5.
|
|
59
|
-
"eslint-plugin-pnpm": "^1.
|
|
60
|
-
"eslint-plugin-unicorn": "^
|
|
55
|
+
"eslint-plugin-jsdoc": "^64.1.0",
|
|
56
|
+
"eslint-plugin-jsonc": "^3.4.1",
|
|
57
|
+
"eslint-plugin-n": "^18.3.0",
|
|
58
|
+
"eslint-plugin-perfectionist": "^5.10.1",
|
|
59
|
+
"eslint-plugin-pnpm": "^1.8.0",
|
|
60
|
+
"eslint-plugin-unicorn": "^73.0.0",
|
|
61
61
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
62
|
-
"eslint-plugin-vue": "^10.
|
|
63
|
-
"eslint-plugin-vuejs-accessibility": "^2.
|
|
64
|
-
"eslint-plugin-yml": "^3.
|
|
62
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
63
|
+
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
64
|
+
"eslint-plugin-yml": "^3.8.1",
|
|
65
65
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
66
|
-
"globals": "^17.
|
|
67
|
-
"typescript-eslint": "^8.
|
|
66
|
+
"globals": "^17.11.0",
|
|
67
|
+
"typescript-eslint": "^8.67.0",
|
|
68
68
|
"vue-eslint-parser": "^10.4.1",
|
|
69
|
-
"yaml-eslint-parser": "^2.
|
|
69
|
+
"yaml-eslint-parser": "^2.1.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@types/node": "^
|
|
73
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
74
|
-
"@vitest/ui": "4.1.
|
|
75
|
-
"concurrently": "^10.0.
|
|
72
|
+
"@types/node": "^26.2.0",
|
|
73
|
+
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
74
|
+
"@vitest/ui": "4.1.10",
|
|
75
|
+
"concurrently": "^10.0.4",
|
|
76
76
|
"eslint": "^10.4.1",
|
|
77
77
|
"eslint-typegen": "^2.3.1",
|
|
78
|
-
"relizy": "^1.4.
|
|
79
|
-
"tsdown": "^0.22.
|
|
80
|
-
"tsx": "^4.
|
|
78
|
+
"relizy": "^1.4.9",
|
|
79
|
+
"tsdown": "^0.22.14",
|
|
80
|
+
"tsx": "^4.23.12",
|
|
81
81
|
"typescript": "^6.0.3",
|
|
82
|
-
"vitest": "^4.1.
|
|
82
|
+
"vitest": "^4.1.10"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
|
-
"
|
|
85
|
+
"generate-rules-types": "tsx scripts/generate-rules-types.ts",
|
|
86
86
|
"dev:inspector": "pnpm dlx @eslint/config-inspector@latest",
|
|
87
|
-
"prebuild": "pnpm
|
|
87
|
+
"prebuild": "pnpm generate-rules-types",
|
|
88
88
|
"build": "tsdown",
|
|
89
89
|
"dev": "pnpm prebuild && concurrently \"tsdown --watch\" \"pnpm dev:inspector\"",
|
|
90
90
|
"test": "vitest run",
|
|
91
91
|
"test:watch": "vitest --watch --ui",
|
|
92
|
-
"typecheck": "tsc --noEmit",
|
|
92
|
+
"typecheck": "pnpm generate-rules-types && tsc --noEmit",
|
|
93
93
|
"lint": "eslint . --fix",
|
|
94
|
-
"ready": "pnpm install && pnpm
|
|
94
|
+
"ready": "pnpm install && pnpm lint && pnpm typecheck && pnpm test && pnpm build"
|
|
95
95
|
}
|
|
96
96
|
}
|