.eslintrc.cjs 617 B

12345678910111213141516171819202122232425262728
  1. /* eslint-env node */
  2. require('@rushstack/eslint-patch/modern-module-resolution')
  3. module.exports = {
  4. root: true,
  5. extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/eslint-config-prettier/skip-formatting', './.eslintrc-auto-import.json'],
  6. parserOptions: {
  7. ecmaVersion: 'latest'
  8. },
  9. rules: {
  10. 'vue/multi-word-component-names': 0,
  11. 'max-len': [
  12. 'warn',
  13. {
  14. code: 200
  15. }
  16. ],
  17. 'prettier/prettier': [
  18. 'warn',
  19. {
  20. singleQuote: true,
  21. bracketSpacing: true,
  22. jsxBracketSameLine: true,
  23. printWidth: 200
  24. }
  25. ]
  26. }
  27. }