@tb-dev/eslint-config 2.2.0 → 3.0.0
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 +3 -3
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -713,8 +713,8 @@ async function vue(options) {
|
|
|
713
713
|
],
|
|
714
714
|
"vue/component-api-style": ["error", ["script-setup"]],
|
|
715
715
|
"vue/component-definition-name-casing": ["error", "PascalCase"],
|
|
716
|
-
"vue/component-name-in-template-casing": ["error", "
|
|
717
|
-
"vue/custom-event-name-casing": ["error", "
|
|
716
|
+
"vue/component-name-in-template-casing": ["error", "kebab-case"],
|
|
717
|
+
"vue/custom-event-name-casing": ["error", "kebab-case"],
|
|
718
718
|
"vue/define-emits-declaration": ["error", "type-based"],
|
|
719
719
|
"vue/define-macros-order": [
|
|
720
720
|
"error",
|
|
@@ -863,7 +863,7 @@ async function vue(options) {
|
|
|
863
863
|
allowProps: false
|
|
864
864
|
}
|
|
865
865
|
],
|
|
866
|
-
"vue/require-explicit-slots": "
|
|
866
|
+
"vue/require-explicit-slots": "error",
|
|
867
867
|
"vue/require-macro-variable-name": [
|
|
868
868
|
"error",
|
|
869
869
|
{
|
package/dist/index.js
CHANGED
|
@@ -690,8 +690,8 @@ async function vue(options) {
|
|
|
690
690
|
],
|
|
691
691
|
"vue/component-api-style": ["error", ["script-setup"]],
|
|
692
692
|
"vue/component-definition-name-casing": ["error", "PascalCase"],
|
|
693
|
-
"vue/component-name-in-template-casing": ["error", "
|
|
694
|
-
"vue/custom-event-name-casing": ["error", "
|
|
693
|
+
"vue/component-name-in-template-casing": ["error", "kebab-case"],
|
|
694
|
+
"vue/custom-event-name-casing": ["error", "kebab-case"],
|
|
695
695
|
"vue/define-emits-declaration": ["error", "type-based"],
|
|
696
696
|
"vue/define-macros-order": [
|
|
697
697
|
"error",
|
|
@@ -840,7 +840,7 @@ async function vue(options) {
|
|
|
840
840
|
allowProps: false
|
|
841
841
|
}
|
|
842
842
|
],
|
|
843
|
-
"vue/require-explicit-slots": "
|
|
843
|
+
"vue/require-explicit-slots": "error",
|
|
844
844
|
"vue/require-macro-variable-name": [
|
|
845
845
|
"error",
|
|
846
846
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
22
22
|
"@typescript-eslint/parser": "^7.1.1",
|
|
23
23
|
"eslint-config-prettier": "^9.1.0",
|
|
24
|
-
"eslint-plugin-perfectionist": "^2.
|
|
24
|
+
"eslint-plugin-perfectionist": "^2.6.0",
|
|
25
25
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
26
26
|
"eslint-plugin-vitest": "^0.3.22",
|
|
27
27
|
"eslint-plugin-vue": "^9.22.0",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
33
|
-
"@types/node": "^20.11.
|
|
33
|
+
"@types/node": "^20.11.25",
|
|
34
34
|
"eslint": "^8.57.0",
|
|
35
35
|
"husky": "^9.0.11",
|
|
36
36
|
"lint-staged": "^15.2.2",
|
|
37
37
|
"prettier": "^3.2.5",
|
|
38
38
|
"tslib": "^2.6.2",
|
|
39
|
-
"typescript": "5.
|
|
39
|
+
"typescript": "^5.4.2",
|
|
40
40
|
"vite": "^5.1.5",
|
|
41
41
|
"vite-plugin-dts": "^3.7.3"
|
|
42
42
|
},
|