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

Lib: Use prettier to format our files #198

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Conversation

louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Apr 15, 2024

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Related issues

NA

Description

Install prettier package
Install prettier extension
Make sure IDE settings.json doesn't conflict with these on save for example (search for settings inside parameters) (at least on workspace)
3 files to review mainly: .prettierrc, .prettierignore and package.json
Ran npx prettier . --write

Should we add other formatter/linter ? Mainly thinking about ESLint here but also stylelint could be added. If yes, we might consider adding package that handle the interface between the two (eslint-plugin-prettier).

Motivation & Context

Avoid having several file format depending on the one writing.

Types of change

  • Refactoring (non-breaking change)

@louismaximepiton louismaximepiton added enhancement New feature or request library labels Apr 15, 2024
Copy link

netlify bot commented Apr 15, 2024

Deploy Preview for ods-charts ready!

Name Link
🔨 Latest commit f070af3
🔍 Latest deploy log https://app.netlify.com/sites/ods-charts/deploys/6627bd8174736c00083d1e4e
😎 Deploy Preview https://deploy-preview-198--ods-charts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@louismaximepiton louismaximepiton marked this pull request as ready for review April 16, 2024 09:30
julien-deramond and others added 2 commits April 23, 2024 15:53
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
@julien-deramond julien-deramond self-requested a review April 23, 2024 13:54
@julien-deramond julien-deramond merged commit 71d0dc6 into main Apr 23, 2024
4 checks passed
@julien-deramond julien-deramond deleted the main-lmp-use-prettier branch April 23, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants