0
0

eslint.config.js 436 B

12345678910111213141516171819
  1. import js from '@eslint/js'
  2. import pluginVue from 'eslint-plugin-vue'
  3. import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
  4. export default [
  5. {
  6. name: 'app/files-to-lint',
  7. files: ['**/*.{js,mjs,jsx,vue}'],
  8. },
  9. {
  10. name: 'app/files-to-ignore',
  11. ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
  12. },
  13. js.configs.recommended,
  14. ...pluginVue.configs['flat/essential'],
  15. skipFormatting,
  16. ]