@tb-dev/eslint-config 1.4.0 → 1.4.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.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +12 -13
package/dist/index.cjs
CHANGED
|
@@ -773,7 +773,7 @@ async function vue(options) {
|
|
|
773
773
|
'vue/prefer-true-attribute-shorthand': 'error',
|
|
774
774
|
'vue/prop-name-casing': ['error', 'camelCase'],
|
|
775
775
|
'vue/require-component-is': 'error',
|
|
776
|
-
'vue/require-default-prop': '
|
|
776
|
+
'vue/require-default-prop': 'off',
|
|
777
777
|
'vue/require-explicit-emits': [
|
|
778
778
|
'error',
|
|
779
779
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -771,7 +771,7 @@ async function vue(options) {
|
|
|
771
771
|
'vue/prefer-true-attribute-shorthand': 'error',
|
|
772
772
|
'vue/prop-name-casing': ['error', 'camelCase'],
|
|
773
773
|
'vue/require-component-is': 'error',
|
|
774
|
-
'vue/require-default-prop': '
|
|
774
|
+
'vue/require-default-prop': 'off',
|
|
775
775
|
'vue/require-explicit-emits': [
|
|
776
776
|
'error',
|
|
777
777
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,6 +17,16 @@
|
|
|
17
17
|
"lint-staged": {
|
|
18
18
|
"*.{?(c|m)@(j|t)s,css,vue,md,json}": "prettier --write"
|
|
19
19
|
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "rollup --config rollup.config.js",
|
|
22
|
+
"deps": "pnpm exec taze -w -f",
|
|
23
|
+
"format": "pnpm exec prettier . --write",
|
|
24
|
+
"format-check": "pnpm exec prettier . --check",
|
|
25
|
+
"lint": "eslint . --config eslint.config.js --cache",
|
|
26
|
+
"prepare": "husky install",
|
|
27
|
+
"release": "miho -l publish",
|
|
28
|
+
"typecheck": "tsc --noEmit"
|
|
29
|
+
},
|
|
20
30
|
"dependencies": {
|
|
21
31
|
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
22
32
|
"@typescript-eslint/parser": "^6.13.1",
|
|
@@ -61,16 +71,5 @@
|
|
|
61
71
|
"import": "./dist/index.mjs",
|
|
62
72
|
"require": "./dist/index.cjs"
|
|
63
73
|
}
|
|
64
|
-
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"build": "pnpm rollup",
|
|
67
|
-
"deps": "pnpm exec taze -w -f",
|
|
68
|
-
"format": "pnpm exec prettier . --write",
|
|
69
|
-
"format-check": "pnpm exec prettier . --check",
|
|
70
|
-
"lint": "eslint . --config eslint.config.js --cache",
|
|
71
|
-
"minify": "pnpm exec minify-it dist",
|
|
72
|
-
"release": "miho -l publish",
|
|
73
|
-
"rollup": "rollup --config rollup.config.js",
|
|
74
|
-
"typecheck": "tsc --noEmit"
|
|
75
74
|
}
|
|
76
|
-
}
|
|
75
|
+
}
|