@alexlit/lint-kit 134.0.0 → 134.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.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/packages/config-commitlint/node_modules/.bin/commitlint +4 -4
  3. package/packages/config-eslint/node_modules/.bin/eslint +2 -2
  4. package/packages/config-eslint/node_modules/.bin/eslint-config-prettier +2 -2
  5. package/packages/config-eslint/node_modules/.bin/tailwind +17 -0
  6. package/packages/config-eslint/node_modules/.bin/tailwindcss +17 -0
  7. package/packages/config-eslint/node_modules/.bin/tsc +2 -2
  8. package/packages/config-eslint/node_modules/.bin/tsserver +2 -2
  9. package/packages/config-eslint/package.json +4 -4
  10. package/packages/config-eslint/plugins/jsdoc.js +0 -3
  11. package/packages/config-eslint/plugins/perfectionist.js +8 -0
  12. package/packages/config-eslint/plugins/prettier.js +0 -1
  13. package/packages/config-eslint/plugins/tailwindcss.js +14 -1
  14. package/packages/config-eslint/plugins/vue-accessibility.js +0 -2
  15. package/packages/config-eslint/plugins/vue-i18n.js +0 -3
  16. package/packages/config-eslint/plugins/vue.js +0 -1
  17. package/packages/config-hooks/node_modules/.bin/lint-staged +4 -4
  18. package/packages/config-hooks/package.json +2 -2
  19. package/packages/config-htmllint/index.js +1 -4
  20. package/packages/config-markdownlint/package.json +2 -2
  21. package/packages/config-prettier/index.js +0 -3
  22. package/packages/config-prettier/package.json +3 -3
  23. package/packages/config-prettier/plugins/pug.js +0 -1
  24. package/packages/config-prettier/plugins/sort-json.js +0 -1
  25. package/packages/config-prettier/plugins/tailwindcss.js +10 -2
  26. package/packages/config-prettier/plugins/xml.js +0 -1
  27. package/packages/config-stylelint/index.js +0 -22
  28. package/packages/config-stylelint/plugins/a11y.js +0 -1
  29. package/packages/config-stylelint/plugins/color-format.js +0 -1
  30. package/packages/config-stylelint/plugins/declaration-block-no-ignored-properties.js +0 -1
  31. package/packages/config-stylelint/plugins/gamut.js +0 -1
  32. package/packages/config-stylelint/plugins/high-performance-animation.js +0 -1
  33. package/packages/config-stylelint/plugins/logical-css.js +0 -2
  34. package/packages/config-stylelint/plugins/no-indistinguishable-colors.js +0 -1
  35. package/packages/config-stylelint/plugins/no-nested-media.js +0 -1
  36. package/packages/config-stylelint/plugins/no-unresolved-module.js +0 -2
  37. package/packages/config-stylelint/plugins/no-unsupported-browser-features.js +0 -1
  38. package/packages/config-stylelint/plugins/order.js +0 -2
  39. package/packages/config-stylelint/plugins/prettier.js +0 -1
  40. package/packages/config-stylelint/plugins/scss.js +0 -4
  41. package/packages/config-stylelint/plugins/selector-no-empty.js +0 -1
  42. package/packages/config-stylelint/plugins/use-nesting.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "134.0.0",
