@tb-dev/eslint-config 1.6.2 → 1.6.5
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 +8 -2
- package/dist/index.js +8 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -696,10 +696,12 @@ async function vue(options) {
|
|
|
696
696
|
"vue/define-macros-order": [
|
|
697
697
|
"error",
|
|
698
698
|
{
|
|
699
|
-
order: ["defineProps", "defineEmits"]
|
|
699
|
+
order: ["defineOptions", "defineModel", "defineProps", "defineEmits", "defineSlots"],
|
|
700
|
+
defineExposeLast: true
|
|
700
701
|
}
|
|
701
702
|
],
|
|
702
703
|
"vue/define-props-declaration": ["error", "type-based"],
|
|
704
|
+
"vue/enforce-style-attribute": ["error", { allow: ["scoped"] }],
|
|
703
705
|
"vue/first-attribute-linebreak": "off",
|
|
704
706
|
"vue/html-button-has-type": [
|
|
705
707
|
"error",
|
|
@@ -713,7 +715,11 @@ async function vue(options) {
|
|
|
713
715
|
"error",
|
|
714
716
|
{
|
|
715
717
|
singleline: "never",
|
|
716
|
-
multiline: "always"
|
|
718
|
+
multiline: "always",
|
|
719
|
+
selfClosingTag: {
|
|
720
|
+
singleline: "never",
|
|
721
|
+
multiline: "always"
|
|
722
|
+
}
|
|
717
723
|
}
|
|
718
724
|
],
|
|
719
725
|
"vue/html-closing-bracket-spacing": [
|
package/dist/index.js
CHANGED
|
@@ -673,10 +673,12 @@ async function vue(options) {
|
|
|
673
673
|
"vue/define-macros-order": [
|
|
674
674
|
"error",
|
|
675
675
|
{
|
|
676
|
-
order: ["defineProps", "defineEmits"]
|
|
676
|
+
order: ["defineOptions", "defineModel", "defineProps", "defineEmits", "defineSlots"],
|
|
677
|
+
defineExposeLast: true
|
|
677
678
|
}
|
|
678
679
|
],
|
|
679
680
|
"vue/define-props-declaration": ["error", "type-based"],
|
|
681
|
+
"vue/enforce-style-attribute": ["error", { allow: ["scoped"] }],
|
|
680
682
|
"vue/first-attribute-linebreak": "off",
|
|
681
683
|
"vue/html-button-has-type": [
|
|
682
684
|
"error",
|
|
@@ -690,7 +692,11 @@ async function vue(options) {
|
|
|
690
692
|
"error",
|
|
691
693
|
{
|
|
692
694
|
singleline: "never",
|
|
693
|
-
multiline: "always"
|
|
695
|
+
multiline: "always",
|
|
696
|
+
selfClosingTag: {
|
|
697
|
+
singleline: "never",
|
|
698
|
+
multiline: "always"
|
|
699
|
+
}
|
|
694
700
|
}
|
|
695
701
|
],
|
|
696
702
|
"vue/html-closing-bracket-spacing": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
33
|
-
"@types/node": "^20.11.
|
|
33
|
+
"@types/node": "^20.11.5",
|
|
34
34
|
"eslint": "^8.56.0",
|
|
35
35
|
"husky": "^8.0.3",
|
|
36
36
|
"lint-staged": "^15.2.0",
|
|
37
|
-
"prettier": "^3.2.
|
|
37
|
+
"prettier": "^3.2.4",
|
|
38
38
|
"taze": "^0.13.1",
|
|
39
39
|
"tslib": "^2.6.2",
|
|
40
40
|
"typescript": "5.3.3",
|
|
41
|
-
"vite": "^5.0.
|
|
41
|
+
"vite": "^5.0.12",
|
|
42
42
|
"vite-plugin-dts": "^3.7.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|