@alexlit/lint-kit 149.0.0 → 149.1.1
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 +1 -1
- package/packages/config-commitlint/node_modules/.bin/commitlint +2 -2
- package/packages/config-eslint/node_modules/.bin/eslint-config-prettier +2 -2
- package/packages/config-eslint/package.json +5 -5
- package/packages/config-eslint/plugins/typescript.js +29 -1
- package/packages/config-prettier/package.json +2 -2
- package/packages/config-stylelint/package.json +1 -1
package/package.json
CHANGED
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.
|
|
13
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.15.17_typescript@5.8.3/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.15.17_typescript@5.8.3/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.15.17_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.
|
|
15
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.15.17_typescript@5.8.3/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.15.17_typescript@5.8.3/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.1_@types+node@22.15.17_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../@commitlint/cli/cli.js" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.
|
|
13
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.5_eslint@9.26.0_jiti@2.4.2_/node_modules/eslint-config-prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.5_eslint@9.26.0_jiti@2.4.2_/node_modules/eslint-config-prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.5_eslint@9.26.0_jiti@2.4.2_/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.
|
|
15
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.5_eslint@9.26.0_jiti@2.4.2_/node_modules/eslint-config-prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.5_eslint@9.26.0_jiti@2.4.2_/node_modules/eslint-config-prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.1.5_eslint@9.26.0_jiti@2.4.2_/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../eslint-config-prettier/bin/cli.js" "$@"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "109.
|
|
3
|
+
"version": "109.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Sharable ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@intlify/eslint-plugin-vue-i18n": "^4.0.1",
|
|
45
45
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "^5.74.7",
|
|
47
|
-
"@unocss/eslint-config": "^66.1.
|
|
47
|
+
"@unocss/eslint-config": "^66.1.2",
|
|
48
48
|
"eslint": "9.26.0",
|
|
49
49
|
"eslint-config-prettier": "^10.1.5",
|
|
50
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
51
|
-
"eslint-plugin-perfectionist": "^4.
|
|
50
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
51
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
52
52
|
"eslint-plugin-prettier": "^5.4.0",
|
|
53
53
|
"eslint-plugin-regexp": "^2.7.0",
|
|
54
54
|
"eslint-plugin-sonarjs": "^3.0.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"globals": "^16.1.0",
|
|
61
61
|
"jsonc-eslint-parser": "^2.4.0",
|
|
62
62
|
"typescript": "^5.8.3",
|
|
63
|
-
"typescript-eslint": "^8.32.
|
|
63
|
+
"typescript-eslint": "^8.32.1",
|
|
64
64
|
"yaml-eslint-parser": "^1.3.0"
|
|
65
65
|
},
|
|
66
66
|
"packageManager": "pnpm@10.x",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable unicorn/no-null */
|
|
1
2
|
import plugin from 'typescript-eslint';
|
|
2
3
|
|
|
3
4
|
import { FILES } from '../presets/_base.js';
|
|
@@ -7,7 +8,34 @@ export const typescript = [
|
|
|
7
8
|
...plugin.configs.strict,
|
|
8
9
|
...plugin.configs.stylistic,
|
|
9
10
|
|
|
10
|
-
{
|
|
11
|
+
{
|
|
12
|
+
files: FILES,
|
|
13
|
+
rules: {
|
|
14
|
+
'@typescript-eslint/naming-convention': [
|
|
15
|
+
'error',
|
|
16
|
+
|
|
17
|
+
{ format: ['strictCamelCase'], selector: 'function' },
|
|
18
|
+
{
|
|
19
|
+
format: ['strictCamelCase'],
|
|
20
|
+
leadingUnderscore: 'require',
|
|
21
|
+
modifiers: ['private'],
|
|
22
|
+
selector: 'memberLike',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
format: ['strictCamelCase'],
|
|
26
|
+
leadingUnderscore: 'allow',
|
|
27
|
+
selector: 'parameter',
|
|
28
|
+
},
|
|
29
|
+
{ format: ['StrictPascalCase'], selector: 'typeLike' },
|
|
30
|
+
{
|
|
31
|
+
format: ['strictCamelCase', 'StrictPascalCase', 'UPPER_CASE'],
|
|
32
|
+
selector: 'variable',
|
|
33
|
+
},
|
|
34
|
+
{ format: null, modifiers: ['destructured'], selector: 'variable' },
|
|
35
|
+
],
|
|
36
|
+
'@typescript-eslint/no-explicit-any': 'warn',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
11
39
|
{
|
|
12
40
|
files: ['**/*.vue'],
|
|
13
41
|
rules: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-prettier",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "prettier config",
|
|
6
6
|
"keywords": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"prettier": "^3.5.3",
|
|
43
43
|
"prettier-plugin-eruby": "^0.0.3",
|
|
44
44
|
"prettier-plugin-jsdoc": "^1.3.2",
|
|
45
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
45
|
+
"prettier-plugin-packagejson": "^2.5.13",
|
|
46
46
|
"prettier-plugin-sh": "^0.17.4",
|
|
47
47
|
"prettier-plugin-solidity": "^2.0.0",
|
|
48
48
|
"prettier-plugin-sort-json": "^4.1.1",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"stylelint-color-format": "^1.1.0",
|
|
45
45
|
"stylelint-config-recommended-vue": "^1.6.0",
|
|
46
46
|
"stylelint-config-standard": "^38.0.0",
|
|
47
|
-
"stylelint-config-standard-scss": "^15.0.
|
|
47
|
+
"stylelint-config-standard-scss": "^15.0.1",
|
|
48
48
|
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
|
|
49
49
|
"stylelint-gamut": "^1.3.4",
|
|
50
50
|
"stylelint-high-performance-animation": "^1.11.0",
|