@lenne.tech/eslint-config-vue 2.1.0 → 2.1.2

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/index.js +4 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -52,9 +52,9 @@ export default [
52
52
  "@stylistic": stylistic,
53
53
  },
54
54
  rules: {
55
- ...perfectionist.configs["recommended-natural"].rules,
56
- ...vue.configs["vue3-recommended"].rules,
57
- ...typescript.configs["recommended"].rules,
55
+ ...(perfectionist.configs["recommended-natural"]?.rules || {}),
56
+ ...(vue.configs?.["recommended"]?.rules || {}),
57
+ ...(typescript.configs?.["recommended"]?.rules || {}),
58
58
 
59
59
 
60
60
  "perfectionist/sort-classes": "off",
@@ -71,7 +71,7 @@ export default [
71
71
 
72
72
  // reactivity transform
73
73
  "vue/no-setup-props-destructure": "off",
74
- "vue/component-tags-order": [
74
+ "vue/block-order": [
75
75
  "error",
76
76
  {
77
77
  order: ["script", "template", "style"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenne.tech/eslint-config-vue",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "ESLint config of lenne.Tech for Vue",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -16,7 +16,7 @@
16
16
  "reinit": "rimraf package-lock.json && rimraf node_modules && npm cache clean --force && npm i"
17
17
  },
18
18
  "peerDependencies": {
19
- "eslint": ">=9.26.0"
19
+ "eslint": ">=9.31.0"
20
20
  },
21
21
  "dependencies": {
22
22
  "@stylistic/eslint-plugin": "5.2.2",