You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

.eslintrc.js 366 B

1 year ago
1 year ago
1 year ago
12345678910111213141516
  1. module.exports = {
  2. extends: [
  3. require.resolve('@umijs/lint/dist/config/eslint'),
  4. 'plugin:react/recommended',
  5. 'plugin:react-hooks/recommended',
  6. ],
  7. globals: {
  8. page: true,
  9. REACT_APP_ENV: true,
  10. },
  11. rules: {
  12. '@typescript-eslint/no-use-before-define': 'off',
  13. 'react/react-in-jsx-scope': 'off',
  14. 'react/display-name': 'off',
  15. },
  16. };