added fix option to eslint

This commit is contained in:
2020-11-25 22:49:17 +01:00
parent 1c1fb294c5
commit ed9e62718c
14 changed files with 384 additions and 4076 deletions

View File

@@ -11,10 +11,14 @@ module.exports = {
],
plugins: [
'vue',
'vue-a11y'
'vue-a11y',
'no-autofix'
],
rules: {
'no-unused-vars': ["warn"],
'camelcase': 'warn',
'eqeqeq': 'warn',
'no-redeclare': 'warn'
},
ignorePatterns: [
"vendor/**",
@@ -33,6 +37,7 @@ module.exports = {
"Modernizr": true,
"Popper": true,
"Sortable": true,
"CKEDITOR": true
"CKEDITOR": true,
"drupalDecoupled": true
}
}