File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -39,23 +39,22 @@ In `eslint.config.(m)js` make these changes:
3939### Normal (Non-UI)
4040
4141``` TypeScript
42- import { baseLintConfig } from ' @shi-corp/development-utilities' ;
42+ import { eslintConfig } from ' @shi-corp/development-utilities/optimized/lint/base.js'
43+ import { defineConfig } from ' eslint/config'
4344
44- export default [
45- ... baseLintConfig ,
46- // Add project-specific rules, ignores, or plugins here
47- ];
45+ export default defineConfig (eslintConfig )
4846```
4947
5048### User Interface (Next.JS)
5149
5250``` TypeScript
53- import { baseLintConfig } from ' @shi-corp/development-utilities' ;
51+ import { eslintConfig } from ' @shi-corp/development-utilities/optimized/lint/next.js'
52+ import { defineConfig } from ' eslint/config'
5453
55- export default [
56- ... nextLintConfig ,
54+ export default defineConfig ( [
55+ ... eslintConfig ,
5756 // Add project-specific rules, ignores, or plugins here
58- ];
57+ ])
5958```
6059
6160## Next.js configuration
You can’t perform that action at this time.
0 commit comments