
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
@puzzleitc/mrm-task-prettier
Advanced tools
mrm task that adds Prettier to a project following our best practices
Mrm task to add the opinionated source code formatter Prettier to your project following our best practices.
We recommend to use Prettier in three phases:
Furthermore, consider the following aspects:
Within the directory of your project, execute the following command to setup Prettier in your project:
npx mrm @puzzleitc/mrm-task-prettier
tslint.json
file, not .tslintrc
or tslint.js
)..prettierrc
file:
filesPattern
in the Options section below)..prettierignore
file with the dist/
directory being ignored per default.husky
/lint-staged
.tslint-config-prettier
.NPM scripts
section below.These are the possible configuration options and their defaults:
--config:ignores "dist"
– Comma separated list of paths Prettier should ignore--config:filesPattern "./**/*.{js,ts,json,css,scss,html,md,yaml}"
– Glob for the files to be formatted with Prettier--config:lintingFilesPattern "src/**/*.ts"
– Glob for the scripts to be linted with lint:format
The following NPM scripts will be added to your package.json
and can be executed with npm run <script>
or yarn <script>
:
format
– formats all relevant files in your project with Prettierformat:upgrade
– updates Prettier to the latest version and re-formats all relevant files in your projectlint:format
– script to be called in your CI pipeline, to let the build fail when ill formatted code is committed without pre-commit hookThis work is licensed under the terms of the MIT license.
FAQs
mrm task that adds Prettier to a project following our best practices
We found that @puzzleitc/mrm-task-prettier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.