@alexlit/lint-kit 198.7.1 → 199.0.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": "151.
|
|
3
|
+
"version": "151.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Sharable ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "^5.101.4",
|
|
47
47
|
"@unocss/eslint-config": "^66.7.5",
|
|
48
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
48
|
+
"@vitest/eslint-plugin": "^1.6.26",
|
|
49
49
|
"eslint": "^10.8.0",
|
|
50
50
|
"eslint-config-prettier": "^10.1.8",
|
|
51
|
-
"eslint-plugin-jsdoc": "^63.3.
|
|
51
|
+
"eslint-plugin-jsdoc": "^63.3.3",
|
|
52
52
|
"eslint-plugin-perfectionist": "^5.10.0",
|
|
53
53
|
"eslint-plugin-pinia": "^0.4.2",
|
|
54
54
|
"eslint-plugin-prettier": "^5.5.6",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"eslint-plugin-vue": "^10.10.0",
|
|
60
60
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
61
61
|
"eslint-plugin-zod": "^4.9.0",
|
|
62
|
-
"globals": "^17.
|
|
62
|
+
"globals": "^17.9.0",
|
|
63
63
|
"jsonc-eslint-parser": "^3.1.0",
|
|
64
64
|
"typescript": "^6.0.3",
|
|
65
65
|
"typescript-eslint": "^8.65.0",
|
|
@@ -9,9 +9,10 @@ export const javascript = defineConfig([
|
|
|
9
9
|
{
|
|
10
10
|
files: FILES,
|
|
11
11
|
rules: {
|
|
12
|
+
'arrow-body-style': ['error', 'as-needed'],
|
|
12
13
|
'curly': 'error',
|
|
13
14
|
'dot-notation': ['error'],
|
|
14
|
-
'func-style': ['error', '
|
|
15
|
+
'func-style': ['error', 'expression'],
|
|
15
16
|
'grouped-accessor-pairs': ['error', 'getBeforeSet'],
|
|
16
17
|
'no-duplicate-imports': ['error', { includeExports: false }],
|
|
17
18
|
'no-implicit-coercion': 'error',
|
|
@@ -36,6 +37,18 @@ export const javascript = defineConfig([
|
|
|
36
37
|
],
|
|
37
38
|
},
|
|
38
39
|
],
|
|
40
|
+
'no-restricted-syntax': [
|
|
41
|
+
'error',
|
|
42
|
+
{
|
|
43
|
+
message:
|
|
44
|
+
"Не используйте префикс 'handle' для обработчиков событий. Переименуйте метод, заменив 'handle' на 'on' (например, 'onClick' вместо 'handleClick').",
|
|
45
|
+
selector: 'Identifier[name=/^handle[A-Z]/]',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
'prefer-arrow-callback': [
|
|
49
|
+
'error',
|
|
50
|
+
{ allowNamedFunctions: false, allowUnboundThis: false },
|
|
51
|
+
],
|
|
39
52
|
'prefer-const': 'warn',
|
|
40
53
|
'prefer-template': 'warn',
|
|
41
54
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-hooks",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Hooks config",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"husky": "^9.1.7",
|
|
39
|
-
"lint-staged": "^17.
|
|
39
|
+
"lint-staged": "^17.3.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-prettier",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "prettier config",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prettier-plugin-jsdoc": "^1.8.1",
|
|
45
45
|
"prettier-plugin-packagejson": "^3.0.2",
|
|
46
46
|
"prettier-plugin-sh": "^0.19.0",
|
|
47
|
-
"prettier-plugin-solidity": "^2.
|
|
47
|
+
"prettier-plugin-solidity": "^2.4.0",
|
|
48
48
|
"prettier-plugin-sort-json": "^4.2.0",
|
|
49
49
|
"prettier-plugin-sql": "^0.20.0",
|
|
50
50
|
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "61.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -36,10 +36,14 @@
|
|
|
36
36
|
"up": "../../scripts/up.sh"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@double-great/stylelint-a11y": "^3.5.
|
|
39
|
+
"@double-great/stylelint-a11y": "^3.5.1",
|
|
40
40
|
"@morev/stylelint-plugin": "^0.6.1",
|
|
41
|
+
"postcss": "^8.5.25",
|
|
42
|
+
"postcss-html": "^2.0.0",
|
|
43
|
+
"prettier": "^3.9.6",
|
|
41
44
|
"stylelint": "17.14.1",
|
|
42
|
-
"stylelint-config-
|
|
45
|
+
"stylelint-config-html": "^2.0.0",
|
|
46
|
+
"stylelint-config-recommended-vue": "^2.0.0",
|
|
43
47
|
"stylelint-config-standard": "^40.0.0",
|
|
44
48
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
45
49
|
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
|
|
@@ -57,22 +61,6 @@
|
|
|
57
61
|
"stylelint-selector-no-empty": "^1.0.9",
|
|
58
62
|
"stylelint-use-nesting": "^6.0.2"
|
|
59
63
|
},
|
|
60
|
-
"peerDependencies": {
|
|
61
|
-
"postcss": "^8.5.24",
|
|
62
|
-
"postcss-html": "^1.8.1",
|
|
63
|
-
"prettier": "^3.9.6"
|
|
64
|
-
},
|
|
65
|
-
"peerDependenciesMeta": {
|
|
66
|
-
"postcss": {
|
|
67
|
-
"optional": true
|
|
68
|
-
},
|
|
69
|
-
"postcss-html": {
|
|
70
|
-
"optional": true
|
|
71
|
-
},
|
|
72
|
-
"prettier": {
|
|
73
|
-
"optional": true
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
64
|
"publishConfig": {
|
|
77
65
|
"access": "public",
|
|
78
66
|
"registry": "https://registry.npmjs.org/"
|