forked from medusajs/medusa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Centralise ESLint rules (medusajs#2162)
* chore: centrilize eslint rules
- Loading branch information
1 parent
612a548
commit a94d981
Showing
42 changed files
with
550 additions
and
725 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,23 @@ | ||
# FILES TODO | ||
|
||
/packages/medusa/src/services/fulfillment-provider.js | ||
/packages/medusa/src/services/middleware.js | ||
/packages/medusa/src/subscribers/notification.js | ||
/packages/medusa/src/subscribers/order.js | ||
/packages/medusa/src/subscribers/product.js | ||
/packages/medusa/src/loaders/api.ts | ||
/packages/medusa/src/loaders/database.ts | ||
/packages/medusa/src/loaders/defaults.ts | ||
/packages/medusa/src/loaders/express.ts | ||
/packages/medusa/src/loaders/index.ts | ||
/packages/medusa/src/loaders/logger.ts | ||
/packages/medusa/src/loaders/models.ts | ||
/packages/medusa/src/loaders/passport.ts | ||
/packages/medusa/src/loaders/plugins.ts | ||
/packages/medusa/src/loaders/redis.ts | ||
/packages/medusa/src/loaders/repositories.ts | ||
/packages/medusa/src/loaders/services.ts | ||
/packages/medusa/src/loaders/subscribers.ts | ||
/packages/medusa/src/api/routes/admin/auth | ||
/packages/medusa/src/api/routes/admin/collections | ||
/packages/medusa/src/api/routes/store/carts | ||
/packages/medusa/src/api/routes/store/return-reasons | ||
/packages/medusa/src/api/routes/store/returns | ||
|
||
# JS Client | ||
/packages/medusa-js/src/resources/auth.ts | ||
/packages/medusa-js/src/resources/gift-cards.ts | ||
/packages/medusa-js/src/resources/line-items.ts | ||
/packages/medusa-js/src/resources/payment-methods.ts | ||
/packages/medusa-js/src/resources/product-variants.ts | ||
/packages/medusa-js/src/resources/regions.ts | ||
/packages/medusa-js/src/resources/return-reasons.ts | ||
/packages/medusa-js/src/resources/returns.ts | ||
/packages/medusa-js/src/resources/shipping-options.ts | ||
/packages/medusa-js/src/resources/swaps.ts | ||
/packages/medusa-js/src/resources/collections.ts | ||
/packages/medusa-js/src/types/ | ||
/packages/medusa-js/src/error.ts | ||
|
||
|
||
# END OF FILES TODO | ||
|
||
/packages/medusa/src/models | ||
/packages/medusa/src/repositories | ||
/packages/medusa/src/commands | ||
/packages/medusa/src/helpers | ||
/packages/medusa/src/migrations | ||
/packages/medusa/src/utils | ||
/integration-tests | ||
/docs | ||
/docs-util | ||
/scripts | ||
/www | ||
/packages/babel-preset-medusa-package | ||
/packages/create-medusa-app | ||
/packages/medusa-cli | ||
/packages/medusa-core-utils | ||
/packages/medusa-dev-cli | ||
/packages/medusa-file-minio | ||
/packages/medusa-file-s3 | ||
/packages/medusa-file-spaces | ||
/packages/medusa-fulfillment-manual | ||
/packages/medusa-fulfillment-webshipper | ||
/packages/medusa-interfaces | ||
/packages/medusa-payment-adyen | ||
/packages/medusa-payment-klarna | ||
/packages/medusa-payment-manual | ||
/packages/medusa-payment-paypal | ||
/packages/medusa-payment-stripe | ||
/packages/medusa-plugin-meilisearch | ||
/packages/medusa-plugin-add-ons | ||
/packages/medusa-plugin-brightpearl | ||
/packages/medusa-plugin-contentful | ||
/packages/medusa-plugin-discount-generator | ||
/packages/medusa-plugin-economic | ||
/packages/medusa-plugin-ip-lookup | ||
/packages/medusa-plugin-mailchimp | ||
/packages/medusa-plugin-permissions | ||
/packages/medusa-plugin-restock-notification | ||
/packages/medusa-plugin-segment | ||
/packages/medusa-plugin-sendgrid | ||
/packages/medusa-plugin-slack-notification | ||
/packages/medusa-plugin-twilio-sms | ||
/packages/medusa-plugin-wishlist | ||
/packages/medusa-telemetry | ||
/packages/medusa-test-utils | ||
typedoc.* | ||
jest* | ||
|
||
packages/**/scripts | ||
packages/*/*.js | ||
**/dist/* | ||
packages/* | ||
# List of packages to Lint | ||
!packages/medusa | ||
|
||
integration-tests/* | ||
#!integration-tests/api | ||
|
||
|
||
**/models/* | ||
**/scripts/* | ||
**/dist/* | ||
**/node_modules/* | ||
**/migrations/* | ||
**/__mocks__/* | ||
**/__tests__/* | ||
|
||
jest.config.js | ||
.eslintrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.