@alexlit/lint-kit 143.1.0 → 143.2.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 +2 -2
- package/packages/config-commitlint/node_modules/.bin/conventional-changelog +2 -2
- package/packages/config-eslint/node_modules/.bin/acorn +4 -4
- package/packages/config-eslint/package.json +4 -4
- package/packages/config-eslint/presets/_base.js +1 -6
- package/packages/config-hooks/lint-staged.js +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/stylelint +2 -2
- package/packages/config-stylelint/package.json +3 -3
- package/packages/config-stylelint/plugins/a11y.js +2 -1
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.0_@types+node@22.13.10_typescript@5.8.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.0_@types+node@22.13.10_typescript@5.8.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.0_@types+node@22.13.10_typescript@5.8.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/../@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
|
|
@@ -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.14.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/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.14.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/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.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/acorn" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.14.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/acorn" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "107.0
|
|
3
|
+
"version": "107.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Sharable ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@eslint/js": "^9.22.0",
|
|
43
|
-
"@eslint/json": "^0.
|
|
43
|
+
"@eslint/json": "^0.11.0",
|
|
44
44
|
"@intlify/eslint-plugin-vue-i18n": "^4.0.0",
|
|
45
45
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
46
|
-
"@tanstack/eslint-plugin-query": "^5.
|
|
46
|
+
"@tanstack/eslint-plugin-query": "^5.68.0",
|
|
47
47
|
"@unocss/eslint-config": "^66.0.0",
|
|
48
48
|
"eslint": "9.22.0",
|
|
49
49
|
"eslint-config-prettier": "^10.1.1",
|
|
50
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
50
|
+
"eslint-plugin-jsdoc": "^50.6.8",
|
|
51
51
|
"eslint-plugin-perfectionist": "^4.10.1",
|
|
52
52
|
"eslint-plugin-prettier": "^5.2.3",
|
|
53
53
|
"eslint-plugin-regexp": "^2.7.0",
|
|
@@ -4,12 +4,7 @@ export const FILES = ['**/*.{js,mjs,cjs,jsx,ts,tsx,vue}'];
|
|
|
4
4
|
|
|
5
5
|
/** Base config */
|
|
6
6
|
export const _base = [
|
|
7
|
-
{
|
|
8
|
-
files: FILES,
|
|
9
|
-
languageOptions: {
|
|
10
|
-
globals: globals.browser,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
7
|
+
{ files: FILES, languageOptions: { globals: globals.browser } },
|
|
13
8
|
{
|
|
14
9
|
ignores: [
|
|
15
10
|
'**/.temp',
|
|
@@ -74,7 +74,7 @@ const createLintStagedConfig = (plugins = {}, config = {}) => {
|
|
|
74
74
|
'*.tsx': [eslint, prettier],
|
|
75
75
|
'*.vue': [eslint, stylelint, prettier],
|
|
76
76
|
'*.xml': [prettier],
|
|
77
|
-
'*.yaml': [prettier],
|
|
77
|
+
'*.yaml,!pnpm-lock.yaml,!yarn-lock.yaml': [prettier],
|
|
78
78
|
'*.yml': [prettier],
|
|
79
79
|
'package-lock.json': [lockfilelint],
|
|
80
80
|
'package.json': [npmlint],
|
|
@@ -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.8.2/node_modules/@linthtml/linthtml/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.2/node_modules/@linthtml/linthtml/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.2/node_modules/@linthtml/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.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/../@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.8.2/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.2/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.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/../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.8.2/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.8.2/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.8.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/../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.5.3/node_modules/prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules/prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.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/../prettier/bin/prettier.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -6,9 +6,9 @@ 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.16.0_typescript@5.8.2/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.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/stylelint@16.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.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
14
|
exec "$basedir/node" "$basedir/../stylelint/bin/stylelint.mjs" "$@"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "50.
|
|
3
|
+
"version": "50.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"postcss": "^8.5.3",
|
|
41
41
|
"postcss-html": "^1.8.0",
|
|
42
42
|
"prettier": "^3.5.3",
|
|
43
|
-
"stylelint": "16.
|
|
43
|
+
"stylelint": "16.16.0",
|
|
44
44
|
"stylelint-color-format": "^1.1.0",
|
|
45
45
|
"stylelint-config-recommended-vue": "^1.6.0",
|
|
46
46
|
"stylelint-config-standard": "^37.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"stylelint-high-performance-animation": "^1.11.0",
|
|
51
51
|
"stylelint-media-use-custom-media": "^4.0.0",
|
|
52
52
|
"stylelint-no-browser-hacks": "^1.3.0",
|
|
53
|
-
"stylelint-no-indistinguishable-colors": "^2.3.
|
|
53
|
+
"stylelint-no-indistinguishable-colors": "^2.3.1",
|
|
54
54
|
"stylelint-no-nested-media": "^0.1.0",
|
|
55
55
|
"stylelint-no-unresolved-module": "^2.3.0",
|
|
56
56
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
export default {
|
|
3
3
|
plugins: ['@double-great/stylelint-a11y'],
|
|
4
4
|
rules: {
|
|
5
|
-
'a11y/media-prefers-reduced-motion':
|
|
5
|
+
'a11y/media-prefers-reduced-motion': false,
|
|
6
|
+
'a11y/no-obsolete-attribute': true,
|
|
6
7
|
'a11y/no-obsolete-element': true,
|
|
7
8
|
'a11y/no-outline-none': true,
|
|
8
9
|
'a11y/no-text-align-justify': true,
|