Commit e1d1b1edba29f1d726a01cbeb2f0dca16228d8a9

Authored by 史婷婷
1 parent 29a4345c

feat: 解决react-eslint报错

Showing 1 changed file with 2 additions and 1 deletions
... ... @@ -20,7 +20,8 @@
20 20 "noUnusedLocals": true,
21 21 "noUnusedParameters": true,
22 22 "noFallthroughCasesInSwitch": true,
23   - "noUncheckedSideEffectImports": true
  23 + "noUncheckedSideEffectImports": true,
  24 + "allowSyntheticDefaultImports": true
24 25 },
25 26 "include": ["src"]
26 27 }
... ...