-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
58 lines (58 loc) · 1.45 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module.exports = {
env: {
browser: true,
node: true,
},
plugins: ['nuxt', 'sort-class-members', 'prettier', 'tailwindcss'],
extends: [
'@nuxtjs/eslint-config-typescript',
'plugin:vue/strongly-recommended',
'plugin:nuxt/recommended',
'plugin:tailwindcss/recommended',
'plugin:prettier/recommended',
'prettier',
],
root: true,
rules: {
'array-callback-return': 0,
'arrow-body-style': 0,
'global-require': 0,
'import/newline-after-import': 0,
'import/no-extraneous-dependencies': 0,
'import/no-named-default': 0,
'import/no-unresolved': 0,
'import/prefer-default-export': 0,
'no-console': 0,
'no-debugger': 0,
'no-multi-assign': 0,
'no-param-reassign': 0,
'no-shadow': 0,
'no-underscore-dangle': 0,
'prefer-promise-reject-errors': 0,
'vue/html-self-closing': [
'error',
{
html: {
component: 'always',
normal: 'always',
void: 'always',
},
math: 'always',
svg: 'always',
},
],
'vue/multi-word-component-names': 0,
'vue/mustache-interpolation-spacing': ['error', 'always'],
'vue/no-multi-spaces': [
'error',
{
ignoreProperties: false,
},
],
'tailwindcss/no-custom-classname': 0,
'vue/order-in-components': 2,
'vue/require-component-is': 0,
'vue/this-in-template': ['error', 'never'],
'vue/v-on-style': ['error', 'shorthand'],
},
}