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