Skip to content

Commit

Permalink
adds eslint configuration for accessibility and next
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-nowicki committed Apr 10, 2024
1 parent 64000c2 commit c65d77d
Show file tree
Hide file tree
Showing 3 changed files with 1,084 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["plugin:jsx-a11y/recommended", "next/core-web-vitals"]
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"test:watch": "jest --watchAll --passWithNoTests",
"storybook-docs": "storybook dev --docs",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"lint": "next lint"
},
"dependencies": {
"@radix-ui/react-slot": "^1.0.2",
Expand Down Expand Up @@ -47,6 +48,8 @@
"@types/react": "18.2.8",
"@types/react-dom": "18.2.5",
"encoding": "^0.1.13",
"eslint-config-next": "14.1.4",
"eslint-plugin-jsx-a11y": "^6.8.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"storybook": "^8.0.4",
Expand Down
Loading

0 comments on commit c65d77d

Please sign in to comment.