.eslintrc.js 494 B

12345678910111213141516171819
  1. module.exports = {
  2. env: {
  3. node: true,
  4. },
  5. extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
  6. parser: '@typescript-eslint/parser',
  7. parserOptions: {
  8. ecmaVersion: 8,
  9. },
  10. plugins: ['@typescript-eslint', 'prettier'],
  11. rules: {
  12. 'prettier/prettier': ['error'],
  13. '@typescript-eslint/explicit-module-boundary-types': 'off',
  14. '@typescript-eslint/no-explicit-any': 'off',
  15. '@typescript-eslint/no-unused-vars': 'off',
  16. 'no-empty': 'off',
  17. },
  18. };