.eslintrc.js 240 B

1234567891011
  1. module.exports = {
  2. extends: [require.resolve('@umijs/fabric/dist/eslint')],
  3. globals: {
  4. ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
  5. page: true,
  6. REACT_APP_ENV: true,
  7. },
  8. rules: {
  9. 'no-redeclare': 0,
  10. },
  11. };