Skip to content

Commit

Permalink
support java via prettier-plugin-java
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Jul 13, 2020
1 parent 91c487f commit 753984c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@ module.exports = {
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
overrides: [
{
files: ['*.java'],
options: {
printWidth: 140,
tabWidth: 4,
useTabs: false,
trailingComma: 'none',
},
},
],
};

0 comments on commit 753984c

Please sign in to comment.