-
Notifications
You must be signed in to change notification settings - Fork 122
/
.eslintrc.js
43 lines (43 loc) · 1.01 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
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'@nuxtjs',
'plugin:nuxt/recommended'
],
// add your custom rules here
rules: {
'nuxt/no-cjs-in-config': 'off',
'quotes': 'off',
'semi': 'off',
'space-before-function-paren': 'off',
'indent': 'off',
'no-tabs': 'off',
'comma-dangle': 'off',
'eol-last': 'off',
'arrow-parens': 'off',
'no-console': 'off',
'vue/singleline-html-element-content-newline': 'off',
'no-trailing-spaces': 'off',
'prefer-const': 'off',
'eqeqeq': 'off',
'quote-props': 'off',
'space-before-blocks': 'off',
'vue/max-attributes-per-line': 'off',
'vue/attributes-order': 'off',
'vue/order-in-components': 'off',
'vue/html-self-closing': 'off',
'vue/no-v-html': 'off',
'no-multi-spaces': 'off',
'object-shorthand': 'warn',
'no-unused-vars': 'warn',
'camelcase': 'off',
"vue/comment-directive": 'off',
}
}