@ -1,5 +1,12 @@
|
||||
module.exports = {
|
||||
extends: ['next', 'prettier'],
|
||||
extends: [
|
||||
'next',
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'prettier',
|
||||
],
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint'],
|
||||
settings: {
|
||||
react: {
|
||||
version: 'detect',
|
||||
@ -19,5 +26,6 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
},
|
||||
}
|
||||
|
@ -6,5 +6,9 @@
|
||||
"eslint-config-next": "13.0.7",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-react": "7.31.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
||||
"@typescript-eslint/parser": "^5.46.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user