@alexlit/config-eslint 154.1.0 → 154.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,22 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v154.1.2
5
+
6
+ [compare changes](https://github.com/alex-lit/lint-kit/compare/@alexlit/config-eslint@154.1.1...v154.1.2)
7
+
8
+ ## v154.1.1
9
+
10
+ [compare changes](https://github.com/alex-lit/lint-kit/compare/@alexlit/config-eslint@154.1.0...v154.1.1)
11
+
12
+ ### 🏡 Chore
13
+
14
+ - **@alexlit/lint-kit:** Bump version ([50a19e17](https://github.com/alex-lit/lint-kit/commit/50a19e17))
15
+
16
+ ### ❤️ Contributors
17
+
18
+ - Alexey Litovchenko ([@alex-lit](https://github.com/alex-lit))
19
+
4
20
  ## v154.1.0
5
21
 
6
22
  [compare changes](https://github.com/alex-lit/lint-kit/compare/@alexlit/config-eslint@154.0.1...v154.1.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "154.1.0",
3
+ "version": "154.1.2",
4
4
  "private": false,
5
5
  "description": "Sharable ESLint configuration",
6
6
  "keywords": [
@@ -45,7 +45,7 @@
45
45
  "@intlify/eslint-plugin-vue-i18n": "^4.5.1",
46
46
  "@stylistic/eslint-plugin": "^5.10.0",
47
47
  "@tanstack/eslint-plugin-query": "^5.101.4",
48
- "@unocss/eslint-config": "^66.8.0",
48
+ "@unocss/eslint-config": "^66.8.1",
49
49
  "@vitest/eslint-plugin": "^1.6.27",
50
50
  "eslint": "^10.8.1",
51
51
  "eslint-config-prettier": "^10.1.8",
@@ -52,7 +52,7 @@ export const javascript = defineConfig([
52
52
  },
53
53
  // Устаревший функционал
54
54
  {
55
- message: 'Это функционал устарел.',
55
+ message: 'Этот функционал устарел.',
56
56
  regex: '(_deprecated|_legacy)',
57
57
  },
58
58
  ],
@@ -22,43 +22,41 @@ export const perfectionist = defineConfig([
22
22
  { elementNamePattern: ['^#shared*'], groupName: 'shared' },
23
23
 
24
24
  // universal
25
- { elementNamePattern: ['^~/.*/api'], groupName: 'universal-api' },
25
+ { elementNamePattern: ['^@/api'], groupName: 'universal-api' },
26
26
  {
27
- elementNamePattern: ['^~/.*/assets'],
27
+ elementNamePattern: ['^@/assets'],
28
28
  groupName: 'universal-assets',
29
29
  },
30
30
  {
31
- elementNamePattern: ['^~/.*/components'],
31
+ elementNamePattern: ['^@/components'],
32
32
  groupName: 'universal-components',
33
33
  },
34
34
  {
35
- elementNamePattern: ['^~/.*/composables'],
35
+ elementNamePattern: ['^@/composables'],
36
36
  groupName: 'universal-composables',
37
37
  },
38
38
  {
39
- elementNamePattern: ['^~/.*/constants'],
39
+ elementNamePattern: ['^@/constants'],
40
40
  groupName: 'universal-constants',
41
41
  },
42
42
  {
43
- elementNamePattern: ['^~/.*/directives'],
43
+ elementNamePattern: ['^@/directives'],
44
44
  groupName: 'universal-directives',
45
45
  },
46
46
  {
47
- elementNamePattern: ['^~/.*/pages'],
48
- groupName: 'universal-pages',
47
+ elementNamePattern: ['^@/layouts'],
48
+ groupName: 'universal-layouts',
49
49
  },
50
+ { elementNamePattern: ['^@/pages'], groupName: 'universal-pages' },
50
51
  {
51
- elementNamePattern: ['^~/.*/plugins'],
52
+ elementNamePattern: ['^@/plugins'],
52
53
  groupName: 'universal-plugins',
53
54
  },
54
55
  {
55
- elementNamePattern: ['^~/.*/stores'],
56
+ elementNamePattern: ['^@/stores'],
56
57
  groupName: 'universal-stores',
57
58
  },
58
- {
59
- elementNamePattern: ['^~/.*/utils'],
60
- groupName: 'universal-utils',
61
- },
59
+ { elementNamePattern: ['^@/utils'], groupName: 'universal-utils' },
62
60
  ],
63
61
  groups: [
64
62
  'type-import',
@@ -79,6 +77,7 @@ export const perfectionist = defineConfig([
79
77
  'universal-composables',
80
78
  'universal-constants',
81
79
  'universal-directives',
80
+ 'universal-layouts',
82
81
  'universal-pages',
83
82
  'universal-plugins',
84
83
  'universal-stores',