Skip to content

Commit

Permalink
Bug 1826062 - Upgrade Prettier to v2.0.5. r=mossop
Browse files Browse the repository at this point in the history
Also keeps 'arrowParens' as 'avoid', rather than switching to the new Prettier default of 'always'.

Differential Revision: https://phabricator.services.mozilla.com/D177018
  • Loading branch information
Standard8 committed May 20, 2023
1 parent 96be3a0 commit 4ee0b4f
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 100 deletions.
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/* eslint-env node */

module.exports = {
arrowParens: "avoid",
endOfLine: "lf",
printWidth: 80,
tabWidth: 2,
Expand Down
150 changes: 76 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-spidermonkey-js": "file:tools/lint/eslint/eslint-plugin-spidermonkey-js",
"jsdoc": "4.0.2",
"prettier": "1.19.1",
"prettier": "2.0.5",
"stylelint": "^15.6.0",
"stylelint-config-recommended": "^12.0.0",
"yarn": "1.22.19"
Expand Down
Loading

0 comments on commit 4ee0b4f

Please sign in to comment.