@alexlit/config-eslint 100.0.1 → 100.1.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": "100.0.1",
3
+ "version": "100.1.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -33,12 +33,12 @@
33
33
  "@eslint/js": "^9.17.0",
34
34
  "@intlify/eslint-plugin-vue-i18n": "^3.2.0",
35
35
  "@stylistic/eslint-plugin": "^2.12.1",
36
- "@tanstack/eslint-plugin-query": "^5.62.9",
36
+ "@tanstack/eslint-plugin-query": "^5.62.16",
37
37
  "@unocss/eslint-config": "^0.65.3",
38
38
  "eslint": "9.17.0",
39
39
  "eslint-config-prettier": "^9.1.0",
40
40
  "eslint-plugin-jsdoc": "^50.6.1",
41
- "eslint-plugin-perfectionist": "^4.4.0",
41
+ "eslint-plugin-perfectionist": "^4.6.0",
42
42
  "eslint-plugin-prettier": "^5.2.1",
43
43
  "eslint-plugin-regexp": "^2.7.0",
44
44
  "eslint-plugin-sonarjs": "^3.0.1",
@@ -49,7 +49,7 @@
49
49
  "eslint-plugin-vuejs-accessibility": "^2.4.1",
50
50
  "globals": "^15.14.0",
51
51
  "typescript": "^5.7.2",
52
- "typescript-eslint": "^8.18.2"
52
+ "typescript-eslint": "^8.19.1"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=18.18"
package/plugins/jsdoc.js CHANGED
@@ -7,12 +7,10 @@ export const jsdoc = [
7
7
  rules: {
8
8
  'jsdoc/lines-before-block': 'off',
9
9
  'jsdoc/no-undefined-types': 'off',
10
-
11
10
  'jsdoc/require-jsdoc': [
12
11
  'warn',
13
12
  {
14
13
  enableFixer: false,
15
-
16
14
  require: {
17
15
  ArrowFunctionExpression: false,
18
16
  ClassDeclaration: false,
@@ -23,7 +21,6 @@ export const jsdoc = [
23
21
  },
24
22
  },
25
23
  ],
26
-
27
24
  'jsdoc/require-param-description': 'off',
28
25
  'jsdoc/require-param-type': 'off',
29
26
  'jsdoc/require-returns': 'off',
@@ -11,6 +11,13 @@ export const perfectionist = [
11
11
  internalPattern: ['^#.*', '^~/.*', '^~~/.*', '^@/.*', '^@@/.*'],
12
12
  },
13
13
  ],
14
+ 'perfectionist/sort-object-types': [
15
+ 'warn',
16
+ {
17
+ newlinesBetween: 'always',
18
+ partitionByComment: true,
19
+ },
20
+ ],
14
21
  'perfectionist/sort-objects': [
15
22
  'warn',
16
23
  {
@@ -21,6 +28,7 @@ export const perfectionist = [
21
28
  'plugins',
22
29
  'screens',
23
30
  ],
31
+ newlinesBetween: 'always',
24
32
  partitionByComment: true,
25
33
  type: 'natural',
26
34
  },
@@ -11,7 +11,6 @@ const fixes = {
11
11
  normal: 'never',
12
12
  void: 'always',
13
13
  },
14
-
15
14
  math: 'always',
16
15
  svg: 'always',
17
16
  },
@@ -7,13 +7,11 @@ export const tailwindcss = [
7
7
  {
8
8
  rules: {
9
9
  'tailwindcss/no-custom-classname': 'off',
10
-
11
10
  'vue/static-class-names-order': 'off',
12
11
  },
13
12
  settings: {
14
13
  tailwindcss: {
15
14
  callees: [
16
- //
17
15
  'classnames',
18
16
  'clsx',
19
17
  'cn',
@@ -10,13 +10,11 @@ export const vueAccessibility = [
10
10
  'warn',
11
11
  {
12
12
  allowChildren: true,
13
-
14
13
  required: {
15
14
  some: ['nesting', 'id'],
16
15
  },
17
16
  },
18
17
  ],
19
-
20
18
  'vuejs-accessibility/no-autofocus': ['warn', { ignoreNonDOM: true }],
21
19
  },
22
20
  },
@@ -13,20 +13,17 @@ export const vueI18n = [
13
13
  allowArray: false,
14
14
  },
15
15
  ],
16
-
17
16
  '@intlify/vue-i18n/no-duplicate-keys-in-locale': [
18
17
  'error',
19
18
  {
20
19
  ignoreI18nBlock: false,
21
20
  },
22
21
  ],
23
-
24
22
  '@intlify/vue-i18n/no-dynamic-keys': 'warn',
25
23
  '@intlify/vue-i18n/no-raw-text': 'off',
26
24
  '@intlify/vue-i18n/no-unused-keys': 'warn',
27
25
  '@intlify/vue-i18n/prefer-sfc-lang-attr': 'error',
28
26
  },
29
-
30
27
  settings: {
31
28
  'vue-i18n': {
32
29
  localeDir: './**/locales/*.{json,json5,yaml,yml}',
package/plugins/vue.js CHANGED
@@ -56,7 +56,6 @@ export const vue = [
56
56
  normal: 'never',
57
57
  void: 'always',
58
58
  },
59
-
60
59
  math: 'always',
61
60
  svg: 'always',
62
61
  },