@itcase/lint 1.1.29 → 1.1.31
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/eslint/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import eslintPerfectionist from 'eslint-plugin-perfectionist'
|
|
|
7
7
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
8
8
|
import eslintReact from 'eslint-plugin-react'
|
|
9
9
|
import eslintReactHooks from 'eslint-plugin-react-hooks'
|
|
10
|
-
import eslintStorybook from 'eslint-plugin-storybook'
|
|
10
|
+
//import eslintStorybook from 'eslint-plugin-storybook'
|
|
11
11
|
import globals from 'globals'
|
|
12
12
|
import eslintTypeScript from 'typescript-eslint'
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
const eslintConfig = [
|
|
26
26
|
eslintJs.configs.recommended,
|
|
27
27
|
...eslintTypeScript.configs.recommended,
|
|
28
|
-
|
|
28
|
+
//...eslintStorybook.configs['flat/recommended'],
|
|
29
29
|
eslintPluginPrettierRecommended,
|
|
30
30
|
|
|
31
31
|
{
|
|
@@ -288,7 +288,6 @@ const props = [
|
|
|
288
288
|
'email',
|
|
289
289
|
'phone',
|
|
290
290
|
'component',
|
|
291
|
-
'tags',
|
|
292
291
|
'args',
|
|
293
292
|
'globals',
|
|
294
293
|
'loaders',
|
|
@@ -297,12 +296,13 @@ const props = [
|
|
|
297
296
|
'design',
|
|
298
297
|
'layout',
|
|
299
298
|
'sourceLink',
|
|
299
|
+
'tags',
|
|
300
300
|
'render',
|
|
301
301
|
'device',
|
|
302
302
|
'unknown',
|
|
303
303
|
'before',
|
|
304
304
|
'primaryButton',
|
|
305
|
-
'
|
|
305
|
+
'secondaryButton',
|
|
306
306
|
'tertiaryButton',
|
|
307
307
|
'after',
|
|
308
308
|
'open',
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import eslintStorybook from 'eslint-plugin-storybook'
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
plugins: { strorybook: eslintStorybook },
|
|
6
|
+
files: ['**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)'],
|
|
7
|
+
},
|
|
5
8
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.31",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"@babel/eslint-parser": "^7.28.0",
|
|
38
38
|
"@babel/eslint-plugin": "^7.27.1",
|
|
39
39
|
"@eslint/compat": "^1.3.1",
|
|
40
|
-
"@eslint/js": "^9.
|
|
40
|
+
"@eslint/js": "^9.32.0",
|
|
41
41
|
"@eslint/markdown": "^7.1.0",
|
|
42
42
|
"@ianvs/prettier-plugin-sort-imports": "^4.5.1",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
44
44
|
"@typescript-eslint/parser": "^8.38.0",
|
|
45
|
-
"eslint": "^9.
|
|
45
|
+
"eslint": "^9.32.0",
|
|
46
46
|
"eslint-config-prettier": "^10.1.8",
|
|
47
47
|
"eslint-plugin-html": "^8.1.3",
|
|
48
48
|
"eslint-plugin-json": "^4.0.1",
|
|
49
49
|
"eslint-plugin-mobx": "^0.0.13",
|
|
50
|
-
"eslint-plugin-n": "^17.21.
|
|
50
|
+
"eslint-plugin-n": "^17.21.3",
|
|
51
51
|
"eslint-plugin-node": "^11.1.0",
|
|
52
52
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
53
53
|
"eslint-plugin-prettier": "^5.5.3",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
57
57
|
"eslint-plugin-react-native": "^5.0.0",
|
|
58
58
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
59
|
-
"eslint-plugin-storybook": "^9.0
|
|
59
|
+
"eslint-plugin-storybook": "^9.1.0",
|
|
60
60
|
"expo-modules-autolinking": "^2.1.14",
|
|
61
61
|
"globals": "^16.3.0",
|
|
62
62
|
"prettier": "^3.6.2",
|
|
63
|
-
"stylelint-config-standard": "^
|
|
63
|
+
"stylelint-config-standard": "^39.0.0",
|
|
64
64
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
65
65
|
"stylelint-order": "^7.0.0",
|
|
66
66
|
"stylelint-prettier": "^5.0.3",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@commitlint/cli": "^19.8.1",
|
|
71
71
|
"@commitlint/config-conventional": "^19.8.1",
|
|
72
|
-
"@itcase/config": "^1.0.
|
|
72
|
+
"@itcase/config": "^1.0.55",
|
|
73
73
|
"@semantic-release/changelog": "^6.0.3",
|
|
74
74
|
"@semantic-release/git": "^10.0.1",
|
|
75
75
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
76
76
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
77
77
|
"husky": "^9.1.7",
|
|
78
|
-
"lint-staged": "^16.1.
|
|
78
|
+
"lint-staged": "^16.1.4",
|
|
79
79
|
"semantic-release": "^24.2.7",
|
|
80
|
-
"typescript": "^5.
|
|
80
|
+
"typescript": "^5.9.2"
|
|
81
81
|
}
|
|
82
82
|
}
|