.eslintrc.cjs 535 B

123456789101112131415161718192021222324
  1. /* eslint-env node */
  2. require('@rushstack/eslint-patch/modern-module-resolution')
  3. module.exports = {
  4. root: true,
  5. extends: [
  6. 'plugin:vue/vue3-essential',
  7. 'eslint:recommended',
  8. '@vue/eslint-config-typescript',
  9. '@vue/eslint-config-prettier'
  10. ],
  11. overrides: [
  12. {
  13. files: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}', 'cypress/support/**/*.{js,ts,jsx,tsx}'],
  14. extends: ['plugin:cypress/recommended']
  15. }
  16. ],
  17. parserOptions: {
  18. ecmaVersion: 'latest'
  19. },
  20. rules: {
  21. 'no-debugger': 'off'
  22. }
  23. }