-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
40 lines (40 loc) · 937 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
31
32
33
34
35
36
37
38
39
40
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: [
'@nuxtjs/eslint-config-typescript',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
],
plugins: ['prettier'],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars-experimental': 'off',
'import/named': 'off',
'no-undef': 'off',
'no-console': 'off',
'standard/no-callback-literal': 0,
'vue/no-v-html': 0,
'import/order': ['off'],
'vue/valid-v-bind-sync': 0,
'lines-between-class-members': 0,
'vue/attribute-hyphenation': 0,
'vue/attributes-order': 0,
'no-useless-escape': 0,
'no-unneeded-ternar': 0,
'no-prototype-builtins': 0,
'no-useless-return': 0,
'no-unneeded-ternary': 0,
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
};