Skip to content

Commit

Permalink
chore(prettier): uses javascript rc
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Feb 6, 2022
1 parent 8c09c85 commit 33fca67
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tsconfig.tsbuildinfo
# Used when building with nextjs (next-eslint)
!.eslintrc.base.json
!.prettierignore
!.prettierrc.json
!.prettierrc.js
!.eslintignore

# npm
Expand Down
24 changes: 24 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// @ts-check

/**
* @type {import('prettier').Config}
*/
module.exports = {
singleQuote: true,
semi: true,
tabWidth: 2,
bracketSpacing: true,
trailingComma: 'es5',
bracketSameLine: false,
useTabs: false,
endOfLine: 'lf',
overrides: [
{
files: '*.md',
options: {
singleQuote: false,
quoteProps: 'preserve',
},
},
],
};
19 changes: 0 additions & 19 deletions .prettierrc.json

This file was deleted.

0 comments on commit 33fca67

Please sign in to comment.