.eslintrc.cjs 638 B

1234567891011121314151617181920212223242526272829
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true,
  5. browser: true,
  6. es2021: true
  7. },
  8. parser: 'vue-eslint-parser',
  9. parserOptions: {
  10. parser: '@typescript-eslint/parser',
  11. ecmaVersion: 12,
  12. sourceType: 'module',
  13. ecmaFeatures: {
  14. jsx: true
  15. }
  16. },
  17. extends: [
  18. 'eslint:recommended',
  19. 'plugin:vue/vue3-essential',
  20. 'plugin:@typescript-eslint/recommended',
  21. 'plugin:prettier/recommended'
  22. ],
  23. plugins: ['vue', '@typescript-eslint', 'prettier'],
  24. rules: {
  25. 'prettier/prettier': 'error',
  26. 'vue/multi-word-component-names': 'off',
  27. '@typescript-eslint/no-explicit-any': 'off'
  28. }
  29. }