Added Next.js eslint

This commit is contained in:
Luis Alvarez
2021-07-29 21:55:14 -05:00
parent fe6c0d8ed5
commit efd0b2ac68
3 changed files with 956 additions and 16 deletions

View File

@@ -6,6 +6,7 @@
"build": "next build",
"start": "next start",
"analyze": "BUNDLE_ANALYZE=both yarn build",
"lint": "next lint",
"prettier-fix": "prettier --write .",
"find:unused": "npx next-unused",
"generate": "graphql-codegen",
@@ -63,6 +64,8 @@
"@types/node": "^15.12.4",
"@types/react": "^17.0.8",
"deepmerge": "^4.2.2",
"eslint": "^7.31.0",
"eslint-config-next": "^11.0.1",
"graphql": "^15.5.1",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",