Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/upgrade eslint #479

Merged
merged 13 commits into from
Jun 2, 2022
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const currentYear = (new Date()).getFullYear();
module.exports = {
extends: [
'plugin:prettier/recommended',
'eslint-config-fusion',
'plugin:vue/essential',
],
env: {
Expand All @@ -15,11 +14,13 @@ module.exports = {
scenario: true, // mocha
should: true, // mocha
},
parserOptions: {
ecmaVersion: 2020,
},
plugins: ['jest', 'import', 'eslint-plugin-header'],
rules: {
curly: ['error', 'all'],
'dot-notation': 'error',
'flowtype/require-valid-file-annotation': [2, 'never'],
'header/header': [
'error',
'line',
Expand Down Expand Up @@ -151,6 +152,7 @@ module.exports = {
'order': ['script', 'template', 'style'],
}
],
'vue/multi-word-component-names': 'off',
},
settings: {
'import/resolver': {
Expand Down
Loading