12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- module.exports = {
- parserOptions: {
- parser: 'babel-eslint'
- },
- extends: [
- 'eslint:recommended',
- 'plugin:vue/vue3-recommended',
- 'plugin:vue-a11y/base',
- 'standard',
- // 'plugin:prettier/recommended'
- ],
- plugins: [
- 'vue',
- 'vue-a11y',
- 'no-autofix'
- ],
- rules: {
- 'no-unused-vars': ["warn"],
- 'camelcase': 'warn',
- 'eqeqeq': 'warn',
- 'no-redeclare': 'warn'
- },
- ignorePatterns: [
- "vendor/**",
- "web/core/**"
- ],
- globals: {
- "Drupal": true,
- "drupalSettings": true,
- "drupalTranslations": true,
- "domready": true,
- "jQuery": true,
- "_": true,
- "matchMedia": true,
- "Cookies": true,
- "Backbone": true,
- "Modernizr": true,
- "Popper": true,
- "Sortable": true,
- "CKEDITOR": true,
- "drupalDecoupled": true
- }
- }
|