This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: lint typescript and jest codebase
- Loading branch information
1 parent
eeda205
commit 8930f81
Showing
4 changed files
with
353 additions
and
9,940 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
coverage | ||
|
||
# build folders | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
tmp | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# vercel | ||
.vercel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,31 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "jsx-a11y"], | ||
|
||
"rules": { | ||
"max-len": ["warn", { "tabWidth": 2 }] | ||
}, | ||
|
||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:eslint-comments/recommended", | ||
"next", | ||
"next/core-web-vitals", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
"prettier" | ||
], | ||
"plugins": ["jsx-a11y"] | ||
|
||
"overrides": [ | ||
{ | ||
"files": ["test/**/*", "**/__+(tests|mocks|snapshots)__/**/*"], | ||
"env": { | ||
"jest/globals": true | ||
}, | ||
|
||
"plugins": ["jest"], | ||
|
||
"extends": ["plugin:jest/recommended"] | ||
} | ||
] | ||
} |
Oops, something went wrong.