-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
30 lines (30 loc) · 846 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
30
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'airbnb-base',
'airbnb-typescript/base',
'@vue/eslint-config-airbnb-with-typescript'
],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
'no-restricted-syntax': 'off',
'vue/multi-word-component-names': 'off',
'vuejs-accessibility/click-events-have-key-events': 'off',
'vuejs-accessibility/form-control-has-label': 'off'
},
};