@itcase/lint 1.1.127 → 1.1.129

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,15 @@
1
+ ## [1.1.129](https://github.com/ITCase/itcase-lint/compare/v1.1.128...v1.1.129) (2026-10-12)
2
+
3
+ ## [1.1.128](https://github.com/ITCase/itcase-lint/compare/v1.1.127...v1.1.128) (2026-10-12)
4
+
5
+ ### Bug Fixes
6
+
7
+ * **eslint:** broaden next.js default export exception globs ([641757d](https://github.com/ITCase/itcase-lint/commit/641757dbf75b630df8fbcc116ef78dc4da3a0c16))
8
+
9
+ ### Dependencies
10
+
11
+ * **other:** bump prettier, stylelint-order and dev dependencies ([835cc40](https://github.com/ITCase/itcase-lint/commit/835cc406e6305ee38fcf9e2a835ea8cc3fa5794e))
12
+
1
13
  ## [1.1.127](https://github.com/ITCase/itcase-lint/compare/v1.1.126...v1.1.127) (2026-10-08)
2
14
 
3
15
  ### Features
package/dist/eslint.js CHANGED
@@ -184,13 +184,17 @@ const eslintConfig = [
184
184
  'perfectionist/sort-union-types': sortUnionTypes,
185
185
  },
186
186
  },
187
- // Add exceptions for files that require default exports
187
+ // Files that require a default export.
188
+ // Next.js globs are prefixed with `**/` so they match a root app, `src/app`,
189
+ // and monorepos (`apps/*/src/app/not-found.tsx`), including route groups.
188
190
  {
189
191
  files: [
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
192
+ '**/*.page.{js,jsx,ts,tsx}', // Pages Router via pageExtensions (`*.page.tsx`)
193
+ '**/pages/**/{404,500,_app,_document,_error}.{js,jsx,ts,tsx}', // Pages Router system files
194
+ '**/app/**/{default,error,forbidden,global-error,global-not-found,layout,loading,not-found,page,template,unauthorized}.{js,jsx,ts,tsx}', // App Router
195
+ '**/app/**/{manifest,robots,sitemap}.{js,ts}', // App Router metadata routes
196
+ '**/app/**/{apple-icon,icon,opengraph-image,twitter-image}.{js,jsx,ts,tsx}', // App Router metadata images
197
+ '**/{middleware,proxy}.{js,ts}', // Next.js proxy (middleware.ts is the old name); default export is allowed
194
198
  '**/*.config.*', // configs
195
199
  '**/*gulpfile*', // Gulp
196
200
  '**/*.stories.*', // Storybook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.127",
3
+ "version": "1.1.129",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets ",
6
6
  "engines": {
@@ -74,39 +74,32 @@
74
74
  "eslint-plugin-storybook": "^10.6.1",
75
75
  "expo-modules-autolinking": "^57.0.14",
76
76
  "globals": "^17.13.0",
77
- "prettier": "^3.9.9",
77
+ "prettier": "^3.9.10",
78
78
  "stylelint": "^17.16.0",
79
79
  "stylelint-config-standard": "^40.0.0",
80
80
  "stylelint-no-unsupported-browser-features": "^8.1.2",
81
- "stylelint-order": "^8.1.1",
81
+ "stylelint-order": "^8.1.2",
82
82
  "stylelint-prettier": "^5.0.3",
83
83
  "typescript-eslint": "^8.71.1"
84
84
  },
85
85
  "devDependencies": {
86
- "@commitlint/cli": "^21.2.3",
87
- "@commitlint/config-conventional": "^21.2.3",
88
- "@itcase/config": "^1.7.22",
86
+ "@itcase/config": "^1.7.23",
89
87
  "@rollup/plugin-alias": "^6.0.0",
90
88
  "@rollup/plugin-babel": "^7.1.0",
91
89
  "@rollup/plugin-image": "^3.0.3",
92
90
  "@rollup/plugin-json": "^6.1.0",
93
91
  "@rollup/plugin-node-resolve": "^16.0.3",
94
- "@rollup/plugin-terser": "^1.0.0",
95
92
  "@rollup/plugin-typescript": "^12.3.0",
96
- "@types/node": "^26.6.4",
93
+ "@types/node": "^26.6.5",
97
94
  "@types/react": "^19.2.14",
98
95
  "@typescript-eslint/rule-tester": "^8.71.1",
99
- "conventional-changelog-conventionalcommits": "9.3.1",
100
- "del-cli": "^7.0.0",
96
+ "del-cli": "^8.0.1",
101
97
  "husky": "^9.1.7",
102
98
  "lint-staged": "^17.6.0",
103
- "rollup": "4.64.2",
104
- "rollup-plugin-copy": "^3.5.0",
105
- "rollup-plugin-dts": "^6.5.1",
99
+ "rollup": "4.64.5",
106
100
  "rollup-plugin-peer-deps-external": "^2.2.4",
107
101
  "react": "^19.2.4",
108
102
  "rollup-preserve-directives": "^1.1.3",
109
- "semantic-release": "^25.0.9",
110
103
  "storybook": "^10.6.1",
111
104
  "tsx": "^4.23.15",
112
105
  "typescript": "^6.0.3"