materio-d9/.eslintrc.js

44 lines
811 B
JavaScript
Raw Permalink Normal View History

module.exports = {
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'plugin:vue-a11y/base',
'standard',
// 'plugin:prettier/recommended'
],
plugins: [
'vue',
2020-11-25 22:49:17 +01:00
'vue-a11y',
'no-autofix'
],
rules: {
'no-unused-vars': ["warn"],
'camelcase': 'off',
2020-11-25 22:49:17 +01:00
'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,
2020-11-25 22:49:17 +01:00
"CKEDITOR": true,
"drupalDecoupled": true
}
}