3
+ "version": "134.1.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": [
@@ -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.6.1_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/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/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.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/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/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/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.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/../../../../node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.2_typescript@5.7.2/node_modules/@commitlint/cli/cli.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/@commitlint+cli@19.6.1_@types+node@22.10.5_typescript@5.7.2/node_modules/@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/eslint@9.17.0_jiti@2.4.2/node_modules/eslint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint@9.17.0_jiti@2.4.2/node_modules/eslint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint@9.17.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/../eslint/bin/eslint.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/eslint@9.17.0_jiti@2.4.2/node_modules/eslint/bin/eslint.js" "$@"
15
15
  else
16
- exec node "$basedir/../eslint/bin/eslint.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/eslint@9.17.0_jiti@2.4.2/node_modules/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@9.1.0_eslint@9.17.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@9.1.0_eslint@9.17.0_jiti@2.4.2_/node_modules/eslint-config-prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/eslint-config-prettier@9.1.0_eslint@9.17.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/../eslint-config-prettier/bin/cli.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/eslint-config-prettier@9.1.0_eslint@9.17.0_jiti@2.4.2_/node_modules/eslint-config-prettier/bin/cli.js" "$@"
15
15
  else
16
- exec node "$basedir/../eslint-config-prettier/bin/cli.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/eslint-config-prettier@9.1.0_eslint@9.17.0_jiti@2.4.2_/node_modules/eslint-config-prettier/bin/cli.js" "$@"
17
17
  fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/cli.js" "$@"
15
+ else
16
+ exec node "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/cli.js" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/tailwindcss@3.4.17/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/cli.js" "$@"
15
+ else
16
+ exec node "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/cli.js" "$@"
17
+ fi
@@ -11,7 +11,7 @@ else
11
11
  export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.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/../typescript/bin/tsc" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/bin/tsc" "$@"
15
15
  else
16
- exec node "$basedir/../typescript/bin/tsc" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.7.2/node_modules/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.2/node_modules/typescript/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/typescript@5.7.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/../typescript/bin/tsserver" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/bin/tsserver" "$@"
15
15
  else
16
- exec node "$basedir/../typescript/bin/tsserver" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/bin/tsserver" "$@"
17
17
  fi
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "100.0.0",
3
+ "version": "100.1.0",
4
4
  "private": false,
5
5
  "description": "Eslint config",
6
6
  "keywords": [
@@ -40,12 +40,12 @@
40
40
  "@eslint/js": "^9.17.0",
41
41
  "@intlify/eslint-plugin-vue-i18n": "^3.2.0",
42
42
  "@stylistic/eslint-plugin": "^2.12.1",
43
- "@tanstack/eslint-plugin-query": "^5.62.9",
43
+ "@tanstack/eslint-plugin-query": "^5.62.16",
44
44
  "@unocss/eslint-config": "^0.65.3",
45
45
  "eslint": "9.17.0",
46
46
  "eslint-config-prettier": "^9.1.0",
47
47
  "eslint-plugin-jsdoc": "^50.6.1",
48
- "eslint-plugin-perfectionist": "^4.4.0",
48
+ "eslint-plugin-perfectionist": "^4.6.0",
49
49
  "eslint-plugin-prettier": "^5.2.1",
50
50
  "eslint-plugin-regexp": "^2.7.0",
51
51
  "eslint-plugin-sonarjs": "^3.0.1",
@@ -56,7 +56,7 @@
56
56
  "eslint-plugin-vuejs-accessibility": "^2.4.1",
57
57
  "globals": "^15.14.0",
58
58
  "typescript": "^5.7.2",
59
- "typescript-eslint": "^8.18.2"
59
+ "typescript-eslint": "^8.19.1"
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=18.18"
@@ -7,12 +7,10 @@ export const jsdoc = [
7
7
  rules: {
8
8
  'jsdoc/lines-before-block': 'off',
9
9
  'jsdoc/no-undefined-types': 'off',
10
-
11
10
  'jsdoc/require-jsdoc': [
12
11
  'warn',
13
12
  {
14
13
  enableFixer: false,
15
-
16
14
  require: {
17
15
  ArrowFunctionExpression: false,
18
16
  ClassDeclaration: false,
@@ -23,7 +21,6 @@ export const jsdoc = [
23
21
  },
24
22
  },
25
23
  ],
26
-
27
24
  'jsdoc/require-param-description': 'off',
28
25
  'jsdoc/require-param-type': 'off',
29
26
  'jsdoc/require-returns': 'off',
@@ -11,6 +11,13 @@ export const perfectionist = [
11
11
  internalPattern: ['^#.*', '^~/.*', '^~~/.*', '^@/.*', '^@@/.*'],
12
12
  },
13
13
  ],
14
+ 'perfectionist/sort-object-types': [
15
+ 'warn',
16
+ {
17
+ newlinesBetween: 'always',
18
+ partitionByComment: true,
19
+ },
20
+ ],
14
21
  'perfectionist/sort-objects': [
15
22
  'warn',
16
23
  {
@@ -21,6 +28,7 @@ export const perfectionist = [
21
28
  'plugins',
22
29
  'screens',
23
30
  ],
31
+ newlinesBetween: 'always',
24
32
  partitionByComment: true,
25
33
  type: 'natural',
26
34
  },
@@ -11,7 +11,6 @@ const fixes = {
11
11
  normal: 'never',
12
12
  void: 'always',
13
13
  },
14
-
15
14
  math: 'always',
16
15
  svg: 'always',
17
16
  },
@@ -7,8 +7,21 @@ export const tailwindcss = [
7
7
  {
8
8
  rules: {
9
9
  'tailwindcss/no-custom-classname': 'off',
10
-
11
10
  'vue/static-class-names-order': 'off',
12
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
+ },
13
26
  },
14
27
  ];
@@ -10,13 +10,11 @@ export const vueAccessibility = [
10
10
  'warn',
11
11
  {
12
12
  allowChildren: true,
13
-
14
13
  required: {
15
14
  some: ['nesting', 'id'],
16
15
  },
17
16
  },
18
17
  ],
19
-
20
18
  'vuejs-accessibility/no-autofocus': ['warn', { ignoreNonDOM: true }],
21
19
  },
22
20
  },
@@ -13,20 +13,17 @@ export const vueI18n = [
13
13
  allowArray: false,
14
14
  },
15
15
  ],
16
-
17
16
  '@intlify/vue-i18n/no-duplicate-keys-in-locale': [
18
17
  'error',
19
18
  {
20
19
  ignoreI18nBlock: false,
21
20
  },
22
21
  ],
23
-
24
22
  '@intlify/vue-i18n/no-dynamic-keys': 'warn',
25
23
  '@intlify/vue-i18n/no-raw-text': 'off',
26
24
  '@intlify/vue-i18n/no-unused-keys': 'warn',
27
25
  '@intlify/vue-i18n/prefer-sfc-lang-attr': 'error',
28
26
  },
