Skip to content

Commit 66c9909

Browse files
authored
Merge pull request #541 from storyprotocol/feat/add-no-duplicate-import
Add extra eslint rules
2 parents bb12ea0 + da11c39 commit 66c9909

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/eslint-config-story/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export default [
3535
"no-useless-computed-key": "error",
3636
"no-console": "error",
3737
"func-style": ["error", "expression"],
38+
"no-duplicate-imports": "error",
39+
"default-case": "error",
40+
eqeqeq: "error",
41+
"prefer-const": "error",
3842

3943
// Typescript
4044
"no-shadow": "off",

0 commit comments

Comments
 (0)