-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.yml
More file actions
46 lines (43 loc) · 1.03 KB
/
.eslintrc.yml
File metadata and controls
46 lines (43 loc) · 1.03 KB
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
root: true
parser: vue-eslint-parser
parserOptions:
parser: '@typescript-eslint/parser'
sourceType: module
plugins:
- '@typescript-eslint'
- only-warn
extends:
- eslint:recommended
env:
browser: true
node: true
rules:
no-unused-vars:
- warn
- argsIgnorePattern: _.*
varsIgnorePattern: _.*
generator-star-spacing: off
overrides:
- files: ['*.js']
- files: ['*.ts']
excludedFiles: ['*.d.ts']
extends:
- plugin:@typescript-eslint/recommended
- files: ['*.vue', '*.tsx', '*.jsx']
extends:
- plugin:vue/vue3-strongly-recommended
rules:
no-unused-vars: off
vue/singleline-html-element-content-newline: off
vue/max-attributes-per-line: off
vue/html-self-closing: off
vue/html-closing-bracket-newline: off
vue/html-indent: off
vue/multi-word-component-names: off
- files: ['src/lib/**/*.vue']
rules:
vue/require-name-property: warn
- files: ['src/**/*']
excludedFiles: ['src/lib/**/*']
rules:
vue/require-default-prop: off