29
-
30
27
  settings: {
31
28
  'vue-i18n': {
32
29
  localeDir: './**/locales/*.{json,json5,yaml,yml}',
@@ -56,7 +56,6 @@ export const vue = [
56
56
  normal: 'never',
57
57
  void: 'always',
58
58
  },
59
-
60
59
  math: 'always',
61
60
  svg: 'always',
62
61
  },
@@ -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/lint-staged@15.2.11/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/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/lint-staged@15.3.0/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.3.0/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.3.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/lint-staged@15.2.11/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.2.11/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/lint-staged@15.3.0/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.3.0/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.3.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/lint-staged@15.2.11/node_modules/lint-staged/bin/lint-staged.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/lint-staged@15.3.0/node_modules/lint-staged/bin/lint-staged.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../node_modules/.pnpm/lint-staged@15.2.11/node_modules/lint-staged/bin/lint-staged.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/lint-staged@15.3.0/node_modules/lint-staged/bin/lint-staged.js" "$@"
17
17
  fi
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-hooks",
3
- "version": "4.2.9",
3
+ "version": "4.3.0",
4
4
  "private": false,
5
5
  "description": "Hooks config",
6
6
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "husky": "^9.1.7",
38
- "lint-staged": "^15.2.11"
38
+ "lint-staged": "^15.3.0"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=18.18"
@@ -13,16 +13,13 @@ export const createConfig = (options = {}) => ({
13
13
  'raw-ignore-regex': false,
14
14
  'spec-char-escape': false,
15
15
  'text-ignore-regex': false,
16
-
17
16
  ...options,
18
-
19
17
  extends: [
20
18
  '@linthtml/linthtml-config-recommended',
19
+
21
20
  ...(options.extends ?? []),
22
21
  ],
23
-
24
22
  ignoreFiles: [...(options.rules ?? [])],
25
-
26
23
  rules: {
27
24
  'attr-order': [true, ['id', 'class']],
28
25
  'attr-quote-style': [true, 'double'],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-markdownlint",
3
- "version": "2.14.3",
3
+ "version": "2.14.4",
4
4
  "private": false,
5
5
  "description": "markdownlint config",
6
6
  "keywords": [
@@ -33,7 +33,7 @@
33
33
  "up": "../../scripts/up.sh"
34
34
  },
35
35
  "dependencies": {
36
- "markdownlint": "^0.37.2",
36
+ "markdownlint": "^0.37.3",
37
37
  "markdownlint-cli": "^0.43.0"
38
38
  },
39
39
  "engines": {
@@ -64,14 +64,11 @@ export const createConfig = async (plugins = {}, options = {}) => {
64
64
 
65
65
  return {
66
66
  endOfLine: 'lf',
67
-
68
67
  overrides: [
69
68
  ...(pluginsConfig.overrides ?? []),
70
69
  ...(options.overrides ?? []),
71
70
  ],
72
-
73
71
  plugins: [...(pluginsConfig.plugins ?? []), ...(options.plugins ?? [])],
74
-
75
72
  proseWrap: 'always',
76
73
  singleQuote: true,
77
74
  tabWidth: 2,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-prettier",
3
- "version": "20.1.1",
3
+ "version": "20.1.3",
4
4
  "private": false,
5
5
  "description": "prettier config",
6
6
  "keywords": [
@@ -40,10 +40,10 @@
40
40
  "@prettier/plugin-xml": "^3.4.1",
41
41
  "prettier": "^3.4.2",
42
42
  "prettier-plugin-eruby": "^0.0.3",
43
- "prettier-plugin-jsdoc": "^1.3.0",
43
+ "prettier-plugin-jsdoc": "^1.3.2",
44
44
  "prettier-plugin-packagejson": "^2.5.6",
45
45
  "prettier-plugin-sh": "^0.14.0",
46
- "prettier-plugin-solidity": "^1.4.1",
46
+ "prettier-plugin-solidity": "^1.4.2",
47
47
  "prettier-plugin-sort-json": "^4.0.0",
48
48
  "prettier-plugin-sql": "^0.18.1",
49
49
  "prettier-plugin-tailwindcss": "^0.6.9",
@@ -1,7 +1,6 @@
1
1
  /** @see [plugin-pug](https://github.com/prettier/plugin-pug) */
2
2
  export default {
3
3
  plugins: ['@prettier/plugin-pug'],
4
-
5
4
  pugCommentPreserveSpaces: 'trim-all',
6
5
  pugSingleQuote: false,
7
6
  pugSortAttributes: 'asc',
@@ -1,6 +1,5 @@
1
1
  /** @see [prettier-plugin-sort-json](https://github.com/Gudahtt/prettier-plugin-sort-json) */
2
2
  export default {
3
3
  jsonRecursiveSort: true,
4
-
5
4
  plugins: ['prettier-plugin-sort-json'],
6
5
  };
@@ -1,6 +1,14 @@
1
1
  /** @see [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) */
2
2
  export default {
3
3
  plugins: ['prettier-plugin-tailwindcss'],
4
-
5
- tailwindFunctions: ['tw'],
4
+ tailwindFunctions: [
5
+ 'classnames',
6
+ 'clsx',
7
+ 'cn',
8
+ 'ctl',
9
+ 'cva',
10
+ 'tv',
11
+ 'tw',
12
+ 'twMerge',
13
+ ],
6
14
  };
@@ -1,6 +1,5 @@
1
1
  /** @see [plugin-xml](https://github.com/prettier/plugin-xml) */
2
2
  export default {
3
3
  plugins: ['@prettier/plugin-xml'],
4
-
5
4
  xmlWhitespaceSensitivity: 'ignore',
6
5
  };
@@ -64,7 +64,6 @@ const createConfig = (plugins = {}, options = {}) => ({
64
64
 
65
65
  ...(options.extends ?? []),
66
66
  ],
67
-
68
67
  ignoreFiles: [
69
68
  '.*/**',
70
69
  'build/**',
@@ -75,14 +74,11 @@ const createConfig = (plugins = {}, options = {}) => ({
75
74
 
76
75
  ...(options.ignoreFiles ?? []),
77
76
  ],
78
-
79
77
  plugins: options.plugins ?? [],
80
-
81
78
  rules: {
82
79
  'alpha-value-notation': 'number',
83
80
  'annotation-no-unknown': [true, { ignoreAnnotations: ['default'] }],
84
81
  'at-rule-disallowed-list': ['debug'],
85
-
86
82
  'at-rule-empty-line-before': [
87
83
  'always',
88
84
  {
@@ -90,7 +86,6 @@ const createConfig = (plugins = {}, options = {}) => ({
90
86
  ignoreAtRules: ['else'],
91
87
  },
92
88
  ],
93
-
94
89
  'at-rule-no-unknown': null,
95
90
  'at-rule-no-vendor-prefix': true,
96
91
  'block-no-empty': null,
@@ -98,17 +93,14 @@ const createConfig = (plugins = {}, options = {}) => ({
98
93
  'color-hex-length': 'short',
99
94
  'color-no-hex': true,
100
95
  'color-no-invalid-hex': true,
101
-
102
96
  'custom-property-empty-line-before': [
103
97
  'always',
104
98
  {
105
99
  except: ['after-comment', 'after-custom-property', 'first-nested'],
106
100
  },
107
101
  ],
108
-
109
102
  'custom-property-pattern': '^_?[a-z]+([a-z0-9-]+[a-z0-9]+)?$',
110
103
  'declaration-block-no-redundant-longhand-properties': null,
111
-
112
104
  'declaration-property-value-no-unknown': [
113
105
  true,
114
106
  {
@@ -117,32 +109,27 @@ const createConfig = (plugins = {}, options = {}) => ({
117
109
  },
118
110
  },
119
111
  ],
120
-
121
112
  'font-family-name-quotes': 'always-unless-keyword',
122
113
  'function-no-unknown': null, // delegate to scss/function-no-unknown
123
114
  'function-url-quotes': 'always',
124
115
  'function-url-scheme-disallowed-list': ['/^data/', 'ftp', '/^http/'],
125
116
  'hue-degree-notation': 'angle',
126
117
  'keyframes-name-pattern': '^[a-z]+(-[a-z]+)*$',
127
-
128
118
  'max-nesting-depth': [
129
119
  6,
130
120
  {
131
121
  ignoreAtRules: ['each', 'media', 'supports', 'include'],
132
122
  },
133
123
  ],
134
-
135
124
  'media-feature-name-no-unknown': [
136
125
  true,
137
126
  { ignoreMediaFeatureNames: ['screen'] },
138
127
  ],
139
-
140
128
  'media-feature-name-no-vendor-prefix': true,
141
129
  'no-descending-specificity': null,
142
130
  'no-empty-source': null,
143
131
  'no-unknown-animations': true,
144
132
  'number-max-precision': 3,
145
-
146
133
  'property-no-unknown': [
147
134
  true,
148
135
  {
@@ -153,9 +140,7 @@ const createConfig = (plugins = {}, options = {}) => ({
153
140
  ],
154
141
  },
155
142
  ],
156
-
157
143
  'property-no-vendor-prefix': true,
158
-
159
144
  'rule-empty-line-before': [
160
145
  'always',
161
146
  {
@@ -163,7 +148,6 @@ const createConfig = (plugins = {}, options = {}) => ({
163
148
  ignore: [],
164
149
  },
165
150
  ],
166
-
167
151
  'selector-class-pattern': [
168
152
  '^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$',
169
153
  {
@@ -171,30 +155,24 @@ const createConfig = (plugins = {}, options = {}) => ({
171
155
  'Selector should be written as BEM "block__element--modifier--value" (selector-class-pattern)',
172
156
  },
173
157
  ],
174
-
175
158
  'selector-combinator-disallowed-list': ['>>>', '/deep/'],
176
-
177
159
  'selector-max-compound-selectors': 6,
178
160
  'selector-max-id': 0,
179
161
  'selector-no-qualifying-type': null,
180
162
  'selector-no-vendor-prefix': true,
181
163
  'selector-pseudo-element-disallowed-list': ['shadow'],
182
-
183
164
  'selector-pseudo-element-no-unknown': [
184
165
  true,
185
166
  { ignorePseudoElements: ['v-deep', 'file-selector-button'] },
186
167
  ],
187
-
188
168
  'selector-type-no-unknown': [true, { ignoreTypes: ['ymaps'] }],
189
169
  'shorthand-property-no-redundant-values': true,
190
170
  'string-no-newline': null,
191
171
  'time-min-milliseconds': 16,
192
-
193
172
  'value-keyword-case': [
194
173
  'lower',
195
174
  { camelCaseSvgKeywords: true, ignoreFunctions: ['v-bind'] },
196
175
  ],
197
-
198
176
  'value-no-vendor-prefix': true,
199
177
 
200
178
  ...options.rules,
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-a11y](https://github.com/double-great/stylelint-a11y) */
2
2
  export default {
3
3
  plugins: ['@double-great/stylelint-a11y'],
4
-
5
4
  rules: {
6
5
  'a11y/media-prefers-reduced-motion': true,
7
6
  'a11y/no-obsolete-element': true,
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-color-format](https://github.com/filipekiss/stylelint-color-format) */
2
2
  export default {
3
3
  plugins: ['stylelint-color-format'],
4
-
5
4
  rules: {
6
5
  'color-format/format': {
7
6
  format: 'rgb',
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-declaration-block-no-ignored-properties](https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties) */
2
2
  export default {
3
3
  plugins: ['stylelint-declaration-block-no-ignored-properties'],
4
-
5
4
  rules: {
6
5
  'plugin/declaration-block-no-ignored-properties': true,
7
6
  },
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-gamut](https://github.com/fpetrakov/stylelint-gamut) */
2
2
  export default {
3
3
  plugins: ['stylelint-gamut'],
4
-
5
4
  rules: {
6
5
  'gamut/color-no-out-gamut-range': true,
7
6
  },
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-high-performance-animation](https://github.com/kristerkari/stylelint-high-performance-animation) */
2
2
  export default {
3
3
  plugins: ['stylelint-high-performance-animation'],
4
-
5
4
  rules: {
6
5
  'plugin/no-low-performance-animation-properties': [
7
6
  true,
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-plugin-logical-css](https://github.com/yuschick/stylelint-plugin-logical-css) */
2
2
  export default {
3
3
  plugins: ['stylelint-plugin-logical-css'],
4
-
5
4
  rules: {
6
5
  'plugin/use-logical-properties-and-values': [
7
6
  true,
@@ -10,7 +9,6 @@ export default {
10
9
  severity: 'warning',
11
10
  },
12
11
  ],
13
-
14
12
  'plugin/use-logical-units': [true, { severity: 'warning' }],
15
13
  },
16
14
  };
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-no-indistinguishable-colors](https://github.com/ierhyna/stylelint-no-indistinguishable-colors) */
2
2
  export default {
3
3
  plugins: ['stylelint-no-indistinguishable-colors'],
4
-
5
4
  rules: {
6
5
  'plugin/stylelint-no-indistinguishable-colors': true,
7
6
  },
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-no-nested-media](https://github.com/dkrnl/stylelint-no-nested-media) */
2
2
  export default {
3
3
  plugins: ['stylelint-no-nested-media'],
4
-
5
4
  rules: {
6
5
  'pitcher/no-nested-media': true,
7
6
  },
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-no-unresolved-module](https://github.com/niksy/stylelint-no-unresolved-module) */
2
2
  export default {
3
3
  plugins: ['stylelint-no-unresolved-module'],
4
-
5
4
  rules: {
6
5
  'plugin/no-unresolved-module': {
7
6
  alias: {
@@ -9,7 +8,6 @@ export default {
9
8
  '~public': 'public',
10
9
  '~static': 'static',
11
10
  },
12
-
13
11
  modules: [
14
12
  'assets',
15
13
  'node_modules',
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-no-unsupported-browser-features](https://github.com/ismay/stylelint-no-unsupported-browser-features) */
2
2
  export default {
3
3
  plugins: ['stylelint-no-unsupported-browser-features'],
4
-
5
4
  rules: {
6
5
  'plugin/no-unsupported-browser-features': [
7
6
  true,
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-order](https://github.com/hudochenkov/stylelint-order) */
2
2
  export default {
3
3
  plugins: ['stylelint-order'],
4
-
5
4
  rules: {
6
5
  'order/order': [
7
6
  // SASS variables
@@ -480,7 +479,6 @@ export default {
480
479
  { selector: /__z/, type: 'rule' },
481
480
  { selector: /__/, type: 'rule' },
482
481
  ],
483
-
484
482
  'order/properties-alphabetical-order': true,
485
483
  },
486
484
  };
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-prettier](https://github.com/prettier/stylelint-prettier) */
2
2
  export default {
3
3
  plugins: ['stylelint-prettier'],
4
-
5
4
  rules: {
6
5
  'prettier/prettier': true,
7
6
  },
@@ -5,9 +5,7 @@ const KEBAB_CASE_PATTERN = '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$';
5
5
  /** @see [stylelint-scss](https://github.com/kristerkari/stylelint-scss) */
6
6
  export default {
7
7
  extends: ['stylelint-config-standard-scss'],
8
-
9
8
  plugins: ['stylelint-scss'],
10
-
11
9
  rules: {
12
10
  'scss/at-each-key-value-single-line': true,
13
11
  'scss/at-else-if-parentheses-space-before': 'always',
@@ -55,7 +53,6 @@ export default {
55
53
  ignore: ['comments', 'imports'],
56
54
  },
57
55
  ],
58
-
59
56
  'scss/dollar-variable-no-missing-interpolation': true,
60
57
  'scss/dollar-variable-no-namespaced-assignment': true,
61
58
  'scss/dollar-variable-pattern': KEBAB_CASE_PATTERN,
@@ -86,7 +83,6 @@ export default {
86
83
  'scss/operator-no-unspaced': true,
87
84
  'scss/percent-placeholder-pattern': KEBAB_CASE_PATTERN,
88
85
  'scss/selector-nest-combinators': 'always',
89
-
90
86
  'scss/selector-no-redundant-nesting-selector': [
91
87
  true,
92
88
  { ignoreKeywords: [] },
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-selector-no-empty](https://github.com/ssivanatarajan/stylelint-selector-no-empty) */
2
2
  export default {
3
3
  plugins: ['stylelint-selector-no-empty'],
4
-
5
4
  rules: {
6
5
  'plugin/stylelint-selector-no-empty': true,
7
6
  },
@@ -1,7 +1,6 @@
1
1
  /** @see [stylelint-use-nesting](https://github.com/csstools/stylelint-use-nesting) */
2
2
  export default {
3
3
  plugins: ['stylelint-use-nesting'],
4
-
5
4
  rules: {
6
5
  'csstools/use-nesting': ['always', { except: [], syntax: 'scss' }],
7
6
  },