forked from nuxt-modules/i18n
/
.eslintrc.js
38 lines (38 loc) · 878 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
module.exports = {
root: true,
extends: [
'@nuxtjs/eslint-config-typescript'
],
plugins: [
'jest'
],
env: {
'jest/globals': true
},
overrides: [
{
files: [
'test/**/*'
],
plugins: [
'jest'
]
}
],
rules: {
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'arrow-parens': 'off',
'import/named': 'off',
'import/namespace': 'off',
'no-console': [
'error', {
allow: ['assert', 'warn', 'error', 'info']
}
],
'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'vue/multi-word-component-names': 'off',
'vue/html-closing-bracket-newline': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/singleline-html-element-content-newline': 'off'
}
}