-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
62 lines (55 loc) · 1.13 KB
/
config.js
File metadata and controls
62 lines (55 loc) · 1.13 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
export const DEFAULT_LIMIT = 100;
export const IGNORED_PATHS = [
'**/node_modules/**',
'**/dist/**',
'**/build/**',
'**/coverage/**',
'**/out/**',
'**/test*/**',
'**/__tests__/**',
'**/tmp/**',
'**/.next/**',
'**/.git/**',
'**/logs/**',
'**/.idea/**'
];
export const MODULE_PATTERNS = [
'src/modules/*',
'src/*',
'packages/*',
'apps/*'
];
export const SERVICE_PATTERNS = [
'**/*Service.{js,ts}',
'**/services/**/*.{js,ts}',
'**/*Util.{js,ts}',
'**/*Helper.{js,ts}',
'**/*utils*.{js,ts}',
'**/*helper*.{js,ts}',
'**/*util*.{js,ts}'
];
export const ROUTE_PATTERNS = [
'**/routes/**/*.{js,ts}',
'**/controllers/**/*.{js,ts}',
'**/api/**/*.{js,ts}',
'**/*router*.{js,ts}',
'**/*route*.{js,ts}'
];
export const MODEL_PATTERNS = [
'**/models/**/*.{js,ts}',
'**/schemas/**/*.{js,ts}',
'**/entities/**/*.{js,ts}',
'**/*Model.{js,ts}',
'**/*Schema.{js,ts}'
];
export const UTIL_PATTERNS = [
'**/utils/**/*.{js,ts}',
'**/helpers/**/*.{js,ts}',
'**/lib/**/*.{js,ts}',
'**/*util*.{js,ts}',
'**/*helper*.{js,ts}'
];
export const SOURCE_PATTERNS = [
'src/**/*.{js,ts}',
'**/*.{js,ts}'
];