@alexlit/config-eslint 75.4.3 → 76.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "75.4.3",
3
+ "version": "76.0.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -34,9 +34,9 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@intlify/eslint-plugin-vue-i18n": "^2.0.0",
37
- "@tanstack/eslint-plugin-query": "^5.17.20",
38
- "@typescript-eslint/eslint-plugin": "^6.19.1",
39
- "@typescript-eslint/parser": "^6.19.1",
37
+ "@tanstack/eslint-plugin-query": "^5.18.1",
38
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
39
+ "@typescript-eslint/parser": "^6.21.0",
40
40
  "eslint": "^8.56.0",
41
41
  "eslint-config-airbnb-base": "^15.0.0",
42
42
  "eslint-config-prettier": "^9.1.0",
@@ -50,10 +50,10 @@
50
50
  "eslint-plugin-ext": "^0.1.0",
51
51
  "eslint-plugin-filenames": "^1.3.2",
52
52
  "eslint-plugin-import": "^2.29.1",
53
- "eslint-plugin-jsdoc": "^48.0.3",
53
+ "eslint-plugin-jsdoc": "^48.0.6",
54
54
  "eslint-plugin-jsx-a11y": "^6.8.0",
55
55
  "eslint-plugin-lit": "^1.11.0",
56
- "eslint-plugin-lit-a11y": "^4.1.1",
56
+ "eslint-plugin-lit-a11y": "^4.1.2",
57
57
  "eslint-plugin-more": "^1.0.5",
58
58
  "eslint-plugin-no-await-in-promise": "^1.1.6",
59
59
  "eslint-plugin-no-constructor-bind": "^2.0.4",
@@ -75,13 +75,13 @@
75
75
  "eslint-plugin-sql": "^2.5.0",
76
76
  "eslint-plugin-testing-library": "^6.2.0",
77
77
  "eslint-plugin-typescript-sort-keys": "^3.1.0",
78
- "eslint-plugin-unicorn": "^50.0.1",
78
+ "eslint-plugin-unicorn": "^51.0.1",
79
79
  "eslint-plugin-unused-imports": "^3.0.0",
80
- "eslint-plugin-vitest": "^0.3.20",
81
- "eslint-plugin-vue": "^9.20.1",
80
+ "eslint-plugin-vitest": "^0.3.21",
81
+ "eslint-plugin-vue": "^9.21.1",
82
82
  "eslint-plugin-vuejs-accessibility": "^2.2.1",
83
83
  "eslint-plugin-wc": "^2.0.4",
84
84
  "eslint-plugin-write-good-comments": "^0.2.0",
85
85
  "typescript": "^5.3.3"
86
86
  }
87
- }
87
+ }
@@ -24,6 +24,8 @@ module.exports = {
24
24
  rules: {
25
25
  'unicorn/better-regex': 'off',
26
26
 
27
+ 'unicorn/consistent-destructuring': 'warn',
28
+
27
29
  'unicorn/consistent-function-scoping': [
28
30
  'error',
29
31
  { checkArrowFunctions: false },
package/plugins/vue.js CHANGED
@@ -242,6 +242,8 @@ module.exports = {
242
242
 
243
243
  'vue/require-direct-export': 'off',
244
244
 
245
+ 'vue/require-explicit-slots': ['warn'],
246
+
245
247
  'vue/require-macro-variable-name': [
246
248
  'error',
247
249
  {
@@ -271,6 +273,14 @@ module.exports = {
271
273
 
272
274
  'vue/this-in-template': ['error', 'never'],
273
275
 
276
+ 'vue/v-bind-style': [
277
+ 'error',
278
+ 'shorthand',
279
+ {
280
+ sameNameShorthand: 'always',
281
+ },
282
+ ],
283
+
274
284
  'vue/v-for-delimiter-style': ['error'],
275
285
 
276
286
  'vue/v-if-else-key': ['error'],