.eslintrc.js 691 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. module.exports = {
  2. parserOptions: {
  3. parser: 'babel-eslint'
  4. },
  5. extends: [
  6. 'eslint:recommended',
  7. 'plugin:vue/vue3-recommended',
  8. 'plugin:vue-a11y/base',
  9. 'standard',
  10. // 'plugin:prettier/recommended'
  11. ],
  12. plugins: [
  13. 'vue',
  14. 'vue-a11y'
  15. ],
  16. rules: {
  17. 'no-unused-vars': ["warn"],
  18. },
  19. ignorePatterns: [
  20. "vendor/**",
  21. "web/core/**"
  22. ],
  23. globals: {
  24. "Drupal": true,
  25. "drupalSettings": true,
  26. "drupalTranslations": true,
  27. "domready": true,
  28. "jQuery": true,
  29. "_": true,
  30. "matchMedia": true,
  31. "Cookies": true,
  32. "Backbone": true,
  33. "Modernizr": true,
  34. "Popper": true,
  35. "Sortable": true,
  36. "CKEDITOR": true
  37. }
  38. }