@alexlit/lint-kit 181.0.0 → 182.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/package.json +3 -3
- package/packages/config-eslint/package.json +8 -8
- package/packages/config-eslint/plugins/tanstack-query.js +2 -2
- package/packages/config-eslint/plugins/unocss.js +6 -4
- package/packages/config-stylelint/package.json +3 -3
- package/packages/config-stylelint/plugins/bem.js +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-commitlint",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Commitlint config",
|
|
6
6
|
"keywords": [
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"up": "../../scripts/up.sh"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@commitlint/cli": "^20.
|
|
38
|
-
"@commitlint/config-conventional": "^20.
|
|
37
|
+
"@commitlint/cli": "^20.4.2",
|
|
38
|
+
"@commitlint/config-conventional": "^20.4.2",
|
|
39
39
|
"conventional-changelog-cli": "^5.0.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "136.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Sharable ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -41,26 +41,26 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@eslint/js": "^10.0.1",
|
|
43
43
|
"@eslint/json": "^1.0.1",
|
|
44
|
-
"@intlify/eslint-plugin-vue-i18n": "^4.
|
|
45
|
-
"@stylistic/eslint-plugin": "^5.
|
|
44
|
+
"@intlify/eslint-plugin-vue-i18n": "^4.2.0",
|
|
45
|
+
"@stylistic/eslint-plugin": "^5.9.0",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "^5.91.4",
|
|
47
47
|
"@unocss/eslint-config": "^66.6.0",
|
|
48
48
|
"@vitest/eslint-plugin": "^1.6.9",
|
|
49
|
-
"eslint": "^10.0.
|
|
49
|
+
"eslint": "^10.0.2",
|
|
50
50
|
"eslint-config-prettier": "^10.1.8",
|
|
51
|
-
"eslint-plugin-jsdoc": "^62.
|
|
51
|
+
"eslint-plugin-jsdoc": "^62.7.0",
|
|
52
52
|
"eslint-plugin-perfectionist": "^5.6.0",
|
|
53
53
|
"eslint-plugin-prettier": "^5.5.5",
|
|
54
54
|
"eslint-plugin-regexp": "^3.0.0",
|
|
55
|
-
"eslint-plugin-sonarjs": "^
|
|
55
|
+
"eslint-plugin-sonarjs": "^4.0.0",
|
|
56
56
|
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
57
57
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
58
58
|
"eslint-plugin-vue": "^10.8.0",
|
|
59
59
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
60
60
|
"globals": "^17.3.0",
|
|
61
|
-
"jsonc-eslint-parser": "^
|
|
61
|
+
"jsonc-eslint-parser": "^3.1.0",
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
|
-
"typescript-eslint": "^8.56.
|
|
63
|
+
"typescript-eslint": "^8.56.1",
|
|
64
64
|
"yaml-eslint-parser": "^2.0.0"
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import plugin from '@tanstack/eslint-plugin-query';
|
|
1
|
+
// import plugin from '@tanstack/eslint-plugin-query';
|
|
2
2
|
import { defineConfig } from 'eslint/config';
|
|
3
3
|
|
|
4
4
|
/** @see [@tanstack/query](https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query) */
|
|
5
5
|
export const tanstackQuery = defineConfig([
|
|
6
|
-
...plugin.configs['flat/recommended'],
|
|
6
|
+
// ...plugin.configs['flat/recommended'], // TODO: update plugin
|
|
7
7
|
]);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import plugin from '@unocss/eslint-config/flat';
|
|
1
|
+
// import plugin from '@unocss/eslint-config/flat';
|
|
2
2
|
import { defineConfig } from 'eslint/config';
|
|
3
3
|
|
|
4
|
-
import { FILES } from '../presets/base.js';
|
|
4
|
+
// import { FILES } from '../presets/base.js';
|
|
5
|
+
|
|
6
|
+
// TODO: update plugin
|
|
5
7
|
|
|
6
8
|
/** @see [@unocss/eslint-config](https://unocss.dev/integrations/eslint) */
|
|
7
9
|
export const unocss = defineConfig([
|
|
8
|
-
{ files: FILES, ...plugin },
|
|
9
|
-
{ files: FILES, rules: { 'unocss/order-attributify': 'off' } },
|
|
10
|
+
// { files: FILES, ...plugin },
|
|
11
|
+
// { files: FILES, rules: { 'unocss/order-attributify': 'off' } },
|
|
10
12
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "59.
|
|
3
|
+
"version": "59.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@double-great/stylelint-a11y": "^3.4.3",
|
|
40
|
-
"@morev/stylelint-plugin": "^0.
|
|
40
|
+
"@morev/stylelint-plugin": "^0.5.0",
|
|
41
41
|
"postcss": "^8.5.6",
|
|
42
42
|
"postcss-html": "^1.8.1",
|
|
43
43
|
"prettier": "^3.8.1",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"stylelint-prettier": "^5.0.3",
|
|
60
60
|
"stylelint-scss": "^7.0.0",
|
|
61
61
|
"stylelint-selector-no-empty": "^1.0.9",
|
|
62
|
-
"stylelint-use-nesting": "^6.0.
|
|
62
|
+
"stylelint-use-nesting": "^6.0.2"
|
|
63
63
|
},
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public",
|
|
@@ -16,16 +16,19 @@ export default {
|
|
|
16
16
|
files: ['**/*.{css,scss,vue}'],
|
|
17
17
|
rules: defineRules({
|
|
18
18
|
'@morev/base/no-selectors-in-at-rules': [true, {}],
|
|
19
|
-
'@morev/bem/block-variable':
|
|
19
|
+
'@morev/bem/block-variable': null,
|
|
20
20
|
'@morev/bem/match-file-name': [true, {}],
|
|
21
21
|
'@morev/bem/no-block-properties': [
|
|
22
22
|
true,
|
|
23
|
-
{ ignoreBlocks: [], presets: ['EXTERNAL_GEOMETRY'
|
|
23
|
+
{ ignoreBlocks: [], presets: ['EXTERNAL_GEOMETRY'] },
|
|
24
24
|
],
|
|
25
25
|
'@morev/bem/no-chained-entities': [true, {}],
|
|
26
|
-
'@morev/bem/no-side-effects': [
|
|
26
|
+
'@morev/bem/no-side-effects': [
|
|
27
|
+
true,
|
|
28
|
+
{ ignore: ['/^>/', '/^:deep/', '/^:global/'] },
|
|
29
|
+
],
|
|
27
30
|
'@morev/bem/selector-pattern': [true, {}],
|
|
28
|
-
'@morev/sass/no-unused-variables': [true, { ignore: [
|
|
31
|
+
'@morev/sass/no-unused-variables': [true, { ignore: [] }],
|
|
29
32
|
}),
|
|
30
33
|
},
|
|
31
34
|
{
|