mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
fix: fix format-js task to reflect changes made to folder structure (#2342)
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please follow the template so that the reviewers can easily understand what the code changes affect --> # Summary Fixes following error while commiting: ``` ✖ yarn format-js: [error] No files matching the pattern were found: "./Example/src/**/*.tsx". error Command failed with exit code 2. ``` ## Test Plan Run `yarn format-js` or do a commit so hook will get ran. ### What's required for testing (prerequisites)? - ### What are the steps to reproduce (after prerequisites)? See test plan ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ | | Android | ✅ | ## Checklist <!-- Check completed item, when applicable, via: [X] --> - [X] I have tested this on a device and a simulator - [ ] I added documentation in `README.md` - [] I updated the typed files (typescript) - [ ] I added a test for the API in the `__tests__` folder
This commit is contained in:
committed by
GitHub
parent
171f3ba5d6
commit
dd57e9e83b
@@ -49,7 +49,7 @@
|
||||
"format": "yarn format-js && yarn format-ios && yarn format-java",
|
||||
"format-ios": "find apple/ common/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i",
|
||||
"format-java": "node ./scripts/format-java.js",
|
||||
"format-js": "prettier --write README.md CONTRIBUTING.md CODE_OF_CONDUCT.md USAGE.md ./src/**/*.{ts,tsx} ./Example/src/**/*.tsx",
|
||||
"format-js": "prettier --write README.md CONTRIBUTING.md CODE_OF_CONDUCT.md USAGE.md ./src/**/*.{ts,tsx} ./apps/**/*.tsx ./example/**/*.tsx ./*-example/**/*.tsx",
|
||||
"jest": "jest",
|
||||
"lint": "eslint --ext .ts,.tsx src",
|
||||
"peg": "pegjs -o src/lib/extract/transform.js ./src/lib/extract/transform.peg",
|
||||
|
||||
Reference in New Issue
Block a user