Created
September 25, 2021 17:41
-
-
Save peruibeloko/501a3c35c73d38ed1347c1335055cb6c to your computer and use it in GitHub Desktop.
ESLint config for Vue 3 projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
extends: 'eslint:recommended', | |
plugins: ['plugin:vue/vue3-recommended', 'eslint:recommended'], | |
env: { | |
es2021: true, | |
browser: true | |
}, | |
rules: { | |
'arrow-parens': ['warn', 'as-needed'], | |
'comma-dangle': ['warn', 'never'], | |
quotes: ['warn', 'single'], | |
'no-unused-vars': [ | |
'error', | |
{ | |
varsIgnorePattern: '^_', | |
argsIgnorePattern: '^_' | |
} | |
] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment