Skip to content

Commit

Permalink
Update .eslintrc.json to accept the new rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
MalazAlkoj committed Jan 10, 2025
1 parent e5836ae commit 240292e
Show file tree
Hide file tree
Showing 3 changed files with 235 additions and 13 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
{
"endOfLine": "auto"
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.test.tsx",
"./src/libs/ReactHookFormsDevTools.tsx",
"./src/test/testUtils.tsx",
"./src/test/vitest.setup.ts"
]
}
]
}
}
234 changes: 222 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@types/open": "^6.1.0",
"@unleash/nextjs": "^1.5.0",
"axios": "^1.7.9",
"date-fns": "^3.6.0",
"msw": "^1.3.5",
"msw-trpc": "^1.3.4",
"nanoid": "^5.0.9",
Expand All @@ -48,7 +49,7 @@
"devDependencies": {
"@hookform/devtools": "^4.3.3",
"@navikt/aksel-stylelint": "^7.9.1",
"@navikt/eslint-config-teamsykmelding": "^5.2.0",
"@navikt/eslint-config-teamsykmelding": "^7.1.0",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "22.10.5",
Expand Down

0 comments on commit 240292e

Please sign in to comment.