$ cnpm install mrm-task-prettier
.prettierrcnpx mrm prettier
Now run:
npm run format
See Mrm docs for more details.
indent (default: tab)Indentation, tab or number of spaces. Will be overwritten by options from EditorConfig.
prettierOptionsPrettier options, by default will try to infer options from EditorConfig.
prettierOverridesPrettier overrides, by default will use overrides for Markdown to improve documentation readability.
prettierPattern (default: auto based on your dependencies)Glob pattern to match file that should be formatted, for example **/*.{ts,tsx}.
The changelog can be found in CHANGELOG.md.
Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.
Artem Sapegin and contributors.
MIT License, see the included License.md file.
Copyright 2013 - present © cnpmjs.org | Home |