Skip to content

Commit

Permalink
build: add prettier for formatting of non-js files
Browse files Browse the repository at this point in the history
  • Loading branch information
bhajneet authored and Harjot1Singh committed Oct 20, 2020
1 parent 8ae2010 commit f0a2bfa
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
}
]
}
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"mocha": "^7.1.1",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.0.0",
"prettier": "2.1.2",
"release-it": "^13.1.1",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
Expand Down

0 comments on commit f0a2bfa

Please sign in to comment.