-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
37 lines (37 loc) · 823 Bytes
/
.eslintrc.js
File metadata and controls
37 lines (37 loc) · 823 Bytes
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
module.exports = {
root: true,
env: {
browser: true,
node: true,
'jest/globals': true
},
parserOptions: {
parser: '@babel/eslint-parser',
requireConfigFile: false,
babelOptions: {
babelrc: false,
configFile: false
}
},
extends: [
'@nuxtjs/eslint-config'
// 'plugin:nuxt/recommended',
// 'plugin:prettier/recommended',
// 'prettier',
// 'prettier/vue',
],
plugins: ['jest'],
// add your custom rules here
rules: {
'nuxt/no-cjs-in-config': 'off',
camelcase: 'off',
'no-console': 'off',
'arrow-parens': 'off',
'import/order': 'off',
'space-in-parens': 'off',
'eol-last': 'off',
'space-before-function-paren': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-v-text-v-html-on-component': 'off'
}
}