Instabug-React-Native
Instabug-React-Native copied to clipboard
[MOB-9138] Add ESLint + Prettier
Description of the change
Add lint checks using ESLint and format checks using Prettier.
Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Related issues
Issue links go here
Checklists
Development
- [ ] Lint rules pass locally
- [ ] The code changed/added as part of this pull request has been covered with tests
Code review
- [ ] This pull request has a descriptive title and information useful to a reviewer
- [ ] Issue from task tracker has a link to this pull request
Codecov Report
Merging #802 (b17e7fb) into master (5f0e223) will increase coverage by
0.19%
. The diff coverage is98.52%
.
@@ Coverage Diff @@
## master #802 +/- ##
============================================
+ Coverage 58.53% 58.72% +0.19%
Complexity 91 91
============================================
Files 32 32
Lines 2489 2503 +14
Branches 239 239
============================================
+ Hits 1457 1470 +13
- Misses 1015 1016 +1
Partials 17 17
Flag | Coverage Δ | |
---|---|---|
android | 38.92% <ø> (ø) |
|
javascript | 96.62% <98.52%> (-0.07%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
src/index.ts | 0.00% <ø> (ø) |
|
src/models/Report.ts | 100.00% <ø> (ø) |
|
src/modules/APM.ts | 100.00% <ø> (ø) |
|
src/modules/CrashReporting.ts | 100.00% <ø> (ø) |
|
src/modules/Replies.ts | 100.00% <ø> (ø) |
|
src/modules/Surveys.ts | 100.00% <ø> (ø) |
|
src/modules/Instabug.ts | 99.52% <97.43%> (-0.48%) |
:arrow_down: |
src/modules/BugReporting.ts | 100.00% <100.00%> (ø) |
|
src/modules/FeatureRequests.ts | 100.00% <100.00%> (ø) |
|
src/modules/NetworkLogger.ts | 100.00% <100.00%> (ø) |
|
... and 3 more |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more