-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update Prettier to v3 (#1799)
chore: upgrade Prettier to v3 Required inlining our shared Edu prettier config, because its latest versions are only published to the private Github package registry, which EDS can't access.
- Loading branch information
Showing
3 changed files
with
62 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
const config = require('@chanzuckerberg/prettier-config-edu'); | ||
|
||
module.exports = { | ||
...config, | ||
// Shared Edu config from https://github.com/chanzuckerberg/edu-libs/tree/main/packages/prettier-config-edu. | ||
// Copied here, because EDS is open source and can't use the private package directly. | ||
arrowParens: 'always', | ||
plugins: ['prettier-plugin-tailwindcss'], | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
|
||
// Override of our shared config. Should we remove this and use the same config as our other | ||
// Override of our shared config. Should we change this and use the same config as our other | ||
// repos? Doing so would result in a large diff (every file would be updated). | ||
bracketSpacing: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters