@tb-dev/eslint-config 2.1.2 → 2.2.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 CHANGED
@@ -885,7 +885,13 @@ async function vue(options) {
885
885
  "vue/return-in-emits-validator": "error",
886
886
  "vue/this-in-template": ["error", "never"],
887
887
  "vue/use-v-on-exact": "error",
888
- "vue/v-bind-style": ["error", "shorthand"],
888
+ "vue/v-bind-style": [
889
+ "error",
890
+ "shorthand",
891
+ {
892
+ sameNameShorthand: "always"
893
+ }
894
+ ],
889
895
  "vue/v-for-delimiter-style": ["error", "of"],
890
896
  "vue/v-on-handler-style": "off",
891
897
  "vue/v-on-style": ["error", "shorthand"],
package/dist/index.js CHANGED
@@ -862,7 +862,13 @@ async function vue(options) {
862
862
  "vue/return-in-emits-validator": "error",
863
863
  "vue/this-in-template": ["error", "never"],
864
864
  "vue/use-v-on-exact": "error",
865
- "vue/v-bind-style": ["error", "shorthand"],
865
+ "vue/v-bind-style": [
866
+ "error",
867
+ "shorthand",
868
+ {
869
+ sameNameShorthand: "always"
870
+ }
871
+ ],
866
872
  "vue/v-for-delimiter-style": ["error", "of"],
867
873
  "vue/v-on-handler-style": "off",
868
874
  "vue/v-on-style": ["error", "shorthand"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -18,8 +18,8 @@
18
18
  "*.{?(c|m)@(j|t)s,css,vue,md,json}": "prettier --write"
19
19
  },
20
20
  "dependencies": {
21
- "@typescript-eslint/eslint-plugin": "^7.1.0",
22
- "@typescript-eslint/parser": "^7.1.0",
21
+ "@typescript-eslint/eslint-plugin": "^7.1.1",
22
+ "@typescript-eslint/parser": "^7.1.1",
23
23
  "eslint-config-prettier": "^9.1.0",
24
24
  "eslint-plugin-perfectionist": "^2.5.0",
25
25
  "eslint-plugin-unicorn": "^51.0.1",
@@ -30,14 +30,14 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/eslint-config-prettier": "^6.11.3",
33
- "@types/node": "^20.11.20",
33
+ "@types/node": "^20.11.24",
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
39
  "typescript": "5.3.3",
40
- "vite": "^5.1.4",
40
+ "vite": "^5.1.5",
41
41
  "vite-plugin-dts": "^3.7.3"
42
42
  },
43
43
  "peerDependencies": {