module.exports = {
  extends: [require.resolve('@umijs/fabric/dist/eslint')],
  rules: {
    'no-console': 'off',
    'no-underscore-dangle': 'off',
    '@typescript-eslint/no-unused-vars': 0,
    '@typescript-eslint/no-shadow': 1,
    'no-param-reassign': 1,
    'array-callback-return': 1,
    'no-plusplus': 'off',
    '@typescript-eslint/no-unused-expressions': 1,
    '@typescript-eslint/consistent-type-imports': 0,
    'for-direction': 0,
    '@typescript-eslint/no-unused-expressions': 0,
  },
  globals: {
    ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
    page: true,
    REACT_APP_ENV: true,
  },
};
