-
Notifications
You must be signed in to change notification settings - Fork 53
/
.eslintrc.yml
48 lines (43 loc) · 1.19 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
env:
browser: true
es2021: true
node: true
extends:
- google
- 'plugin:vue/essential'
- '@nuxtjs/eslint-config-typescript'
- eslint:recommended
- prettier
- prettier/prettier
parserOptions:
ecmaVersion: 12
parser: '@typescript-eslint/parser'
sourceType: module
plugins:
- vue
- '@typescript-eslint'
- prettier
rules:
'@typescript-eslint/no-unused-vars': off
no-unused-vars: off # This is needed to define vars in Vue Typescript and used in Vue template
indent: ["error", 2, { "ArrayExpression": 1, "MemberExpression": 2 }]
semi: ["error", "always"]
quotes: ["warn", "single"]
# Th following section of rules are specific to this Project
comma-dangle: off
guard-for-in: off
no-console: off
vue/attribute-hyphenation: off
# Buggy / not working rules
no-invalid-this: off # This Eslint rule doesn't work well with Vue
vue/no-unused-components: off
## TO remove
import/named: off
require-jsdoc: off
valid-jsdoc: off
## The following rules are temp disabled before we fully enforce.
# The following rules are deprecated in ESLint v7.0.0
node/handle-callback-err: off
node/no-new-require: off
node/no-path-concat: off
ignorePatterns: ["docs"]