@lenne.tech/eslint-config-vue 2.1.3 → 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.
Files changed (2) hide show
  1. package/index.js +12 -2
  2. package/package.json +8 -11
package/index.js CHANGED
@@ -6,6 +6,7 @@ import typescript from "@typescript-eslint/eslint-plugin";
6
6
  import perfectionist from "eslint-plugin-perfectionist";
7
7
  import stylistic from "@stylistic/eslint-plugin";
8
8
  import vitest from '@vitest/eslint-plugin';
9
+ import eslintConfigPrettier from 'eslint-config-prettier';
9
10
 
10
11
  export default [
11
12
  {
@@ -142,7 +143,7 @@ export default [
142
143
  "vue/object-curly-spacing": ["error", "always"],
143
144
  "vue/object-property-newline": [
144
145
  "error",
145
- { allowMultiplePropertiesPerLine: true },
146
+ { allowAllPropertiesOnSameLine: false },
146
147
  ],
147
148
  "vue/object-shorthand": [
148
149
  "error",
@@ -321,7 +322,14 @@ export default [
321
322
  curly: ["error", "all"],
322
323
  "max-statements-per-line": ["error", { max: 1 }],
323
324
 
324
- "@typescript-eslint/no-unused-vars": "warn",
325
+ "@typescript-eslint/no-unused-vars": [
326
+ "warn",
327
+ {
328
+ argsIgnorePattern: "^_",
329
+ varsIgnorePattern: "^_",
330
+ caughtErrorsIgnorePattern: "^_",
331
+ },
332
+ ],
325
333
 
326
334
  // off
327
335
  "@typescript-eslint/consistent-indexed-object-style": "off",
@@ -340,4 +348,6 @@ export default [
340
348
  "@typescript-eslint/triple-slash-reference": "off",
341
349
  },
342
350
  },
351
+ // Prettier config must be last to override conflicting rules
352
+ eslintConfigPrettier,
343
353
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenne.tech/eslint-config-vue",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "description": "ESLint config of lenne.Tech for Vue",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -19,20 +19,17 @@
19
19
  "eslint": ">=9.31.0"
20
20
  },
21
21
  "dependencies": {
22
- "@stylistic/eslint-plugin": "5.2.2",
23
- "@typescript-eslint/eslint-plugin": "8.38.0",
24
- "@typescript-eslint/parser": "8.38.0",
25
- "@vitest/eslint-plugin": "1.3.4",
22
+ "@stylistic/eslint-plugin": "5.4.0",
23
+ "@typescript-eslint/eslint-plugin": "8.65.0",
24
+ "@typescript-eslint/parser": "8.65.0",
25
+ "@vitest/eslint-plugin": "1.3.20",
26
26
  "eslint-config-prettier": "10.1.8",
27
- "eslint-plugin-import": "2.32.0",
28
- "eslint-plugin-perfectionist": "4.15.0",
29
- "eslint-plugin-prettier": "5.5.3",
30
- "eslint-plugin-vue": "10.3.0",
31
- "functions-have-names": "1.2.3",
27
+ "eslint-plugin-perfectionist": "4.15.1",
28
+ "eslint-plugin-vue": "10.5.1",
32
29
  "vue-eslint-parser": "10.2.0"
33
30
  },
34
31
  "devDependencies": {
35
- "eslint": "9.31.0",
32
+ "eslint": "9.37.0",
36
33
  "watch": "1.0.2"
37
34
  }
38
35
  }