物管理前端
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.

28 lines
616 B

  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true,
  5. },
  6. extends: [
  7. 'plugin:vue/vue3-essential',
  8. 'eslint:recommended',
  9. '@vue/typescript/recommended',
  10. '@vue/prettier',
  11. '@vue/prettier/@typescript-eslint',
  12. ],
  13. parserOptions: {
  14. ecmaVersion: 2020,
  15. ecmaFeatures: {
  16. jsx: true,
  17. },
  18. },
  19. rules: {
  20. 'no-console': 'off',
  21. 'no-debugger': 'warn',
  22. 'vue/no-unused-components': 'off',
  23. '@typescript-eslint/no-explicit-any': ['off'],
  24. '@typescript-eslint/ban-ts-comment': ['off'],
  25. '@typescript-eslint/no-var-requires': 0,
  26. 'vue/no-unused-vars': 'off',
  27. },
  28. };