Skip to content

Commit

Permalink
chore: rename prettierrc.js
Browse files Browse the repository at this point in the history
vscode prettier plugin unable to resolve the plugins properly
  • Loading branch information
ifiokjr committed Jul 13, 2020
1 parent a1db0e3 commit f6ef866
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ cc-reporter
/lingui.config.js
/jest.config.js
/.vscode
/.prettierrc
/.prettierrc.js
/.huskyrc
/.lintstagedrc
/tsconfig.json
Expand Down
22 changes: 0 additions & 22 deletions support/root/.prettierrc

This file was deleted.

22 changes: 22 additions & 0 deletions support/root/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
bracketSpacing: true,
endOfLine: 'lf',
jsxBracketSameLine: false,
jsxSingleQuote: true,
plugins: [require.resolve('prettier-plugin-packagejson')],
printWidth: 100,
proseWrap: 'always',
semi: true,
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
useTabs: false,
overrides: [
{
files: ['.github/**/*.md', '.changeset/**/*.md'],
options: {
proseWrap: 'never',
},
},
],
};

0 comments on commit f6ef866

Please sign in to comment.