@alexlit/lint-kit 146.2.0 → 147.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/lint-kit",
3
- "version": "146.2.0",
3
+ "version": "147.0.0",
4
4
  "private": false,
5
5
  "description": "Preset of configuration files and dependencies for linting web applications (designed for Vue.js with TypeScript)",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "108.9.2",
3
+ "version": "109.0.1",
4
4
  "private": false,
5
5
  "description": "Sharable ESLint configuration",
6
6
  "keywords": [
@@ -43,17 +43,17 @@
43
43
  "@eslint/json": "^0.12.0",
44
44
  "@intlify/eslint-plugin-vue-i18n": "^4.0.1",
45
45
  "@stylistic/eslint-plugin": "^4.2.0",
46
- "@tanstack/eslint-plugin-query": "^5.72.2",
46
+ "@tanstack/eslint-plugin-query": "^5.74.7",
47
47
  "@unocss/eslint-config": "^66.0.0",
48
48
  "eslint": "9.25.1",
49
49
  "eslint-config-prettier": "^10.1.2",
50
- "eslint-plugin-jsdoc": "^50.6.10",
51
- "eslint-plugin-perfectionist": "^4.12.2",
50
+ "eslint-plugin-jsdoc": "^50.6.11",
51
+ "eslint-plugin-perfectionist": "^4.12.3",
52
52
  "eslint-plugin-prettier": "^5.2.6",
53
53
  "eslint-plugin-regexp": "^2.7.0",
54
54
  "eslint-plugin-sonarjs": "^3.0.2",
55
55
  "eslint-plugin-tailwindcss": "^3.18.0",
56
- "eslint-plugin-unicorn": "^58.0.0",
56
+ "eslint-plugin-unicorn": "^59.0.0",
57
57
  "eslint-plugin-vitest": "^0.5.4",
58
58
  "eslint-plugin-vue": "^10.0.0",
59
59
  "eslint-plugin-vuejs-accessibility": "^2.4.1",
@@ -4,15 +4,11 @@ import { FILES } from '../presets/_base.js';
4
4
 
5
5
  /** @see [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) */
6
6
  export const unicorn = [
7
- {
8
- files: FILES,
9
- ...plugin.configs['flat/all'],
10
- },
7
+ { files: FILES, ...plugin.configs['flat/all'] },
11
8
  {
12
9
  files: FILES,
13
10
  rules: {
14
11
  'unicorn/better-regex': 'off',
15
- 'unicorn/consistent-destructuring': 'warn',
16
12
  'unicorn/consistent-function-scoping': [
17
13
  'error',
18
14
  { checkArrowFunctions: false },
@@ -21,8 +17,9 @@ export const unicorn = [
21
17
  'unicorn/no-array-reduce': ['error', { allowSimpleOperations: true }],
22
18
  'unicorn/no-empty-file': 'off',
23
19
  'unicorn/prefer-export-from': ['error', { ignoreUsedVariables: true }],
24
- 'unicorn/prefer-module': 'off',
25
- 'unicorn/prefer-node-protocol': 'off',
20
+ 'unicorn/prefer-import-meta-properties': 'warn',
21
+ 'unicorn/prefer-module': 'warn',
22
+ 'unicorn/prefer-node-protocol': 'warn',
26
23
  'unicorn/prevent-abbreviations': [
27
24
  'warn',
28
25
  {
@@ -51,16 +48,6 @@ export const unicorn = [
51
48
  ],
52
49
  },
53
50
  },
54
- {
55
- files: ['.*'],
56
- rules: {
57
- 'unicorn/no-null': 'off',
58
- },
59
- },
60
- {
61
- files: ['*.d.ts'],
62
- rules: {
63
- 'unicorn/prefer-export-from': 'off',
64
- },
65
- },
51
+ { files: ['.*'], rules: { 'unicorn/no-null': 'off' } },
52
+ { files: ['*.d.ts'], rules: { 'unicorn/prefer-export-from': 'off' } },
66
53
  ];
@@ -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/lockfile-lint@4.14.0_typescript@5.8.3/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.3/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.1_typescript@5.8.3/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.1_typescript@5.8.3/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.1_typescript@5.8.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/lockfile-lint@4.14.0_typescript@5.8.3/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.3/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.1_typescript@5.8.3/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.1_typescript@5.8.3/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.1_typescript@5.8.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
14
  exec "$basedir/node" "$basedir/../lockfile-lint/bin/lockfile-lint.js" "$@"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-npmlint",
3
- "version": "6.1.2",
3
+ "version": "6.1.3",
4
4
  "private": false,
5
5
  "description": "npmlint config",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-prettier",
3
- "version": "20.8.2",
3
+ "version": "20.8.3",
4
4
  "private": false,
5
5
  "description": "prettier config",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "prettier-plugin-jsdoc": "^1.3.2",
45
45
  "prettier-plugin-packagejson": "^2.5.10",
46
46
  "prettier-plugin-sh": "^0.17.2",
47
- "prettier-plugin-solidity": "^1.4.2",
47
+ "prettier-plugin-solidity": "^1.4.3",
48
48
  "prettier-plugin-sort-json": "^4.1.1",
49
49
  "prettier-plugin-sql": "^0.19.0",
50
50
  "prettier-plugin-tailwindcss": "^0.6.11",
@@ -2,7 +2,11 @@
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
3
 
4
4
  case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
6
10
  esac
7
11
 
8
12
  if [ -z "$NODE_PATH" ]; then
@@ -2,13 +2,17 @@
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
3
 
4
4
  case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
6
10
  esac
7
11
 
8
12
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.0_typescript@5.8.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.0_typescript@5.8.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.0_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.1_typescript@5.8.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.1_typescript@5.8.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.1_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
10
14
  else
11
- export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.0_typescript@5.8.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.0_typescript@5.8.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.0_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.1_typescript@5.8.3/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.1_typescript@5.8.3/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.19.1_typescript@5.8.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
12
16
  fi
13
17
  if [ -x "$basedir/node" ]; then
14
18
  exec "$basedir/node" "$basedir/../stylelint/bin/stylelint.mjs" "$@"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-stylelint",
3
- "version": "52.1.0",
3
+ "version": "52.2.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.19.0",
43
+ "stylelint": "16.19.1",
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",