feat(ESLint): Added Typescript Linting rules

This commit is contained in:
Philip 2023-07-18 20:04:55 +02:00
parent dd2a0e4195
commit 7e455cca1b
3 changed files with 1692 additions and 1573 deletions

View file

@ -1,3 +1,4 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"plugins": ["@typescript-eslint"]
}

3256
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -16,6 +16,7 @@
"@socialgouv/matomo-next": "^1.6.1",
"@types/node": "20.2.5",
"@types/react-dom": "18.2.4",
"eslint-config-sznm": "^2.0.2",
"jest-worker": "^29.5.0",
"next": "13.4.4",
"next-intl": "^2.14.6",
@ -29,9 +30,10 @@
"devDependencies": {
"@playwright/test": "^1.34.3",
"@types/react": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "8.41.0",
"eslint-config-next": "^13.4.4",
"eslint-config-sznm": "^1.1.1"
"eslint-config-next": "^13.4.4"
},
"volta": {
"node": "18.16.0",