Skip to content

Commit

Permalink
chore: update ignore rules and replace .eslintignore with `ignorePa…
Browse files Browse the repository at this point in the history
…ths` in `.eslintrc`
  • Loading branch information
nerdyman committed Oct 21, 2023
1 parent 725e146 commit 554bb13
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

19 changes: 16 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@
"no-console": "error",
"no-unused-vars": 0,
"require-await": 0,

"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"react/prop-types": 0,

"@typescript-eslint/consistent-type-imports": "warn",
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-shadow": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
Expand All @@ -46,5 +45,19 @@
"varsIgnorePattern": "^__"
}
]
}
},
"ignorePatterns": [
"*.log",
"*.md",
"*.mdx",
"node_modules/",
"dist/",
"coverage/",
".nyc_output/",
".pnpm-store/",
"pnpm-lock.yaml",
"storybook-static/",
".next/",
"docs/storybook/src/"
]
}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ node_modules
*.tgz
dist
coverage
*.ignore
.pnpm-store/
storybook-static
docs/storybook/src
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ node_modules/
dist/
coverage/
.nyc_output/
*.ignore
.pnpm-store/
pnpm-lock.yaml
storybook-static/
Expand Down

0 comments on commit 554bb13

Please sign in to comment.