Skip to content

Commit

Permalink
feat(prettier-config): use json-stringify parser for prettying packag…
Browse files Browse the repository at this point in the history
…e.json files (#169)
  • Loading branch information
splincode authored Feb 8, 2022
1 parent da20616 commit 174d1e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/prettier-config/angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ module.exports = {
files: ['*.json', '.prettierrc', '.stylelintrc'],
options: { parser: 'json' },
},
{
files: ['package.json', 'ng-package.json'],
options: { parser: 'json-stringify' },
},
{
files: ['*.less'],
options: { parser: 'less' },
Expand Down

0 comments on commit 174d1e6

Please sign in to comment.