Undo accidental commit of .eslintrc.js
This commit is contained in:
parent
32bf06ea59
commit
0a9007cc33
1 changed files with 9 additions and 2 deletions
11
.eslintrc.js
11
.eslintrc.js
|
|
@ -7,7 +7,9 @@ module.exports = {
|
|||
ecmaVersion: 'latest'
|
||||
},
|
||||
extends: [
|
||||
'plugin:vue/vue3-recommended'
|
||||
'eslint-config-airbnb-base',
|
||||
'plugin:vue/vue3-recommended',
|
||||
'plugin:jsdoc/recommended'
|
||||
],
|
||||
rules: {
|
||||
'linebreak-style': 'off',
|
||||
|
|
@ -28,6 +30,10 @@ module.exports = {
|
|||
singleline: 'never',
|
||||
multiline: 'never'
|
||||
}],
|
||||
'jsdoc/check-tag-names': ['error', {
|
||||
definedTags: ['store', 'endpoint', 'category', 'subcategory', 'remarks']
|
||||
}],
|
||||
'jsdoc/require-jsdoc': 0,
|
||||
'vue/html-self-closing': ['error', {
|
||||
html: {
|
||||
void: 'any',
|
||||
|
|
@ -37,6 +43,7 @@ module.exports = {
|
|||
svg: 'always',
|
||||
math: 'always'
|
||||
}],
|
||||
'import/extensions': ['error', 'always', { js: 'ignorePackages' }],
|
||||
'no-param-reassign': ['error', { props: true, ignorePropertyModificationsFor: ['item'] }],
|
||||
'no-restricted-syntax': ['off', 'ForOfStatement'],
|
||||
'no-return-await': 'off'
|
||||
|
|
@ -49,4 +56,4 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue