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

Prettier: Update Cheat Sheet #408

Open
coolaj86 opened this issue Feb 17, 2022 · 0 comments
Open

Prettier: Update Cheat Sheet #408

coolaj86 opened this issue Feb 17, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@coolaj86
Copy link
Member

We need to add the dependency-free prettier usage to the cheat sheet:

{
    "scripts": {
        "prettier": "npx [email protected] -w '**/*.{md,js,html,css}'"
    }
}
npm run prettier

We also need to add some sort of prettier-init that automatically adds that line and the .prettierrc.json and .prettierignore to current repo.

@coolaj86 coolaj86 added the documentation Improvements or additions to documentation label Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant