1
0

eslint.config.js 738 B

12345678910111213141516171819
  1. // import pluginVue from 'eslint-plugin-vue'
  2. // import vueTsEslintConfig from '@vue/eslint-config-typescript'
  3. // import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
  4. // export default [
  5. // ...pluginVue.configs['flat/essential', 'plugin:vue/vue3-recommended', 'eslint:recommended'],
  6. // ...vueTsEslintConfig(),
  7. // {
  8. // name: 'app/files-to-lint',
  9. // files: ['**/*.{ts,mts,tsx,vue}'],
  10. // rules: { '@typescript-eslint/no-explicit-any': 0 } // todo: 孙老,此处可以不加,程序中不建议用any,如果确实无法判断建议采用unknown
  11. // },
  12. // {
  13. // name: 'app/files-to-ignore',
  14. // ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**']
  15. // },
  16. // skipFormatting
  17. // ]