@itcase/lint 1.1.129 → 1.1.131
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/CHANGELOG.md +16 -0
- package/dist/{eslint.js → eslint/index.js} +4 -5
- package/dist/eslint/{perfectionist.js → perfectionist/index.js} +1 -1
- package/dist/eslint/storybook/index.js +4 -0
- package/dist/{index_BcADaVRv.js → index_CmQAJvhW.js} +1 -1
- package/package.json +31 -39
- package/dist/eslint/storybook.js +0 -4
- /package/dist/eslint/{figma.js → figma/index.js} +0 -0
- /package/dist/eslint/{mobx.js → mobx/index.js} +0 -0
- /package/dist/eslint/{restrictWords.js → restrictWords/index.js} +0 -0
- /package/dist/{prettier.js → prettier/index.js} +0 -0
- /package/dist/{stylelint.js → stylelint/index.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [1.1.131](https://github.com/ITCase/itcase-lint/compare/v1.1.130...v1.1.131) (2026-11-06)
|
|
2
|
+
|
|
3
|
+
### Dependencies
|
|
4
|
+
|
|
5
|
+
* **other:** bump dev dependencies and simplify rollup config ([c1626f8](https://github.com/ITCase/itcase-lint/commit/c1626f88808741dfc78b6b9a15fc028a694b8df1))
|
|
6
|
+
|
|
7
|
+
### Other
|
|
8
|
+
|
|
9
|
+
* **other:** trim gitignore patterns to match package layout ([4f32df0](https://github.com/ITCase/itcase-lint/commit/4f32df04957eb32795d02daea9e684b9758cad2f))
|
|
10
|
+
|
|
11
|
+
## [1.1.130](https://github.com/ITCase/itcase-lint/compare/v1.1.129...v1.1.130) (2026-10-12)
|
|
12
|
+
|
|
13
|
+
### Refactoring
|
|
14
|
+
|
|
15
|
+
* **other:** emit dist entries as folder index.js files ([5f4d85e](https://github.com/ITCase/itcase-lint/commit/5f4d85e016f26076bcdcf833a4f4c5df5642d196))
|
|
16
|
+
|
|
1
17
|
## [1.1.129](https://github.com/ITCase/itcase-lint/compare/v1.1.128...v1.1.129) (2026-10-12)
|
|
2
18
|
|
|
3
19
|
## [1.1.128](https://github.com/ITCase/itcase-lint/compare/v1.1.127...v1.1.128) (2026-10-12)
|
|
@@ -12,11 +12,11 @@ import eslintReactHooks from 'eslint-plugin-react-hooks';
|
|
|
12
12
|
import eslintReactNative from 'eslint-plugin-react-native';
|
|
13
13
|
import globals from 'globals';
|
|
14
14
|
import eslintTypeScript from 'typescript-eslint';
|
|
15
|
-
import { s as sortUnionTypes, a as sortObjectTypes, b as sortObjects, c as sortExports, d as sortNamedExports, e as sortMaps, f as sortJSXProps, g as sortIntersectionTypes, h as sortInterfaces, i as sortEnums } from '
|
|
15
|
+
import { s as sortUnionTypes, a as sortObjectTypes, b as sortObjects, c as sortExports, d as sortNamedExports, e as sortMaps, f as sortJSXProps, g as sortIntersectionTypes, h as sortInterfaces, i as sortEnums } from '../sortUnionTypes_C5VVNaF3.js';
|
|
16
16
|
import parser from '@typescript-eslint/parser';
|
|
17
|
-
import { i as itcaseLintPlugin, p as pluginName, r as ruleName, a as pluginName$1, b as ruleName$1, s as storybookConfig } from '
|
|
18
|
-
import { noRestrictedSyntaxRestrictWords } from './
|
|
19
|
-
export { default as eslintFigma } from './
|
|
17
|
+
import { i as itcaseLintPlugin, p as pluginName, r as ruleName, a as pluginName$1, b as ruleName$1, s as storybookConfig } from '../index_CmQAJvhW.js';
|
|
18
|
+
import { noRestrictedSyntaxRestrictWords } from './restrictWords/index.js';
|
|
19
|
+
export { default as eslintFigma } from './figma/index.js';
|
|
20
20
|
import 'eslint-plugin-storybook';
|
|
21
21
|
import '@typescript-eslint/utils';
|
|
22
22
|
import '@figma/eslint-plugin-figma-plugins';
|
|
@@ -102,7 +102,6 @@ const eslintConfig = [
|
|
|
102
102
|
ignores: [
|
|
103
103
|
'dist',
|
|
104
104
|
'node_modules',
|
|
105
|
-
'eslint.config.mjs',
|
|
106
105
|
'.next/**',
|
|
107
106
|
'.source/**',
|
|
108
107
|
'next-env.d.ts',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as sortEnums, c as sortExports, h as sortInterfaces, g as sortIntersectionTypes, f as sortJSXProps, e as sortMaps, d as sortNamedExports, a as sortObjectTypes, b as sortObjects, s as sortUnionTypes } from '
|
|
1
|
+
export { i as sortEnums, c as sortExports, h as sortInterfaces, g as sortIntersectionTypes, f as sortJSXProps, e as sortMaps, d as sortNamedExports, a as sortObjectTypes, b as sortObjects, s as sortUnionTypes } from '../../sortUnionTypes_C5VVNaF3.js';
|
|
2
2
|
|
|
3
3
|
const sortClasses = [
|
|
4
4
|
'error',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import eslintStorybook from 'eslint-plugin-storybook';
|
|
2
2
|
import { ESLintUtils, AST_NODE_TYPES } from '@typescript-eslint/utils';
|
|
3
|
-
import { noRestrictedSyntaxRestrictWordsForStorybook } from './eslint/restrictWords.js';
|
|
3
|
+
import { noRestrictedSyntaxRestrictWordsForStorybook } from './eslint/restrictWords/index.js';
|
|
4
4
|
|
|
5
5
|
const DOC_BASE = 'https://github.com/ITCase/itcase-lint/tree/main/src/eslint';
|
|
6
6
|
function createRuleCreator(pluginPath) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/lint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.131",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets ",
|
|
6
6
|
"engines": {
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"README.md"
|
|
32
32
|
],
|
|
33
33
|
"exports": {
|
|
34
|
-
"./eslint": "./dist/eslint.js",
|
|
35
|
-
"./eslint/figma": "./dist/eslint/figma.js",
|
|
36
|
-
"./eslint/mobx": "./dist/eslint/mobx.js",
|
|
37
|
-
"./eslint/perfectionist": "./dist/eslint/perfectionist.js",
|
|
38
|
-
"./eslint/storybook": "./dist/eslint/storybook.js",
|
|
39
|
-
"./prettier": "./dist/prettier.js",
|
|
40
|
-
"./stylelint": "./dist/stylelint.js"
|
|
34
|
+
"./eslint": "./dist/eslint/index.js",
|
|
35
|
+
"./eslint/figma": "./dist/eslint/figma/index.js",
|
|
36
|
+
"./eslint/mobx": "./dist/eslint/mobx/index.js",
|
|
37
|
+
"./eslint/perfectionist": "./dist/eslint/perfectionist/index.js",
|
|
38
|
+
"./eslint/storybook": "./dist/eslint/storybook/index.js",
|
|
39
|
+
"./prettier": "./dist/prettier/index.js",
|
|
40
|
+
"./stylelint": "./dist/stylelint/index.js"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public",
|
|
@@ -45,62 +45,54 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@babel/eslint-parser": "^8.0.7",
|
|
48
|
-
"@babel/eslint-plugin": "^8.0
|
|
48
|
+
"@babel/eslint-plugin": "^8.1.0",
|
|
49
49
|
"@eslint/compat": "^2.1.1",
|
|
50
50
|
"@figma/eslint-plugin-figma-plugins": "^1.0.0",
|
|
51
51
|
"@eslint/js": "^10.0.1",
|
|
52
52
|
"@eslint/markdown": "^8.0.3",
|
|
53
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
54
|
-
"@html-eslint/parser": "^0.
|
|
53
|
+
"@html-eslint/eslint-plugin": "^0.67.0",
|
|
54
|
+
"@html-eslint/parser": "^0.67.0",
|
|
55
55
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.72.1",
|
|
57
|
+
"@typescript-eslint/parser": "^8.72.1",
|
|
58
58
|
"eslint": "9.39.2",
|
|
59
59
|
"eslint-config-prettier": "^10.1.8",
|
|
60
60
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
61
61
|
"eslint-plugin-html": "^8.2.1",
|
|
62
62
|
"eslint-plugin-import": "^2.32.0",
|
|
63
63
|
"eslint-plugin-json": "^5.0.0",
|
|
64
|
-
"eslint-plugin-mobx": "^0.1
|
|
65
|
-
"eslint-plugin-n": "^18.
|
|
64
|
+
"eslint-plugin-mobx": "^0.2.1",
|
|
65
|
+
"eslint-plugin-n": "^18.5.0",
|
|
66
66
|
"eslint-plugin-node": "^11.1.0",
|
|
67
|
-
"eslint-plugin-perfectionist": "^5.
|
|
68
|
-
"eslint-plugin-prettier": "^5.5.
|
|
67
|
+
"eslint-plugin-perfectionist": "^5.13.0",
|
|
68
|
+
"eslint-plugin-prettier": "^5.5.7",
|
|
69
69
|
"eslint-plugin-promise": "^7.3.0",
|
|
70
70
|
"eslint-plugin-react": "^7.37.5",
|
|
71
71
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
72
72
|
"eslint-plugin-react-native": "^5.0.0",
|
|
73
73
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
74
|
-
"eslint-plugin-storybook": "^10.6.
|
|
75
|
-
"
|
|
76
|
-
"globals": "^17.13.0",
|
|
74
|
+
"eslint-plugin-storybook": "^10.6.6",
|
|
75
|
+
"globals": "^17.14.0",
|
|
77
76
|
"prettier": "^3.9.10",
|
|
78
|
-
"stylelint": "^
|
|
79
|
-
"stylelint-config-standard": "^
|
|
77
|
+
"stylelint": "^18.0.0",
|
|
78
|
+
"stylelint-config-standard": "^41.0.0",
|
|
80
79
|
"stylelint-no-unsupported-browser-features": "^8.1.2",
|
|
81
|
-
"stylelint-order": "^8.1.
|
|
80
|
+
"stylelint-order": "^8.1.3",
|
|
82
81
|
"stylelint-prettier": "^5.0.3",
|
|
83
|
-
"typescript-eslint": "^8.
|
|
82
|
+
"typescript-eslint": "^8.72.1"
|
|
84
83
|
},
|
|
85
84
|
"devDependencies": {
|
|
86
|
-
"@itcase/config": "^1.7.
|
|
87
|
-
"@rollup/plugin-
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
92
|
-
"@rollup/plugin-typescript": "^12.3.0",
|
|
93
|
-
"@types/node": "^26.6.5",
|
|
94
|
-
"@types/react": "^19.2.14",
|
|
95
|
-
"@typescript-eslint/rule-tester": "^8.71.1",
|
|
85
|
+
"@itcase/config": "^1.7.32",
|
|
86
|
+
"@rollup/plugin-typescript": "^12.3.1",
|
|
87
|
+
"@types/node": "^26.6.6",
|
|
88
|
+
"@types/react": "^19.3.0",
|
|
89
|
+
"@typescript-eslint/rule-tester": "^8.72.1",
|
|
96
90
|
"del-cli": "^8.0.1",
|
|
97
91
|
"husky": "^9.1.7",
|
|
98
92
|
"lint-staged": "^17.6.0",
|
|
99
|
-
"rollup": "4.
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"rollup-preserve-directives": "^1.1.3",
|
|
103
|
-
"storybook": "^10.6.1",
|
|
93
|
+
"rollup": "4.67.5",
|
|
94
|
+
"react": "^19.3.1",
|
|
95
|
+
"storybook": "^10.6.6",
|
|
104
96
|
"tsx": "^4.23.15",
|
|
105
97
|
"typescript": "^6.0.3"
|
|
106
98
|
}
|
package/dist/eslint/storybook.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|