@bigfishtv/prettier-config

1.0.5 • Public • Published

@bigfishtv/prettier-config

Installation

yarn add -D @bigfishtv/prettier-config
echo "module.exports = require('@bigfishtv/prettier-config')" > prettier.config.js

Prettier Config

Default (JS/JSX/TS/TSX) CSS PHP1
Print Width 120 160 120
Semi-colons N Y Y
Tabs vs Spaces Spaces Spaces Spaces
Tab Width 2 2 4
Jsx Bracket Spacing Same Line Y - -
Quotes Single Single Single
Trailing Commas es5 - all2
  1. PHP is not yet part of this config, but this is what it will be when it is.
  2. This might change in future to be "php5.0" - dependent on prettier plugin implementation

Keywords

none

Install

npm i @bigfishtv/prettier-config

DownloadsWeekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

3.1 kB

Total Files

6

Last publish

Collaborators

  • alexbigfish
  • clay-bigfish
  • jacobclarke-bigfish
  • bigfishtv-developer
  • adamroyle