-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.cjs
49 lines (49 loc) · 945 Bytes
/
.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
48
49
module.exports = {
env: {
node: true,
},
root: true,
plugins: [
'import',
'prettier'
],
extends: [
'airbnb-base',
'airbnb-typescript/base',
'plugin:vue/vue3-essential',
],
rules: {
'import/no-unresolved': 0,
'import/extensions': 0,
},
settings: {
'import/parser': {
'@typescript-eslint/parser': [
'.ts',
'.tsx',
],
},
'import/resolver': {
typescript: {
project: [
'packages/*/tsconfig.eslint.json',
'apps/*/tsconfig.eslint.json',
],
},
},
},
// This rule disables the import/no-extraneous-dependencies rule for build and test files
overrides: [
{
files: [
'**/rollup.config.mjs',
'**/test/**/*.ts',
'**/*.config.ts',
],
rules: {
'import/no-extraneous-dependencies': 'off',
'vue/multi-word-component-names': 0
},
},
],
};