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.

1234567891011
  1. module.exports = {
  2. parser: '@typescript-eslint/parser',
  3. plugins: ['@typescript-eslint'],
  4. rules: {
  5. 'no-debugger': 2,
  6. // 禁止使用 var
  7. 'no-var': 'error',
  8. // 优先使用 interface 而不是 type
  9. // '@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
  10. },
  11. }