|
1
|
/docs |
|
2
|
/docs-util |
|
3
|
/www |
|
4
|
typedoc.* |
|
5
|
jest* |
|
6
|
|
|
7
|
packages/* |
|
8
|
# List of packages to Lint |
|
9
|
!packages/medusa |
|
10
|
!packages/admin-ui |
|
11
|
!packages/admin |
|
12
|
!packages/admin-next |
|
13
|
!packages/admin-next/dashboard |
|
14
|
!packages/medusa-payment-stripe |
|
15
|
!packages/medusa-payment-paypal |
|
16
|
!packages/modules/event-bus-redis |
|
17
|
!packages/modules/event-bus-local |
|
18
|
!packages/medusa-plugin-meilisearch |
|
19
|
!packages/medusa-plugin-algolia |
|
20
|
!packages/modules/inventory |
|
21
|
!packages/modules/stock-location |
|
22
|
!packages/modules/cache-redis |
|
23
|
!packages/modules/cache-inmemory |
|
24
|
!packages/modules/caching |
|
25
|
!packages/modules/providers/caching-redis |
|
26
|
!packages/create-medusa-app |
|
27
|
!packages/modules/product |
|
28
|
!packages/modules/locking |
|
29
|
!packages/modules/translation |
|
30
|
!packages/core/orchestration |
|
31
|
!packages/core/workflows-sdk |
|
32
|
!packages/core/core-flows |
|
33
|
!packages/core/types |
|
34
|
!packages/medusa-react |
|
35
|
!packages/modules/workflow-engine-redis |
|
36
|
!packages/modules/workflow-engine-inmemory |
|
37
|
!packages/modules/fulfillment |
|
38
|
!packages/modules/providers/fulfillment-manual |
|
39
|
!packages/modules/providers/locking-postgres |
|
40
|
!packages/modules/providers/locking-redis |
|
41
|
!packages/modules/index |
|
42
|
!packages/eslint-plugin |
|
43
|
|
|
44
|
# Linted by @medusajs/eslint-plugin (Medusa convention rules). The root config |
|
45
|
# scopes the google/prettier/type style rules away from these via STYLE_EXCLUDED. |
|
46
|
!packages/plugins |
|
47
|
!packages/modules |
|
48
|
# Re-allow core-flows and framework under packages/core. Grandchild negations |
|
49
|
# can't re-include while the parent dir is excluded (packages/* excludes the |
|
50
|
# packages/core directory), so re-include the parent, re-exclude its children, |
|
51
|
# then re-include the specific packages we lint. |
|
52
|
# Note: framework is linted only for the style/other rules — the Medusa rules |
|
53
|
# are turned off for it in .eslintrc.js (see MEDUSA_EXCLUDED_DIRS). |
|
54
|
!packages/core |
|
55
|
packages/core/* |
|
56
|
!packages/core/core-flows |
|
57
|
!packages/core/framework |
|
58
|
|
|
59
|
|
|
60
|
**/models/* |
|
61
|
**/scripts/* |
|
62
|
**/dist/* |
|
63
|
**/node_modules/* |
|
64
|
**/migrations/* |
|
65
|
**/__mocks__/* |
|
66
|
|
|
67
|
# Re-allow module data models so the Medusa data-model rules can lint them |
|
68
|
# (the style rules still skip them via STYLE_EXCLUDED). |
|
69
|
!packages/modules/**/models/** |
|
70
|
|
|
71
|
.eslintrc.js |