@itcase/lint 1.1.127 → 1.1.128
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 +10 -0
- package/dist/eslint.js +9 -5
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [1.1.128](https://github.com/ITCase/itcase-lint/compare/v1.1.127...v1.1.128) (2026-10-12)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **eslint:** broaden next.js default export exception globs ([641757d](https://github.com/ITCase/itcase-lint/commit/641757dbf75b630df8fbcc116ef78dc4da3a0c16))
|
|
6
|
+
|
|
7
|
+
### Dependencies
|
|
8
|
+
|
|
9
|
+
* **other:** bump prettier, stylelint-order and dev dependencies ([835cc40](https://github.com/ITCase/itcase-lint/commit/835cc406e6305ee38fcf9e2a835ea8cc3fa5794e))
|
|
10
|
+
|
|
1
11
|
## [1.1.127](https://github.com/ITCase/itcase-lint/compare/v1.1.126...v1.1.127) (2026-10-08)
|
|
2
12
|
|
|
3
13
|
### Features
|
package/dist/eslint.js
CHANGED
|
@@ -184,13 +184,17 @@ const eslintConfig = [
|
|
|
184
184
|
'perfectionist/sort-union-types': sortUnionTypes,
|
|
185
185
|
},
|
|
186
186
|
},
|
|
187
|
-
//
|
|
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
|
|
191
|
-
'
|
|
192
|
-
'app
|
|
193
|
-
'app/**/{
|
|
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.
|
|
3
|
+
"version": "1.1.128",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets ",
|
|
6
6
|
"engines": {
|
|
@@ -74,18 +74,18 @@
|
|
|
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.
|
|
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.
|
|
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
86
|
"@commitlint/cli": "^21.2.3",
|
|
87
87
|
"@commitlint/config-conventional": "^21.2.3",
|
|
88
|
-
"@itcase/config": "^1.7.
|
|
88
|
+
"@itcase/config": "^1.7.23",
|
|
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,14 +93,14 @@
|
|
|
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.6.
|
|
96
|
+
"@types/node": "^26.6.5",
|
|
97
97
|
"@types/react": "^19.2.14",
|
|
98
98
|
"@typescript-eslint/rule-tester": "^8.71.1",
|
|
99
99
|
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
100
|
-
"del-cli": "^
|
|
100
|
+
"del-cli": "^8.0.1",
|
|
101
101
|
"husky": "^9.1.7",
|
|
102
102
|
"lint-staged": "^17.6.0",
|
|
103
|
-
"rollup": "4.64.
|
|
103
|
+
"rollup": "4.64.5",
|
|
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",
|