Skip to content

Commit 5282a17

Browse files
committed
chore(eslint): update linting commands to use eslint instead of next lint
1 parent 719519a commit 5282a17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default tseslint.config([
1616
eslint.configs.recommended,
1717
tseslint.configs.recommendedTypeChecked,
1818
{
19-
ignores: ['*.mjs']
19+
ignores: ['.next/', '*.mjs', 'next-env.d.ts']
2020
},
2121
{
2222
files: ['**/*.{ts,tsx}'],

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"type-check": "tsc --noEmit",
1010
"format": "prettier --write .",
1111
"format:check": "prettier --check .",
12-
"lint": "next lint --max-warnings=0 . .",
13-
"lint:fix": "next lint --fix . .",
12+
"lint": "eslint --max-warnings=0 .",
13+
"lint:fix": "eslint --fix .",
1414
"prepare": "husky"
1515
},
1616
"dependencies": {

0 commit comments

Comments
 (0)