Skip to content

Commit 800f481

Browse files
refactor: remove unused code
1 parent 1935c16 commit 800f481

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

configs/react.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,6 @@ async function getReactRecommendedConfig() {
3030
const reactPlugin = (await import("eslint-plugin-react")).default;
3131
const { recommended, "jsx-runtime": jsxRuntime } = reactPlugin.configs.flat;
3232

33-
switch(foo) {
34-
case 1: {
35-
doStuff();
36-
}
37-
break;
38-
}
39-
40-
41-
switch(foo) {
42-
case 1: {
43-
doStuff();
44-
break;
45-
}
46-
}
4733
const reactHooksPlugin = (await import("eslint-plugin-react-hooks")).default;
4834
const { recommended: recommendedHooks } = reactHooksPlugin.configs.flat;
4935

0 commit comments

Comments
 (0)