-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.cjs
47 lines (47 loc) · 1.03 KB
/
.eslintrc.cjs
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,
extends: [
'@morev/eslint-config/base',
'@morev/eslint-config/node',
'@morev/eslint-config/browser',
'@morev/eslint-config/preset/typescript',
'@morev/eslint-config/preset/assistive',
'@morev/eslint-config/preset/vue2',
],
rules: {
// TODO: Should be fixed in the config itself
'import/no-unresolved': 'off',
},
overrides: [
{
files: ['*.vue'],
rules: {
'vue/no-bare-strings-in-template': ['off'],
'vue/no-unused-properties': ['off'],
'vue/no-undef-components': ['off'],
'import/no-named-as-default-member': ['off'],
},
},
{
files: ['*.md'],
rules: {
'markdownlint/md046': ['off'],
'markdownlint/md041': ['off'],
},
},
{
files: ['**/builders/**/*.js', '**/playground/main.js', 'nuxt-module/**/*'],
rules: {
'import/no-extraneous-dependencies': 'off',
'node/no-extraneous-import': 'off',
},
},
{
files: ['**/scripts/**/*.js'],
rules: {
'no-console': 'off',
'import/no-dynamic-require': 'off',
},
},
],
};