@slhs/prettier-config

3.0.0 • Public • Published

@slhs/prettier-config

This is the SLHS Prettier configuration.

npm Version Build Status

Install

npm install --save-dev prettier @slhs/prettier-config

Usage

Follow the Prettier documentation on sharing configurations.

Examples

prettier.config.js

const prettierConfig = require('@slhs/prettier-config');

module.exports = {
  ...prettierConfig,
  // overrides here
};

.prettierignore

.vscode
dist
dist-ssr
package.json
package-lock.json
**/*.typegen.ts

package.json

{
  "scripts": {
    ...
    "format": "prettier --cache --write .",
    ...
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    2,412
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    2,412
  • 2.0.0
    0
  • 1.0.1
    129
  • 1.0.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @slhs/prettier-config

Weekly Downloads

2,541

Version

3.0.0

License

none

Unpacked Size

3.08 kB

Total Files

3

Last publish

Collaborators

  • slhs