feat(eslint): add eslint rules among prettier

This commit is contained in:
Walid 2022-03-17 11:47:20 +01:00
parent be0c924171
commit 493c736f2e
No known key found for this signature in database
GPG Key ID: 50CE2725C6AF36B0
2 changed files with 11 additions and 1 deletions

3
.eslintignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
.next
next-env.d.ts

View File

@ -1,3 +1,10 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": "warn",
"no-console": "off",
"@next/next/no-img-element": "off"
}
}