@alexlit/lint-kit 137.3.0 → 137.5.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 +1 -1
- package/packages/config-commitlint/node_modules/.bin/commitlint +4 -4
- package/packages/config-commitlint/node_modules/.bin/conventional-changelog +2 -2
- package/packages/config-eslint/node_modules/.bin/eslint +2 -2
- package/packages/config-eslint/node_modules/.bin/eslint-config-prettier +2 -2
- package/packages/config-eslint/node_modules/.bin/tsc +2 -2
- package/packages/config-eslint/node_modules/.bin/tsserver +2 -2
- package/packages/config-eslint/package.json +3 -6
- package/packages/config-eslint/plugins/tailwindcss.js +23 -23
- package/packages/config-hooks/lint-staged.js +17 -7
- package/packages/config-hooks/node_modules/.bin/husky +2 -2
- package/packages/config-hooks/node_modules/.bin/lint-staged +2 -2
- package/packages/config-hooks/package.json +1 -1
- package/packages/config-htmllint/node_modules/.bin/linthtml +2 -2
- package/packages/config-markdownlint/node_modules/.bin/markdownlint +2 -2
- package/packages/config-npmlint/node_modules/.bin/lockfile-lint +2 -2
- package/packages/config-npmlint/node_modules/.bin/npmPkgJsonLint +2 -2
- package/packages/config-prettier/node_modules/.bin/prettier +2 -2
- package/packages/config-stylelint/node_modules/.bin/prettier +2 -2
- package/packages/config-stylelint/node_modules/.bin/stylelint +2 -2
- package/packages/config-stylelint/package.json +1 -1
- package/packages/config-stylelint/plugins/scss.js +6 -1
package/package.json
CHANGED
|
@@ -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.7.1_@types+node@22.13.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.7.1_@types+node@22.13.1_typescript@5.7.3/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.7.1_@types+node@22.13.1_typescript@5.7.3/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.7.1_@types+node@22.13.1_typescript@5.7.3/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.7.1_@types+node@22.13.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.7.1_@types+node@22.13.1_typescript@5.7.3/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.7.1_@types+node@22.13.1_typescript@5.7.3/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.7.1_@types+node@22.13.1_typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../@commitlint/cli/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../@commitlint/cli/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/conventional-changelog-cli@5.0.0_conventional-commits-filter@5.0.0/node_modules/conventional-changelog-cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/conventional-changelog-cli@5.0.0_conventional-commits-filter@5.0.0/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../conventional-changelog-cli/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../conventional-changelog-cli/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint@9.19.0_jiti@2.4.2/node_modules/eslint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint@9.19.0_jiti@2.4.2/node_modules/eslint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint@9.19.0_jiti@2.4.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
|
|
14
|
+
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.0.1_eslint@9.19.0_jiti@2.4.2_/node_modules/eslint-config-prettier/build/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.0.1_eslint@9.19.0_jiti@2.4.2_/node_modules/eslint-config-prettier/build/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@10.0.1_eslint@9.19.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.0.1_eslint@9.19.0_jiti@2.4.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
|
|
14
|
+
exec "$basedir/node" "$basedir/../eslint-config-prettier/build/bin/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../eslint-config-prettier/build/bin/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "102.
|
|
3
|
+
"version": "102.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"eslint": "9.19.0",
|
|
47
47
|
"eslint-config-prettier": "^10.0.1",
|
|
48
48
|
"eslint-plugin-jsdoc": "^50.6.3",
|
|
49
|
-
"eslint-plugin-perfectionist": "^4.
|
|
49
|
+
"eslint-plugin-perfectionist": "^4.8.0",
|
|
50
50
|
"eslint-plugin-prettier": "^5.2.3",
|
|
51
51
|
"eslint-plugin-regexp": "^2.7.0",
|
|
52
52
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
@@ -57,10 +57,7 @@
|
|
|
57
57
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
58
58
|
"globals": "^15.14.0",
|
|
59
59
|
"typescript": "^5.7.3",
|
|
60
|
-
"typescript-eslint": "^8.
|
|
61
|
-
},
|
|
62
|
-
"peerDependencies": {
|
|
63
|
-
"tailwindcss": "^3.4.17"
|
|
60
|
+
"typescript-eslint": "^8.23.0"
|
|
64
61
|
},
|
|
65
62
|
"engines": {
|
|
66
63
|
"node": ">=18.18"
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import tailwind from 'eslint-plugin-tailwindcss';
|
|
1
|
+
// import tailwind from 'eslint-plugin-tailwindcss';
|
|
2
2
|
|
|
3
3
|
/** @see [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) */
|
|
4
4
|
export const tailwindcss = [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
5
|
+
// TODO: включить после обновления плагина
|
|
6
|
+
// ...tailwind.configs['flat/recommended'],
|
|
7
|
+
// {
|
|
8
|
+
// rules: {
|
|
9
|
+
// 'tailwindcss/no-custom-classname': 'off',
|
|
10
|
+
// 'vue/static-class-names-order': 'off',
|
|
11
|
+
// },
|
|
12
|
+
// settings: {
|
|
13
|
+
// tailwindcss: {
|
|
14
|
+
// callees: [
|
|
15
|
+
// 'classnames',
|
|
16
|
+
// 'clsx',
|
|
17
|
+
// 'cn',
|
|
18
|
+
// 'ctl',
|
|
19
|
+
// 'cva',
|
|
20
|
+
// 'tv',
|
|
21
|
+
// 'tw',
|
|
22
|
+
// 'twMerge',
|
|
23
|
+
// ],
|
|
24
|
+
// },
|
|
25
|
+
// },
|
|
26
|
+
// },
|
|
27
27
|
];
|
|
@@ -19,21 +19,31 @@ const createLintStagedConfig = (plugins = {}, config = {}) => {
|
|
|
19
19
|
...plugins,
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
const eslint = pluginsList.eslint ? 'eslint --fix' : '
|
|
22
|
+
const eslint = pluginsList.eslint ? 'eslint --fix' : 'echo "eslint disabled"';
|
|
23
23
|
|
|
24
|
-
const htmllint = pluginsList.htmllint
|
|
24
|
+
const htmllint = pluginsList.htmllint
|
|
25
|
+
? 'linthtml'
|
|
26
|
+
: 'echo "htmllint disabled"';
|
|
25
27
|
|
|
26
28
|
const lockfilelint = pluginsList.lockfilelint
|
|
27
29
|
? 'lockfile-lint --type npm --path package-lock.json'
|
|
28
|
-
: '
|
|
30
|
+
: 'echo "lockfilelint disabled"';
|
|
29
31
|
|
|
30
|
-
const markdownlint = pluginsList.markdownlint
|
|
32
|
+
const markdownlint = pluginsList.markdownlint
|
|
33
|
+
? 'markdownlint --fix'
|
|
34
|
+
: 'markdownlint "eslint disabled"';
|
|
31
35
|
|
|
32
|
-
const npmlint = pluginsList.npmlint
|
|
36
|
+
const npmlint = pluginsList.npmlint
|
|
37
|
+
? 'npmPkgJsonLint'
|
|
38
|
+
: 'echo "npmlint disabled"';
|
|
33
39
|
|
|
34
|
-
const prettier = pluginsList.prettier
|
|
40
|
+
const prettier = pluginsList.prettier
|
|
41
|
+
? 'prettier --write'
|
|
42
|
+
: 'echo "prettier disabled"';
|
|
35
43
|
|
|
36
|
-
const stylelint = pluginsList.stylelint
|
|
44
|
+
const stylelint = pluginsList.stylelint
|
|
45
|
+
? 'stylelint --fix'
|
|
46
|
+
: 'echo "stylelint disabled"';
|
|
37
47
|
|
|
38
48
|
return {
|
|
39
49
|
'*.cjs': [eslint, prettier],
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/husky@9.1.7/node_modules/husky/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/husky@9.1.7/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../husky/bin.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../husky/bin.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.4.3/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.4.3/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.4.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../lint-staged/bin/lint-staged.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../lint-staged/bin/lint-staged.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.7.3/node_modules/@linthtml/linthtml/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.7.3/node_modules/@linthtml/linthtml/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.7.3/node_modules/@linthtml/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../@linthtml/linthtml/bin/linthtml.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../@linthtml/linthtml/bin/linthtml.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/markdownlint-cli@0.44.0/node_modules/markdownlint-cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/markdownlint-cli@0.44.0/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../markdownlint-cli/markdownlint.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../markdownlint-cli/markdownlint.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.7.3/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.7.3/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../lockfile-lint/bin/lockfile-lint.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../lockfile-lint/bin/lockfile-lint.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/npm-package-json-lint@8.0.0_typescript@5.7.3/node_modules/npm-package-json-lint/dist/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/npm-package-json-lint@8.0.0_typescript@5.7.3/node_modules/npm-package-json-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/npm-package-json-lint@8.0.0_typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../npm-package-json-lint/dist/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../npm-package-json-lint/dist/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.4.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
|
|
14
|
+
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.4.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
|
|
14
|
+
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.14.1_typescript@5.7.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.14.1_typescript@5.7.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.14.1_typescript@5.7.3/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
|
|
14
|
+
exec "$basedir/node" "$basedir/../stylelint/bin/stylelint.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../stylelint/bin/stylelint.mjs" "$@"
|
|
17
17
|
fi
|