Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@bigfishtv/prettier-config

Installation

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

Prettier Config

Default (JS) CSS PHP1
Print Width 120 200 120
Semi-colons N Y Y
Tabs vs Spaces Spaces Spaces Spaces
Tab Width 2 2 4
Bracket Same Line Y - -
Quotes Single Single Single
Trailing Commas es5 - all2
Supported Extensions * css, less php
  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

About

Prettier config used by Bigfish projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages