Skip to content

Commit

Permalink
fix(prettier): use .js file
Browse files Browse the repository at this point in the history
.prettierrc cannot be used as an extension
  • Loading branch information
nihalgonsalves committed Apr 25, 2021
1 parent 8e39a14 commit 9147c0c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'package.json'
- 'yarn.lock'
- '.eslintrc'
- '.prettierrc'
- '.prettierrc.js'
- 'tsconfig.json'
- '.github/workflows/publish.yml'
jobs:
Expand Down
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
singleQuote: true,
trailingComma: 'all',
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"files": [
".eslintrc",
".prettierrc",
".prettierrc.js",
"tsconfig.json"
],
"standard-version": {
Expand Down

0 comments on commit 9147c0c

Please sign in to comment.