.eslintrc.js 547 B

123456789101112131415161718192021222324
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: [
  7. 'plugin:vue/essential',
  8. '@vue/standard',
  9. '@vue/typescript/recommended'
  10. ],
  11. globals: {
  12. $: true
  13. },
  14. parserOptions: {
  15. ecmaVersion: 2020
  16. },
  17. rules: {
  18. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  19. 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  20. 'no-any': [0, { 'ignore-rest-args': 0 }],
  21. '@typescript-eslint/no-explicit-any': ['off'],
  22. '@typescript-eslint/camelcase': ['off']
  23. }
  24. }