@tb-dev/eslint-config 5.4.0 → 5.4.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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -54,7 +54,6 @@ function getIgnores() {
|
|
|
54
54
|
async function vue(options) {
|
|
55
55
|
if (!isEnabled(options.features, "vue")) return [];
|
|
56
56
|
const [vuePlugin, vueParser, tsParser] = await Promise.all([
|
|
57
|
-
// @ts-expect-error no types
|
|
58
57
|
interopDefault(import('eslint-plugin-vue')),
|
|
59
58
|
interopDefault(import('vue-eslint-parser')),
|
|
60
59
|
interopDefault(import('@typescript-eslint/parser'))
|
|
@@ -126,6 +125,7 @@ async function vue(options) {
|
|
|
126
125
|
"vue/no-async-in-computed-properties": "error",
|
|
127
126
|
"vue/no-boolean-default": ["error", "no-default"],
|
|
128
127
|
"vue/no-computed-properties-in-data": "error",
|
|
128
|
+
"vue/no-deprecated-delete-set": "error",
|
|
129
129
|
"vue/no-dupe-keys": "error",
|
|
130
130
|
"vue/no-dupe-v-else-if": "error",
|
|
131
131
|
"vue/no-duplicate-attributes": [
|
|
@@ -310,7 +310,7 @@ async function unicorn(options) {
|
|
|
310
310
|
"unicorn/prefer-dom-node-dataset": "error",
|
|
311
311
|
"unicorn/prefer-dom-node-remove": "error",
|
|
312
312
|
"unicorn/prefer-dom-node-text-content": "error",
|
|
313
|
-
"unicorn/prefer-global-this": "
|
|
313
|
+
"unicorn/prefer-global-this": "off",
|
|
314
314
|
"unicorn/prefer-math-min-max": "error",
|
|
315
315
|
"unicorn/prefer-modern-dom-apis": "error",
|
|
316
316
|
"unicorn/prefer-node-protocol": "error",
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,6 @@ function getIgnores() {
|
|
|
50
50
|
async function vue(options) {
|
|
51
51
|
if (!isEnabled(options.features, "vue")) return [];
|
|
52
52
|
const [vuePlugin, vueParser, tsParser] = await Promise.all([
|
|
53
|
-
// @ts-expect-error no types
|
|
54
53
|
interopDefault(import('eslint-plugin-vue')),
|
|
55
54
|
interopDefault(import('vue-eslint-parser')),
|
|
56
55
|
interopDefault(import('@typescript-eslint/parser'))
|
|
@@ -122,6 +121,7 @@ async function vue(options) {
|
|
|
122
121
|
"vue/no-async-in-computed-properties": "error",
|
|
123
122
|
"vue/no-boolean-default": ["error", "no-default"],
|
|
124
123
|
"vue/no-computed-properties-in-data": "error",
|
|
124
|
+
"vue/no-deprecated-delete-set": "error",
|
|
125
125
|
"vue/no-dupe-keys": "error",
|
|
126
126
|
"vue/no-dupe-v-else-if": "error",
|
|
127
127
|
"vue/no-duplicate-attributes": [
|
|
@@ -306,7 +306,7 @@ async function unicorn(options) {
|
|
|
306
306
|
"unicorn/prefer-dom-node-dataset": "error",
|
|
307
307
|
"unicorn/prefer-dom-node-remove": "error",
|
|
308
308
|
"unicorn/prefer-dom-node-text-content": "error",
|
|
309
|
-
"unicorn/prefer-global-this": "
|
|
309
|
+
"unicorn/prefer-global-this": "off",
|
|
310
310
|
"unicorn/prefer-math-min-max": "error",
|
|
311
311
|
"unicorn/prefer-modern-dom-apis": "error",
|
|
312
312
|
"unicorn/prefer-node-protocol": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,22 +20,22 @@
|
|
|
20
20
|
"vue"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^8.8.
|
|
24
|
-
"@typescript-eslint/parser": "^8.8.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^8.8.1",
|
|
24
|
+
"@typescript-eslint/parser": "^8.8.1",
|
|
25
25
|
"eslint-plugin-perfectionist": "^3.8.0",
|
|
26
|
-
"eslint-plugin-tailwindcss": "^3.17.
|
|
26
|
+
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
27
27
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
28
|
-
"eslint-plugin-vue": "^9.
|
|
29
|
-
"globals": "^15.
|
|
28
|
+
"eslint-plugin-vue": "^9.29.0",
|
|
29
|
+
"globals": "^15.11.0",
|
|
30
30
|
"vue-eslint-parser": "^9.4.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@types/node": "^22.7.
|
|
34
|
-
"eslint": "^9.
|
|
33
|
+
"@types/node": "^22.7.5",
|
|
34
|
+
"eslint": "^9.12.0",
|
|
35
35
|
"husky": "^9.1.6",
|
|
36
36
|
"prettier": "^3.3.3",
|
|
37
37
|
"tslib": "^2.7.0",
|
|
38
|
-
"typescript": "^5.6.
|
|
38
|
+
"typescript": "^5.6.3",
|
|
39
39
|
"vite": "^5.4.8",
|
|
40
40
|
"vite-plugin-dts": "^4.2.3"
|
|
41
41
|
},
|