@alexlit/lint-kit 205.0.0 → 206.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": "205.0.0",
3
+ "version": "206.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": "154.9.4",
3
+ "version": "155.0.1",
4
4
  "private": false,
5
5
  "description": "Sharable ESLint configuration",
6
6
  "keywords": [
@@ -43,23 +43,23 @@
43
43
  "@eslint/json": "^2.1.0",
44
44
  "@intlify/eslint-plugin-vue-i18n": "^4.5.1",
45
45
  "@stylistic/eslint-plugin": "^5.10.0",
46
- "@tanstack/eslint-plugin-query": "^5.102.8",
47
- "@unocss/eslint-config": "^66.10.2",
46
+ "@tanstack/eslint-plugin-query": "^5.103.0",
47
+ "@unocss/eslint-config": "^66.10.5",
48
48
  "@vitest/eslint-plugin": "^1.6.27",
49
49
  "eslint": "^10.10.0",
50
50
  "eslint-config-prettier": "^10.1.8",
51
51
  "eslint-plugin-de-morgan": "^2.1.3",
52
- "eslint-plugin-jsdoc": "^64.3.10",
53
- "eslint-plugin-perfectionist": "^5.11.0",
52
+ "eslint-plugin-jsdoc": "^64.5.1",
53
+ "eslint-plugin-perfectionist": "^5.11.1",
54
54
  "eslint-plugin-pinia": "^0.4.2",
55
55
  "eslint-plugin-prettier": "^5.5.6",
56
56
  "eslint-plugin-regexp": "^3.3.0",
57
- "eslint-plugin-sonarjs": "^4.2.0",
57
+ "eslint-plugin-sonarjs": "^4.2.1",
58
58
  "eslint-plugin-tailwindcss": "^4.4.0",
59
- "eslint-plugin-unicorn": "^74.0.0",
59
+ "eslint-plugin-unicorn": "^75.0.0",
60
60
  "eslint-plugin-vue": "^10.11.0",
61
61
  "eslint-plugin-vuejs-accessibility": "^2.6.0",
62
- "eslint-plugin-zod": "^4.12.1",
62
+ "eslint-plugin-zod": "^4.13.1",
63
63
  "globals": "^17.12.0",
64
64
  "jsonc-eslint-parser": "^3.3.0",
65
65
  "typescript": "^6.0.3",
@@ -32,10 +32,12 @@ export const unicorn = defineConfig([
32
32
  'unicorn/prefer-https': 'off', // SVG need HTTP
33
33
  'unicorn/prefer-import-meta-properties': 'warn',
34
34
  'unicorn/prefer-iterator-concat': 'off', // ES2026 only
35
+ 'unicorn/prefer-json-import': 'warn',
35
36
  'unicorn/prefer-module': 'warn',
36
37
  'unicorn/prefer-node-protocol': 'warn',
37
38
  'unicorn/prefer-temporal': 'off', // ES2026 only
38
39
  'unicorn/prefer-type-literal-last': 'off', // perfectionist/sort-intersection-types
40
+ 'unicorn/prefer-uint8array-hex': 'warn',
39
41
  'unicorn/relative-url-style': ['error', 'always'],
40
42
  'unicorn/single-line-block-comment-style': 'off',
41
43
  },
@@ -67,11 +67,27 @@ export const vue = defineConfig([
67
67
  {
68
68
  defineExposeLast: true,
69
69
  order: [
70
- 'defineOptions',
71
- 'defineModel',
70
+ 'definePageMeta', // nuxt
71
+
72
72
  'defineProps',
73
+ 'defineModel',
73
74
  'defineEmits',
75
+ 'defineOptions',
74
76
  'defineSlots',
77
+
78
+ // nuxt (can use props)
79
+ 'createUseAsyncData',
80
+ 'createUseFetch',
81
+
82
+ 'onPrehydrate',
83
+ // /nuxt (can use props)
84
+
85
+ // nuxi-ui
86
+ 'defineLocale',
87
+ 'defineShortcuts',
88
+ 'extendLocale',
89
+ 'extractShortcuts',
90
+ // /nuxi-ui
75
91
  ],
76
92
  },
77
93
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-prettier",
3
- "version": "23.0.0",
3
+ "version": "23.0.1",
4
4
  "private": false,
5
5
  "description": "prettier config",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "@prettier/plugin-pug": "^3.4.2",
40
40
  "@prettier/plugin-ruby": "^4.0.4",
41
41
  "@prettier/plugin-xml": "^3.4.2",
42
- "prettier": "^3.9.6",
42
+ "prettier": "^3.9.7",
43
43
  "prettier-plugin-eruby": "^0.0.3",
44
44
  "prettier-plugin-jsdoc": "^1.8.1",
45
45
  "prettier-plugin-mdc": "^0.2.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-stylelint",
3
- "version": "61.2.2",
3
+ "version": "61.3.1",
4
4
  "private": false,
5
5
  "description": "Stylelint config",
6
6
  "keywords": [
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@double-great/stylelint-a11y": "^3.5.4",
40
- "@morev/stylelint-plugin": "^0.6.1",
40
+ "@morev/stylelint-plugin": "^0.7.0",
41
41
  "postcss": "^8.5.28",
42
42
  "postcss-html": "^2.0.0",
43
- "prettier": "^3.9.6",
43
+ "prettier": "^3.9.7",
44
44
  "stylelint": "17.15.0",
45
45
  "stylelint-config-html": "^2.0.0",
46
46
  "stylelint-config-recommended-vue": "^2.0.0",
@@ -52,12 +52,12 @@
52
52
  "stylelint-media-use-custom-media": "^4.1.0",
53
53
  "stylelint-no-indistinguishable-colors": "^2.3.1",
54
54
  "stylelint-no-nested-media": "^0.1.0",
55
- "stylelint-no-unresolved-module": "^2.5.2",
55
+ "stylelint-no-unresolved-module": "^2.6.0",
56
56
  "stylelint-no-unsupported-browser-features": "^8.1.2",
57
57
  "stylelint-order": "^8.1.1",
58
58
  "stylelint-plugin-logical-css": "^2.1.0",
59
59
  "stylelint-prettier": "^5.0.3",
60
- "stylelint-scss": "^7.2.0",
60
+ "stylelint-scss": "^7.3.0",
61
61
  "stylelint-selector-no-empty": "^1.0.9",
62
62
  "stylelint-use-nesting": "^6.0.2"
63
63
  },
@@ -1,20 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020 Alexey Litovchenko
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,26 +0,0 @@
1
- # CommitLint Configuration
2
-
3
- > **Warning** <br /> This repository is deprecated. Please use
4
- > [@alexlit/config-hooks](https://github.com/alex-lit/lint-kit/tree/master/packages/config-hooks)
5
- > instead.
6
-
7
- Lines the commit message and also runs the code through the linters and does not
8
- pass commit if errors are found
9
-
10
- ## Installation
11
-
12
- ```sh
13
- npm i @alexlit/config-commitlint -D
14
- ```
15
-
16
- ## Connection
17
-
18
- ```js
19
- // commitlint.config.js
20
- export default { extends: ['@alexlit/config-commitlint'] };
21
- ```
22
-
23
- ```bash
24
- # .husky/commit-msg
25
- npx --no -- commitlint --edit "$1"
26
- ```
@@ -1 +0,0 @@
1
- export default { extends: ['@commitlint/config-conventional'] };
@@ -1,45 +0,0 @@
1
- {
2
- "name": "@alexlit/config-commitlint",
3
- "version": "14.2.6",
4
- "private": false,
5
- "description": "Commitlint config",
6
- "keywords": [
7
- "commitlint",
8
- "config"
9
- ],
10
- "homepage": "https://github.com/alex-lit/lint-kit/tree/master/packages/config-commitlint#readme",
11
- "bugs": {
12
- "url": "https://github.com/alex-lit/lint-kit/issues"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/alex-lit/lint-kit.git",
17
- "directory": "packages/config-commitlint"
18
- },
19
- "license": "MIT",
20
- "author": "Alexey Litovchenko",
21
- "maintainers": [
22
- "Alexey Litovchenko <alex.lit@outlook.com> (https://github.com/alex-lit)"
23
- ],
24
- "type": "module",
25
- "main": "index.js",
26
- "files": [
27
- "README.md",
28
- "index.js"
29
- ],
30
- "scripts": {
31
- "ou": "../../scripts/ou.sh",
32
- "release": "../../scripts/release.sh",
33
- "semver": "../../scripts/semver.sh",
34
- "up": "../../scripts/up.sh"
35
- },
36
- "dependencies": {
37
- "@commitlint/cli": "^21.2.2",
38
- "@commitlint/config-conventional": "^21.2.2",
39
- "conventional-changelog-cli": "^5.0.0"
40
- },
41
- "publishConfig": {
42
- "access": "public",
43
- "registry": "https://registry.npmjs.org/"
44
- }
45
- }