Skip to content

Commit 554bb13

Browse files
committed
chore: update ignore rules and replace .eslintignore with ignorePaths in .eslintrc
1 parent 725e146 commit 554bb13

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintrc

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@
3030
"no-console": "error",
3131
"no-unused-vars": 0,
3232
"require-await": 0,
33-
3433
"react/jsx-indent": 0,
3534
"react/jsx-indent-props": 0,
3635
"react/prop-types": 0,
37-
3836
"@typescript-eslint/consistent-type-imports": "warn",
3937
"@typescript-eslint/explicit-function-return-type": "warn",
38+
"@typescript-eslint/no-non-null-assertion": "warn",
4039
"@typescript-eslint/no-shadow": "warn",
4140
"@typescript-eslint/no-unused-vars": [
4241
"error",
@@ -46,5 +45,19 @@
4645
"varsIgnorePattern": "^__"
4746
}
4847
]
49-
}
48+
},
49+
"ignorePatterns": [
50+
"*.log",
51+
"*.md",
52+
"*.mdx",
53+
"node_modules/",
54+
"dist/",
55+
"coverage/",
56+
".nyc_output/",
57+
".pnpm-store/",
58+
"pnpm-lock.yaml",
59+
"storybook-static/",
60+
".next/",
61+
"docs/storybook/src/"
62+
]
5063
}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ node_modules
55
*.tgz
66
dist
77
coverage
8-
*.ignore
98
.pnpm-store/
109
storybook-static
1110
docs/storybook/src

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ node_modules/
55
dist/
66
coverage/
77
.nyc_output/
8-
*.ignore
98
.pnpm-store/
109
pnpm-lock.yaml
1110
storybook-static/

0 commit comments

Comments
 (0)