-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.eslintrc.js
29 lines (29 loc) · 743 Bytes
/
.eslintrc.js
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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
env: {
node: true,
},
extends: [
'eslint:recommended',
'plugin:vue/base',
'plugin:vue/vue3-essential',
'plugin:vue/vue3-recommended',
'plugin:vue/vue3-strongly-recommended',
'plugin:@typescript-eslint/recommended',
'@vue/typescript/recommended',
'@vue/prettier',
'@vue/eslint-config-typescript',
],
plugins: ['@typescript-eslint'],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
'no-console': 'off',
'no-control-regex': 'off',
'@typescript-eslint/no-this-alias': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/multi-word-component-names': 'off',
},
};