eslint-config-greenpie 7.3.0 → 7.3.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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/rules/vue.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-greenpie",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "description": "GreenPie's ESLint config file",
5
5
  "main": "index.js",
6
6
  "author": "Roman Nuritdinov (Ky6uk)",
@@ -33,13 +33,13 @@
33
33
  "vue"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@stylistic/eslint-plugin-js": "^1.4.0",
37
- "@stylistic/eslint-plugin-ts": "^1.4.0",
38
- "@typescript-eslint/eslint-plugin": "^6.12.0",
39
- "@typescript-eslint/parser": "^6.12.0",
36
+ "@stylistic/eslint-plugin-js": "^1.4.1",
37
+ "@stylistic/eslint-plugin-ts": "^1.4.1",
38
+ "@typescript-eslint/eslint-plugin": "^6.13.1",
39
+ "@typescript-eslint/parser": "^6.13.1",
40
40
  "eslint": "^8.54.0",
41
41
  "eslint-plugin-jest": "^27.6.0",
42
- "eslint-plugin-vue": "^9.18.1"
42
+ "eslint-plugin-vue": "^9.19.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "eslint": "^8.29.0"
package/rules/vue.js CHANGED
@@ -248,6 +248,7 @@ module.exports = {
248
248
  version: '^3.3.0'
249
249
  }],
250
250
 
251
+ 'vue/no-unused-emit-declarations': 'error',
251
252
  'vue/no-unused-properties': 'error',
252
253
  'vue/no-unused-refs': 'error',
253
254
  'vue/no-use-v-else-with-v-for': 'error',
@@ -279,6 +280,10 @@ module.exports = {
279
280
  'vue/sort-keys': 'off',
280
281
  'vue/static-class-names-order': 'error',
281
282
  'vue/v-for-delimiter-style': 'error',
283
+
284
+ // In Vue 3 the key is automatically assigned to the elements.
285
+ 'vue/v-if-else-key': 'off',
286
+
282
287
  'vue/v-on-handler-style': ['error', ['method', 'inline']],
283
288
  'vue/valid-define-options': 'error',
284
289