.eslintrc.cjs 628 B

1234567891011121314151617181920212223242526272829
  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. ],
  10. parserOptions: {
  11. ecmaVersion: 'latest'
  12. },
  13. rules: {
  14. "@typescript-eslint/no-unused-vars": [
  15. "warn",
  16. {
  17. "args": "all",
  18. "argsIgnorePattern": "^_",
  19. "caughtErrors": "all",
  20. "caughtErrorsIgnorePattern": "^_",
  21. "destructuredArrayIgnorePattern": "^_",
  22. "varsIgnorePattern": "^_",
  23. "ignoreRestSiblings": true
  24. }
  25. ]
  26. },
  27. }