Skip to content
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

thisyahlen/chore: enforce camelcase #10308

Merged

Conversation

thisyahlen-deriv
Copy link
Contributor

Changes:

Please provide a summary of the change.

Screenshots:

Please provide some screenshots of the change.

@vercel
Copy link

vercel bot commented Sep 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Sep 27, 2023 1:20am

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/deriv-app/pull/10308](https://github.com/binary-com/deriv-app/pull/10308)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-thisyahlen-deriv-thisyahlen-eslintcamelcase.binary.sx?qa_server=red.binaryws.com&app_id=32678
    - **Original**: https://deriv-app-git-fork-thisyahlen-deriv-thisyahlen-eslintcamelcase.binary.sx
- **App ID**: `32678`

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 20
🟧 Accessibility 75
🟧 Best practices 83
🟧 SEO 85
🟢 PWA 90

Lighthouse ran with https://deriv-app-git-fork-thisyahlen-deriv-thisyahlen-eslintcamelcase.binary.sx/

markw-deriv
markw-deriv previously approved these changes Sep 26, 2023
Copy link
Contributor

@markw-deriv markw-deriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Love this.

Copy link
Contributor

@yashim-deriv yashim-deriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some TypeScript errors that are failing the test for this PR. Your code looks LGTM but if possible can you fix it here, tytyh2o

@sonarcloud
Copy link

sonarcloud bot commented Sep 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@yashim-deriv yashim-deriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed everything. Looks good 👍🏼

@yashim-deriv yashim-deriv merged commit 612a122 into binary-com:master Sep 27, 2023
6 checks passed
Copy link
Contributor

@hamza-deriv hamza-deriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -52,7 +52,7 @@ module.exports = {
'sort-keys': 'warn',
'typescript-sort-keys/interface': 'warn',
'typescript-sort-keys/string-enum': 'warn',
camelcase: 'warn',
camelcase: 'error',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 🚀

const location = useLocation();

return (
<WalletGradientBackground
currency={currency_config?.display_code || 'USD'}
currency={data?.currency_config?.display_code || 'USD'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const { currency_config , currency, landing_company_name, ...} = data

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of the camelcase i am not destructuring.

vinu-deriv pushed a commit that referenced this pull request Oct 10, 2023
* chore: enforce camelcase

* chore: fix circle ci and leftovers
vinu-deriv pushed a commit that referenced this pull request Oct 10, 2023
* chore: enforce camelcase

* chore: fix circle ci and leftovers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants