mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-16 20:04:36 +00:00
Modernize ESlint config
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
"build": "next build && next export",
|
||||
"dev": "SERVER=http://localhost:9000/ NODE_ENV=development next",
|
||||
"prod": "NODE_ENV=production next build && next export",
|
||||
"lint": "eslint --ext .jsx --ext .js .",
|
||||
"prettify": "prettier --write components pages styles"
|
||||
"lint": "eslint --ext .tsx --ext .ts .",
|
||||
"prettify": "prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@zeit/next-css": "^1.0.1",
|
||||
@@ -35,13 +35,16 @@
|
||||
"utility-types": "^3.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/eslint-plugin-next": "^12.0.10",
|
||||
"@types/node": "17.0.17",
|
||||
"@types/react": "17.0.39",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
||||
"@typescript-eslint/parser": "^5.11.0",
|
||||
"eslint": "^8.8.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||
"eslint-plugin-react": "^7.28.0",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"prettier": "^2.5.1",
|
||||
"typescript": "4.5.5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user