@alexlit/lint-kit 133.2.0 → 133.3.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/lint-kit",
3
- "version": "133.2.0",
3
+ "version": "133.3.0",
4
4
  "private": false,
5
5
  "description": "Preset of configuration files and dependencies for linting web applications (designed for Vue.js with TypeScript)",
6
6
  "keywords": [
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.1_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.0_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
17
17
  fi
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "99.2.0",
3
+ "version": "99.3.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -38,13 +38,13 @@
38
38
  "dependencies": {
39
39
  "@eslint/js": "^9.16.0",
40
40
  "@intlify/eslint-plugin-vue-i18n": "^3.2.0",
41
- "@stylistic/eslint-plugin": "^2.12.0",
41
+ "@stylistic/eslint-plugin": "^2.12.1",
42
42
  "@tanstack/eslint-plugin-query": "^5.62.1",
43
43
  "@unocss/eslint-config": "^0.65.1",
44
44
  "eslint": "9.16.0",
45
45
  "eslint-config-prettier": "^9.1.0",
46
- "eslint-plugin-jsdoc": "^50.6.0",
47
- "eslint-plugin-perfectionist": "^4.2.0",
46
+ "eslint-plugin-jsdoc": "^50.6.1",
47
+ "eslint-plugin-perfectionist": "^4.3.0",
48
48
  "eslint-plugin-prettier": "^5.2.1",
49
49
  "eslint-plugin-regexp": "^2.7.0",
50
50
  "eslint-plugin-sonarjs": "^3.0.1",
@@ -7,6 +7,7 @@ export const javascript = [
7
7
  {
8
8
  rules: {
9
9
  curly: 'error',
10
+ 'dot-notation': ['error'],
10
11
  'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
11
12
  'grouped-accessor-pairs': ['error', 'getBeforeSet'],
12
13
  'no-implicit-coercion': 'error',
@@ -120,6 +120,7 @@ export const vue = [
120
120
  'vue/no-v-text': ['error'],
121
121
  'vue/no-v-text-v-html-on-component': ['error'],
122
122
  'vue/object-shorthand': ['error'],
123
+ 'vue/order-in-components': 'off',
123
124
  'vue/padding-line-between-blocks': ['error'],
124
125
  'vue/padding-line-between-tags': [
125
126
  'error',
@@ -0,0 +1,121 @@
1
+ {
2
+ files: ['**/*.vue'],
3
+ rules: {
4
+ 'perfectionist/sort-objects': [
5
+ 'warn',
6
+ {
7
+ customGroups: {
8
+ activated: 'activated',
9
+ asyncData: 'asyncData',
10
+ beforeMount: 'beforeMount',
11
+ beforeRouteEnter: 'beforeRouteEnter',
12
+ beforeRouteLeave: 'beforeRouteLeave',
13
+ beforeRouteUpdate: 'beforeRouteUpdate',
14
+ beforeUnmount: 'beforeUnmount',
15
+ beforeUpdate: 'beforeUpdate',
16
+ comments: 'comments',
17
+ components: 'components',
18
+ computed: 'computed',
19
+ data: 'data',
20
+ deactivated: 'deactivated',
21
+ delimiters: 'delimiters',
22
+ directives: 'directives',
23
+ el: 'el',
24
+ emits: 'emits',
25
+ errorCaptured: 'errorCaptured',
26
+ extends: 'extends',
27
+ fetch: 'fetch',
28
+ filters: 'filters',
29
+ functional: 'functional',
30
+ head: 'head',
31
+ inheritAttrs: 'inheritAttrs',
32
+ inject: 'inject',
33
+ key: 'key',
34
+ layout: 'layout',
35
+ loading: 'loading',
36
+ methods: 'methods',
37
+ middleware: 'middleware',
38
+ mixins: 'mixins',
39
+ model: 'model',
40
+ mounted: 'mounted',
41
+ name: 'name',
42
+ parent: 'parent',
43
+ props: 'props',
44
+ propsData: 'propsData',
45
+ provide: 'provide',
46
+ render: 'render',
47
+ renderError: 'renderError',
48
+ renderTracked: 'renderTracked',
49
+ renderTriggered: 'renderTriggered',
50
+ scrollToTop: 'scrollToTop',
51
+ serverPrefetch: 'serverPrefetch',
52
+ setup: 'setup',
53
+ template: 'template',
54
+ transition: 'transition',
55
+ unmounted: 'unmounted',
56
+ updated: 'updated',
57
+ validate: 'validate',
58
+ watch: 'watch',
59
+ watchQuery: 'watchQuery',
60
+ },
61
+ groups: [
62
+ 'el',
63
+ 'name',
64
+ 'key',
65
+ 'parent',
66
+ 'functional',
67
+ 'delimiters',
68
+ 'comments',
69
+ 'components',
70
+ 'directives',
71
+ 'filters',
72
+ 'extends',
73
+ 'mixins',
74
+ 'provide',
75
+ 'inject',
76
+ 'beforeRouteEnter',
77
+ 'beforeRouteUpdate',
78
+ 'beforeRouteLeave',
79
+ 'layout',
80
+ 'middleware',
81
+ 'validate',
82
+ 'scrollToTop',
83
+ 'transition',
84
+ 'loading',
85
+ 'inheritAttrs',
86
+ 'model',
87
+ 'props',
88
+ 'propsData',
89
+ 'emits',
90
+ 'setup',
91
+ 'asyncData',
92
+ 'data',
93
+ 'fetch',
94
+ 'head',
95
+ 'computed',
96
+ 'watch',
97
+ 'watchQuery',
98
+ 'beforeMount',
99
+ 'mounted',
100
+ 'beforeUpdate',
101
+ 'updated',
102
+ 'beforeUnmount',
103
+ 'unmounted',
104
+ 'errorCaptured',
105
+ 'renderTracked',
106
+ 'renderTriggered',
107
+ 'activated',
108
+ 'deactivated',
109
+ 'serverPrefetch',
110
+ 'methods',
111
+ 'template',
112
+ 'render',
113
+ 'renderError',
114
+
115
+ 'unknown',
116
+ ],
117
+ ignorePattern: ['Property', 'breakpoints', 'screens', 'plugins'],
118
+ },
119
+ ],
120
+ },
121
+ },
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.10/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.10/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.10/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.10/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.10/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.10/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/lint-staged@15.2.10/node_modules/lint-staged/bin/lint-staged.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/bin/lint-staged.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../node_modules/.pnpm/lint-staged@15.2.10/node_modules/lint-staged/bin/lint-staged.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/bin/lint-staged.js" "$@"
17
17
  fi
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-hooks",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
4
4
  "private": false,
5
5
  "description": "Hooks config",
6
6
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "husky": "^9.1.7",
38
- "lint-staged": "^15.2.10"
38
+ "lint-staged": "^15.2.11"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=18.18"