Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #46 from productboard/feat/bundle-size-4EWwqDwlc
Browse files Browse the repository at this point in the history
Create .prettierrc file
  • Loading branch information
jukben authored Apr 18, 2019
2 parents e399620 + afd8bec commit e082fca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 26 deletions.
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"autoformat": true,
"extensions": ["js"],
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true
}
26 changes: 0 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,29 +64,3 @@ To find gulp binary also in mono-repos, `npx` is used. `npx` is included with np

## License
MIT

## Prettier config
```
{
// Autoformat files on save
"autoformat": true,
// Only attempt to format files with extensions set there
"extensions": ["js"],
// Fit code within this line limit
"printWidth": 80,
// Number of spaces it should use per tab
"tabWidth": 2,
// If true, will use single instead of double quotes
"singleQuote": true,
// Controls the printing of trailing commas wherever possible
"trailingComma": "all",
// Controls the printing of spaces inside array and objects
"bracketSpacing": true
}
```

0 comments on commit e082fca

Please sign in to comment.