-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: pre-commit code formatting #107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can skip decoders directory it contains huge files that don't really need formatting, analogously to this:
react-native-executorch/package.json
Line 32 in f1bfd5e
"lint": "eslint \"**/*.{js,ts,tsx}\" --ignore-pattern src/decoders/", |
WDYT?
It works only on staged files so it should be fine ⚡ |
ccae237
to
c922e54
Compare
## Description Add pre-commit code formatting ### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation) ### Tested on - [x] iOS - [x] Android ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [x] My changes generate no new warnings
Description
Add pre-commit code formatting
Type of change
Tested on
Checklist