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

[Formatting] add format-scripts #43

Open
Tracked by #39
psimk opened this issue Apr 19, 2022 · 0 comments
Open
Tracked by #39

[Formatting] add format-scripts #43

psimk opened this issue Apr 19, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@psimk
Copy link

psimk commented Apr 19, 2022

@pota/format-scripts

Commands

  • format - runs a code formatter, with auto-fixing
  • format:check - runs a formatter, that reports back any formatting issues

Description

We have already been using a setup similar to this in most of our templates, for example the @pota/muban-template:

package.json

"scripts": {
  "format": "prettier \"**/*.{js,jsx,ts,tsx,scss,md,json}\" --write --loglevel warn",
},

The commands can be implemented using prettier.


See #39 for context

@psimk psimk mentioned this issue Apr 19, 2022
7 tasks
@psimk psimk self-assigned this Apr 19, 2022
@psimk psimk added new-feature help wanted Extra attention is needed enhancement New feature or request and removed new-feature labels Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant