forked from logue/vite-vuetify-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
52 lines (52 loc) · 1.06 KB
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
root: true
env:
node: true
browser: true
es2021: true
extends:
- eslint:recommended
- google
- plugin:import/recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:import/typescript
- plugin:vue/vue3-recommended
- plugin:prettier-vue/recommended
- prettier
- plugin:yaml/recommended
- eslint-config-prettier
plugins:
- vue
- prettier
- yaml
- eslint-plugin-tsdoc
- '@typescript-eslint'
- vuejs-accessibility
parser: vue-eslint-parser
parserOptions:
ecmaVersion: latest
parser: '@typescript-eslint/parser'
sourceType: module
createDefaultProgram: true
project: ./tsconfig.json
rules:
new-cap: off
no-invalid-this: off
no-unused-vars: warn
prettier/prettier: error
require-jsdoc: warn
valid-jsdoc: off
import/no-named-as-default: off
vue/html-self-closing: [error, html: { void: always }]
vue/multi-word-component-names: warn
settings:
import/resolver:
typescript: {}
alias:
map:
- ['@', './src']
extensions:
- .js
- .ts
- .jsx
- .tsx
- .vue