simplify eslint config

This commit is contained in:
Matthias 2020-09-08 13:37:26 +02:00
parent 6940643fd8
commit 5e32141d31

View File

@ -7,17 +7,11 @@ module.exports = {
// 'plugin:vue/essential', // 'plugin:vue/essential',
'plugin:vue/recommended', 'plugin:vue/recommended',
'@vue/airbnb', '@vue/airbnb',
// 'prettier',
// 'plugin:prettier-vue/recommended',
// 'prettier/vue',
// 'prettier/@typescript-eslint',
// 'plugin:@typescript-eslint/recommended',
// '@vue/typescript',
// '@typescript-eslint',
'@vue/typescript/recommended', '@vue/typescript/recommended',
'@vue/prettier', '@vue/prettier',
'@vue/prettier/@typescript-eslint', '@vue/prettier/@typescript-eslint',
], ],
parser: 'vue-eslint-parser', parser: 'vue-eslint-parser',
parserOptions: { parserOptions: {
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
@ -30,8 +24,5 @@ module.exports = {
'class-methods-use-this': 0, 'class-methods-use-this': 0,
// disable eslint no-shadow as it's causing false positives on typescript enums // disable eslint no-shadow as it's causing false positives on typescript enums
'no-shadow': 'off', 'no-shadow': 'off',
// '@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
}, },
}; };