module.exports = {
env: {
browser: true,
es2021: true,
node: true,
'vue/setup-compiler-macros': true,
},
extends: [
'prettier',
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-essential',
'@vue/eslint-config-prettier',
],
parserOptions: {
parser: require.resolve('@typescript-eslint/parser'),
extraFileExtensions: ['.vue'],
},
plugins: ['@typescript-eslint', 'prettier', 'vue'],
rules: {
'prettier/prettier': [
2,
{
singleQuote: true,
printWidth: 120,
trailingComma: 'es5',
},
],
'prefer-promise-reject-errors': 0,
'no-useless-escape': 0,
'no-trailing-spaces': 0,
'no-multiple-empty-lines': 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'no-empty': 0,
'no-debugger': 2,
quotes: 0,
},
globals: {},
};