-
Notifications
You must be signed in to change notification settings - Fork 31
/
.eslintrc.js
47 lines (47 loc) · 1.13 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
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: '@babel/eslint-parser',
babelOptions: {
presets: ["@babel/preset-react"]
},
requireConfigFile: false,
},
plugins: [
'@babel'
],
extends: '@nuxtjs',
// add your custom rules here
rules: {
'arrow-parens': 'off',
'import/no-named-as-default-member': 'off',
'no-console': 'off',
'no-irregular-whitespace': 'off',
'prefer-promise-reject-errors': 'off',
'require-await': 'off',
'space-before-function-paren': 'off',
'vue/attribute-hyphenation': 'off',
'vue/no-side-effects-in-computed-properties': 'off',
'vue/no-unused-component': 'off',
'vue/no-v-html': 'off',
'vue/order-in-components': 'off',
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
'vue/require-v-for-key': 'off',
'vue/require-valid-default-prop': 'off',
'vue/return-in-computed-property': 'off',
'vue/valid-v-for': 'off'
},
globals: {
describe: true,
test: true,
expect: true,
beforeEach: true,
afterEach: true,
jest: true
}
}