-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yaml
38 lines (29 loc) · 1.1 KB
/
.eslintrc.yaml
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
root: true
parser: 'vue-eslint-parser'
parserOptions:
parser: '@typescript-eslint/parser'
env:
node: true
browser: true
'vue/setup-compiler-macros': true
extends:
- 'eslint:recommended'
# Uncomment any of the lines below to choose desired strictness,
# but leave only one uncommented!
# See https://eslint.vuejs.org/rules/#available-rules
# "plugin:vue/vue3-essential", # Priority A: Essential (Error Prevention)
# 'plugin:vue/vue3-strongly-recommended', # Priority B: Strongly Recommended (Improving Readability)
- 'plugin:vue/vue3-recommended' # Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
# --- ONLY WHEN USING PRETTIER ---
# https://github.com/prettier/eslint-config-prettier#installation
# usage with Prettier, provided by 'eslint-config-prettier'.
- prettier
plugins:
- vue
- perfectionist
rules:
'no-unused-vars': [ 'warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' } ]
no-case-declarations: off
'vue/multi-word-component-names': 'off'
'vue/no-v-html': 'off'
perfectionist/sort-imports: [ "warn" ]