@alexlit/lint-kit 131.2.0 → 132.1.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-eslint/node_modules/.bin/acorn +4 -4
- package/packages/config-eslint/node_modules/.bin/browserslist +4 -4
- package/packages/config-eslint/package.json +4 -4
- package/packages/config-prettier/index.js +7 -29
- package/packages/config-prettier/package.json +1 -2
- package/packages/config-prettier/plugins/jsdoc.js +1 -0
- package/packages/config-prettier/plugins/packagejson.js +1 -0
- package/packages/config-prettier/plugins/php.js +1 -0
- package/packages/config-prettier/plugins/pug.js +1 -0
- package/packages/config-prettier/plugins/ruby.js +4 -0
- package/packages/config-prettier/plugins/sh.js +1 -0
- package/packages/config-prettier/plugins/solidity.js +1 -0
- package/packages/config-prettier/plugins/sort-json.js +1 -0
- package/packages/config-prettier/plugins/sql.js +1 -0
- package/packages/config-prettier/plugins/tailwindcss.js +1 -0
- package/packages/config-prettier/plugins/xml.js +1 -0
- package/packages/config-stylelint/node_modules/.bin/stylelint +4 -4
- package/packages/config-stylelint/package.json +2 -2
- package/packages/config-prettier/plugins/svelte.js +0 -8
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.5.0_@types+node@22.7.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.3/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.3/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.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.5.0_@types+node@22.7.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.3/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.3/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.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/../../../../node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.3/node_modules/@commitlint/cli/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.5.0_@types+node@22.7.6_typescript@5.6.3/node_modules/@commitlint/cli/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -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/acorn@8.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.13.0/node_modules/acorn/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.13.0/node_modules/acorn/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.13.0/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/acorn@8.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.13.0/node_modules/acorn/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.13.0/node_modules/acorn/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.13.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/../../../../node_modules/.pnpm/acorn@8.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@8.13.0/node_modules/acorn/bin/acorn" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.13.0/node_modules/acorn/bin/acorn" "$@"
|
|
17
17
|
fi
|
|
@@ -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/browserslist@4.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/browserslist@4.24.0/node_modules/browserslist/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/browserslist@4.24.0/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/browserslist@4.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/browserslist@4.24.0/node_modules/browserslist/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/browserslist@4.24.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/../../../../node_modules/.pnpm/browserslist@4.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/browserslist@4.24.0/node_modules/browserslist/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/browserslist@4.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/browserslist@4.24.0/node_modules/browserslist/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "97.
|
|
3
|
+
"version": "97.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@unocss/eslint-config": "^0.63.4",
|
|
44
44
|
"eslint": "^9.12.0",
|
|
45
45
|
"eslint-config-prettier": "^9.1.0",
|
|
46
|
-
"eslint-plugin-jsdoc": "^50.4.
|
|
47
|
-
"eslint-plugin-perfectionist": "^3.9.
|
|
46
|
+
"eslint-plugin-jsdoc": "^50.4.3",
|
|
47
|
+
"eslint-plugin-perfectionist": "^3.9.1",
|
|
48
48
|
"eslint-plugin-prettier": "^5.2.1",
|
|
49
49
|
"eslint-plugin-regexp": "^2.6.0",
|
|
50
50
|
"eslint-plugin-sonarjs": "^2.0.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
55
55
|
"globals": "^15.11.0",
|
|
56
56
|
"typescript": "^5.6.3",
|
|
57
|
-
"typescript-eslint": "^8.
|
|
57
|
+
"typescript-eslint": "^8.10.0"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=18.18"
|
|
@@ -1,44 +1,18 @@
|
|
|
1
1
|
import { omit } from 'radash';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_PLUGINS = {
|
|
4
|
-
/** @see [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc) */
|
|
5
4
|
jsdoc: true,
|
|
6
|
-
|
|
7
|
-
/** @see [prettier-plugin-packagejson](https://github.com/matzkoh/prettier-plugin-packagejson) */
|
|
8
5
|
packagejson: true,
|
|
9
|
-
|
|
10
|
-
/** @see [plugin-pug](https://github.com/prettier/plugin-pug) */
|
|
11
6
|
pug: true,
|
|
12
|
-
|
|
13
|
-
/** @see [prettier-plugin-sh](https://github.com/astorije/prettier-plugin-sh) */
|
|
14
7
|
sh: true,
|
|
15
|
-
|
|
16
|
-
/** @see [prettier-plugin-solidity](https://github.com/prettier-solidity/prettier-plugin-solidity) */
|
|
17
8
|
solidity: true,
|
|
18
|
-
|
|
19
|
-
/** @see [prettier-plugin-sort-json](https://github.com/Gudahtt/prettier-plugin-sort-json) */
|
|
20
9
|
'sort-json': true,
|
|
21
|
-
|
|
22
|
-
/** @see [plugin-xml](https://github.com/prettier/plugin-xml) */
|
|
23
10
|
xml: true,
|
|
24
11
|
};
|
|
25
12
|
|
|
26
|
-
const OPTIONAL_PLUGINS = {
|
|
27
|
-
/** @see [plugin-php](https://github.com/prettier/plugin-php) */
|
|
28
|
-
php: false,
|
|
29
|
-
|
|
30
|
-
/** @see [plugin-ruby](https://github.com/prettier/plugin-ruby) */
|
|
31
|
-
ruby: false,
|
|
32
|
-
|
|
33
|
-
/** @see [prettier-plugin-sql](https://github.com/un-ts/prettier/tree/master/packages/sql) */
|
|
34
|
-
sql: false,
|
|
35
|
-
|
|
36
|
-
/** @see [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) */
|
|
37
|
-
svelte: false,
|
|
38
|
-
};
|
|
13
|
+
const OPTIONAL_PLUGINS = { php: false, ruby: false, sql: false };
|
|
39
14
|
|
|
40
15
|
const CODESTYLE_PLUGINS = {
|
|
41
|
-
/** @see [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) */
|
|
42
16
|
tailwindcss: false,
|
|
43
17
|
};
|
|
44
18
|
|
|
@@ -91,8 +65,12 @@ export const createConfig = async (plugins = {}, options = {}) => {
|
|
|
91
65
|
return {
|
|
92
66
|
endOfLine: 'lf',
|
|
93
67
|
|
|
94
|
-
overrides: [
|
|
95
|
-
|
|
68
|
+
overrides: [
|
|
69
|
+
...(pluginsConfig.overrides ?? []),
|
|
70
|
+
...(options.overrides ?? []),
|
|
71
|
+
],
|
|
72
|
+
|
|
73
|
+
plugins: [...(pluginsConfig.plugins ?? []), ...(options.plugins ?? [])],
|
|
96
74
|
|
|
97
75
|
proseWrap: 'always',
|
|
98
76
|
singleQuote: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-prettier",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "prettier config",
|
|
6
6
|
"keywords": [
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"prettier-plugin-solidity": "^1.4.1",
|
|
47
47
|
"prettier-plugin-sort-json": "^4.0.0",
|
|
48
48
|
"prettier-plugin-sql": "^0.18.1",
|
|
49
|
-
"prettier-plugin-svelte": "^3.2.7",
|
|
50
49
|
"prettier-plugin-tailwindcss": "^0.6.8",
|
|
51
50
|
"radash": "^12.1.0"
|
|
52
51
|
},
|
|
@@ -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/stylelint@16.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.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/stylelint@16.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.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/../../../../node_modules/.pnpm/stylelint@16.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.3/node_modules/stylelint/bin/stylelint.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/stylelint@16.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/stylelint@16.8.0_typescript@5.6.3/node_modules/stylelint/bin/stylelint.mjs" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "46.3.
|
|
3
|
+
"version": "46.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"postcss": "^8.4.47",
|
|
39
39
|
"postcss-html": "^1.7.0",
|
|
40
40
|
"prettier": "^3.3.3",
|
|
41
|
-
"stylelint": "^16.
|
|
41
|
+
"stylelint": "^16.8.0",
|
|
42
42
|
"stylelint-at-rule-no-children": "^0.3.1",
|
|
43
43
|
"stylelint-color-format": "^1.1.0",
|
|
44
44
|
"stylelint-config-recommended-vue": "^1.5.0",
|