chore: Centralise ESLint rules (#2162)
* chore: centrilize eslint rules
This commit is contained in:
committed by
GitHub
parent
612a548875
commit
a94d9816fe
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user