7bb8186e43
* chore: Fix self-closing tag issues * Fix merge conflicts Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
64 lines
1.5 KiB
JavaScript
64 lines
1.5 KiB
JavaScript
module.exports = {
|
|
extends: ['airbnb-base/legacy', 'prettier', 'plugin:vue/recommended'],
|
|
parserOptions: {
|
|
parser: 'babel-eslint',
|
|
ecmaVersion: 2020,
|
|
sourceType: 'module',
|
|
},
|
|
plugins: ['html', 'prettier', 'babel'],
|
|
rules: {
|
|
'prettier/prettier': ['error'],
|
|
camelcase: 'off',
|
|
'no-param-reassign': 'off',
|
|
'import/no-extraneous-dependencies': 'off',
|
|
'import/prefer-default-export': 'off',
|
|
'import/no-named-as-default': 'off',
|
|
'jsx-a11y/no-static-element-interactions': 'off',
|
|
'jsx-a11y/click-events-have-key-events': 'off',
|
|
'jsx-a11y/label-has-associated-control': 'off',
|
|
'jsx-a11y/label-has-for': 'off',
|
|
'jsx-a11y/anchor-is-valid': 'off',
|
|
'import/no-unresolved': 'off',
|
|
'vue/max-attributes-per-line': [
|
|
'error',
|
|
{
|
|
singleline: 20,
|
|
multiline: {
|
|
max: 1,
|
|
allowFirstLine: false,
|
|
},
|
|
},
|
|
],
|
|
'vue/html-self-closing': [
|
|
'error',
|
|
{
|
|
html: {
|
|
void: 'always',
|
|
normal: 'always',
|
|
component: 'always',
|
|
},
|
|
svg: 'always',
|
|
math: 'always',
|
|
},
|
|
],
|
|
'vue/no-v-html': 'off',
|
|
'vue/singleline-html-element-content-newline': 'off',
|
|
'import/extensions': ['off'],
|
|
'no-console': 'error',
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
webpack: {
|
|
config: 'config/webpack/resolve.js',
|
|
},
|
|
},
|
|
},
|
|
env: {
|
|
browser: true,
|
|
jest: true,
|
|
node: true,
|
|
},
|
|
globals: {
|
|
bus: true,
|
|
},
|
|
};
|