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

.eslintrc.js 399B

123456789101112131415
  1. module.exports = {
  2. root: true,
  3. parser: '@typescript-eslint/parser',
  4. plugins: ['@typescript-eslint'],
  5. extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
  6. overrides: [
  7. {
  8. // enable the rule specifically for TypeScript files
  9. files: ['*.ts', '*.tsx'],
  10. rules: {
  11. '@typescript-eslint/explicit-module-boundary-types': [0],
  12. },
  13. },
  14. ],
  15. }