-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.cjs
36 lines (36 loc) · 956 Bytes
/
.eslintrc.cjs
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
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
'@vue/airbnb',
'plugin:cypress/recommended',
],
plugins: [
'vuetify',
'cypress',
],
rules: {
// 'no-console' : process.env.NODE_ENV === 'production' ? 'error' : 'off',
// 'no-debugger' : process.env.NODE_ENV === 'production' ? 'error' : 'off',
'prefer-destructuring': ['error', {
array: false,
object: true,
}],
'vuetify/no-deprecated-classes': 'error',
'vuetify/grid-unknown-attributes': 'error',
'vuetify/no-legacy-grid': 'error',
'no-underscore-dangle': 0,
'linebreak-style': 0,
'vue/multi-word-component-names': 0,
'vuejs-accessibility/click-events-have-key-events': 0,
// 'vue/return-in-computed-property': 0,
},
parserOptions: {
parser: '@babel/eslint-parser',
ecmaVersion: 6,
sourceType: 'module',
},
};