.eslintrc.js 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. module.exports = {
  2. // root: true,
  3. // env: {
  4. // browser: true,
  5. // es2021: true,
  6. // node: true,
  7. // 'vue/setup-compiler-macros': true,
  8. // },
  9. // plugins: ['@typescript-eslint'],
  10. // parser: 'vue-eslint-parser',
  11. // parserOptions: {
  12. // parser: '@typescript-eslint/parser',
  13. // sourceType: 'module',
  14. // ecmaVersion: 2021,
  15. // },
  16. // extends: [
  17. // 'eslint:recommended',
  18. // 'plugin:@typescript-eslint/recommended',
  19. // 'plugin:vue/vue3-recommended',
  20. // '@vue/typescript/recommended',
  21. // '@vue/prettier',
  22. // ],
  23. //
  24. // rules: {
  25. // 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  26. // 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  27. // 'prettier/prettier': ['warn', {}, { usePrettierrc: true }],
  28. // '@typescript-eslint/no-non-null-assertion': 0,
  29. // '@typescript-eslint/no-explicit-any': 0, // allow explicit any's because of the legacy code and ts-less deps, but still prohibit IMplicit any's
  30. // 'vue/multi-word-component-names': 0,
  31. // 'vue/no-lone-template': 0,
  32. // },
  33. }