0.1.0 • Published 2 years ago
@qlik/eslint-config-vue v0.1.0
@qlik/eslint-config-vue
ESlint config for vue projects. Based on vue3-recommended/prettier config with some modifications.
usage
Add one of the following to package.json
or an equivalent .eslint
config file.
For javascript (.js, .vue) use:
"eslintConfig": {
"extends": [
"@qlik/eslint-config-vue"
],
"root": true
},
To enable linting on typescript (.ts, .vue with lang=ts):
"eslintConfig": {
"extends": [
"@qlik/eslint-config-vue/typescript"
],
"root": true
},
Additional configs that can be used in conjunction with the above:
"eslintConfig": {
"extends": [
"...",
"@qlik/eslint-config-svelte/jest" // adds linting on jest test and config files
// OR
"@qlik/eslint-config-svelte/vitest" // adds linting on vitest test and config files
// AND/OR
"@qlik/eslint-config-svelte/playwright" // adds linting on playwright test and config files
],
"root": true
},