@itcase/lint 1.1.126 → 1.1.127

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 CHANGED
@@ -1,3 +1,21 @@
1
+ ## [1.1.127](https://github.com/ITCase/itcase-lint/compare/v1.1.126...v1.1.127) (2026-10-08)
2
+
3
+ ### Features
4
+
5
+ * **eslint:** add next.js app router globs, react version detect and ignores ([955f4f4](https://github.com/ITCase/itcase-lint/commit/955f4f40f2a27e0dc10c954743431a20e35cc05c))
6
+
7
+ ### Bug Fixes
8
+
9
+ * **mobx:** remove obsolete ts-expect-error for eslint-plugin-mobx ([3c51bf9](https://github.com/ITCase/itcase-lint/commit/3c51bf94e18026ab75dc5e9b25b77fdac5b448d5))
10
+
11
+ ### Continuous Integrations
12
+
13
+ * **other:** switch lint-staged config to @itcase/config lint-staged export ([c2c9154](https://github.com/ITCase/itcase-lint/commit/c2c9154433287c14ac80711b30a351b9ba74a9ce))
14
+
15
+ ### Dependencies
16
+
17
+ * **other:** bump eslint, prettier, stylelint and toolchain dependencies ([0d0b486](https://github.com/ITCase/itcase-lint/commit/0d0b486d62a79723b4e0adfab0893da6f9edc357))
18
+
1
19
  ## [1.1.126](https://github.com/ITCase/itcase-lint/compare/v1.1.125...v1.1.126) (2026-09-16)
2
20
 
3
21
  ### Dependencies
@@ -1,6 +1,13 @@
1
1
  declare const _default: ({
2
2
  plugins: {
3
- mobx: any;
3
+ mobx: import("@eslint/core").Plugin & {
4
+ configs: {
5
+ recommended: import("eslint").Linter.LegacyConfig;
6
+ };
7
+ flatConfigs: {
8
+ recommended: import("eslint").Linter.Config;
9
+ };
10
+ };
4
11
  };
5
12
  rules?: undefined;
6
13
  } | {
@@ -1,6 +1,5 @@
1
1
  import eslintMobx from 'eslint-plugin-mobx';
2
2
 
3
- // @ts-expect-error
4
3
  // eslint-disable-next-line import/no-default-export
5
4
  var index = [
6
5
  {
package/dist/eslint.js CHANGED
@@ -92,9 +92,23 @@ const eslintConfig = [
92
92
  import: eslintImport,
93
93
  perfectionist: eslintPerfectionist,
94
94
  },
95
+ settings: {
96
+ react: {
97
+ version: 'detect',
98
+ },
99
+ },
95
100
  },
96
101
  {
97
- ignores: ['dist', 'node_modules', 'eslint.config.mjs'],
102
+ ignores: [
103
+ 'dist',
104
+ 'node_modules',
105
+ 'eslint.config.mjs',
106
+ '.next/**',
107
+ '.source/**',
108
+ 'next-env.d.ts',
109
+ 'package-lock.json',
110
+ 'public/**',
111
+ ],
98
112
  },
99
113
  {
100
114
  files: ['**/*.json'],
@@ -174,6 +188,9 @@ const eslintConfig = [
174
188
  {
175
189
  files: [
176
190
  '**/*.page.{ts,tsx,js,jsx}', // Next.js pages
191
+ 'app/**/{default,error,forbidden,global-error,layout,loading,not-found,page,template,unauthorized}.{js,jsx,ts,tsx}', // Next.js App Router
192
+ 'app/{manifest,robots,sitemap}.{js,ts}', // Next.js root metadata routes
193
+ 'app/**/{apple-icon,icon,opengraph-image,twitter-image}.{js,jsx,ts,tsx}', // Next.js metadata images
177
194
  '**/*.config.*', // configs
178
195
  '**/*gulpfile*', // Gulp
179
196
  '**/*.stories.*', // Storybook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.126",
3
+ "version": "1.1.127",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets ",
6
6
  "engines": {
@@ -44,48 +44,48 @@
44
44
  "registry": "https://registry.npmjs.org/"
45
45
  },
46
46
  "dependencies": {
47
- "@babel/eslint-parser": "^8.0.5",
48
- "@babel/eslint-plugin": "^8.0.5",
47
+ "@babel/eslint-parser": "^8.0.7",
48
+ "@babel/eslint-plugin": "^8.0.6",
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.66.0",
54
- "@html-eslint/parser": "^0.66.0",
53
+ "@html-eslint/eslint-plugin": "^0.66.1",
54
+ "@html-eslint/parser": "^0.66.1",
55
55
  "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
56
- "@typescript-eslint/eslint-plugin": "^8.70.0",
57
- "@typescript-eslint/parser": "^8.70.0",
56
+ "@typescript-eslint/eslint-plugin": "^8.71.1",
57
+ "@typescript-eslint/parser": "^8.71.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
- "eslint-plugin-html": "^8.2.0",
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.0.14",
65
- "eslint-plugin-n": "^18.3.0",
64
+ "eslint-plugin-mobx": "^0.1.0",
65
+ "eslint-plugin-n": "^18.4.1",
66
66
  "eslint-plugin-node": "^11.1.0",
67
- "eslint-plugin-perfectionist": "^5.11.1",
67
+ "eslint-plugin-perfectionist": "^5.12.1",
68
68
  "eslint-plugin-prettier": "^5.5.6",
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.0",
75
- "expo-modules-autolinking": "^57.0.13",
76
- "globals": "^17.12.0",
77
- "prettier": "^3.9.6",
78
- "stylelint": "^17.15.0",
74
+ "eslint-plugin-storybook": "^10.6.1",
75
+ "expo-modules-autolinking": "^57.0.14",
76
+ "globals": "^17.13.0",
77
+ "prettier": "^3.9.9",
78
+ "stylelint": "^17.16.0",
79
79
  "stylelint-config-standard": "^40.0.0",
80
80
  "stylelint-no-unsupported-browser-features": "^8.1.2",
81
81
  "stylelint-order": "^8.1.1",
82
82
  "stylelint-prettier": "^5.0.3",
83
- "typescript-eslint": "^8.70.0"
83
+ "typescript-eslint": "^8.71.1"
84
84
  },
85
85
  "devDependencies": {
86
- "@commitlint/cli": "^21.2.2",
87
- "@commitlint/config-conventional": "^21.2.2",
88
- "@itcase/config": "^1.6.84",
86
+ "@commitlint/cli": "^21.2.3",
87
+ "@commitlint/config-conventional": "^21.2.3",
88
+ "@itcase/config": "^1.7.22",
89
89
  "@rollup/plugin-alias": "^6.0.0",
90
90
  "@rollup/plugin-babel": "^7.1.0",
91
91
  "@rollup/plugin-image": "^3.0.3",
@@ -93,22 +93,22 @@
93
93
  "@rollup/plugin-node-resolve": "^16.0.3",
94
94
  "@rollup/plugin-terser": "^1.0.0",
95
95
  "@rollup/plugin-typescript": "^12.3.0",
96
- "@types/node": "^26.5.0",
96
+ "@types/node": "^26.6.4",
97
97
  "@types/react": "^19.2.14",
98
- "@typescript-eslint/rule-tester": "^8.70.0",
98
+ "@typescript-eslint/rule-tester": "^8.71.1",
99
99
  "conventional-changelog-conventionalcommits": "9.3.1",
100
100
  "del-cli": "^7.0.0",
101
101
  "husky": "^9.1.7",
102
- "lint-staged": "^17.5.1",
103
- "rollup": "4.63.3",
102
+ "lint-staged": "^17.6.0",
103
+ "rollup": "4.64.2",
104
104
  "rollup-plugin-copy": "^3.5.0",
105
105
  "rollup-plugin-dts": "^6.5.1",
106
106
  "rollup-plugin-peer-deps-external": "^2.2.4",
107
107
  "react": "^19.2.4",
108
108
  "rollup-preserve-directives": "^1.1.3",
109
109
  "semantic-release": "^25.0.9",
110
- "storybook": "^10.6.0",
111
- "tsx": "^4.23.13",
110
+ "storybook": "^10.6.1",
111
+ "tsx": "^4.23.15",
112
112
  "typescript": "^6.0.3"
113
113
  }
114
114
  }