@nice-move/prettier-config

0.11.3 • Public • Published

@nice-move/prettier-config prettier

A prettier config created by personal preferences.

npm github node

Extname support

  • .gql .md
  • .editorconfig
  • .css .less .scss
  • .cjs .mjs .js .jsx
  • .yml .yaml .ini .json
  • .htm .html .xml .svg .vue

Filename support

  • .npmrc
  • .babelrc
  • .sentryclirc
  • .ssh/config ssh_config

Mini progarm

  • .acss
  • .jxss
  • .ttss
  • .qss .qs
  • .wxss .wxs

Include plugins

Auto load plugins when they are installed

Addons support from kroki

  • .bpmn
  • .bytefield
  • .excalidraw
  • .markmap
  • .vega
  • .vegalite
  • .wavedrom
  • .wireviz

Installation

npm install prettier @nice-move/prettier-config --save-dev

Usage

Add to package.json

// example: package.json
{
  "prettier": "@nice-move/prettier-config"
}

Then run

prettier --write .

Editorconfig support

# .editorconfig

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
quote_type = single
tab_width = 2
trim_trailing_whitespace = true

Related

Package Sidebar

Install

npm i @nice-move/prettier-config

Weekly Downloads

150

Version

0.11.3

License

MIT

Unpacked Size

8.67 kB

Total Files

6

Last publish

Collaborators

  • airkro