chore: Centralise ESLint rules (#2162)

* chore: centrilize eslint rules
This commit is contained in:
Carlos R. L. Rodrigues
2022-09-13 07:42:33 -03:00
committed by GitHub
parent 612a548875
commit a94d9816fe
42 changed files with 527 additions and 702 deletions

View File

@@ -1,11 +1,12 @@
console.log(`
Oops! Medusa noticed some lint or style warnings in the code for this
commit. Your changes have been committed, but you should fix the warnings before
creating a pull request.
Use 'npm run lint' to manually re-run these checks. You can also disable these
Oops! Medusa noticed some lint or style issues in the code for this
commit. You need to fix the issues before pushing the changes.
Use 'yarn run lint' to manually re-run these checks. You can also disable these
checks:
- for a single commit: git commit --no-verify
- for all future commits: npm run hooks:uninstall
- for all future commits: yarn run hooks:uninstall
`)
process.exit(1)