0
0

eslint.config.js 345 B

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