-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration to autoformat the root changelog.txt file as markdown. It's authored with markdown syntax but the .txt extension prevents autoformatting. Apply autoformatting to markdown files: ```sh npm run format -- changelog.txt "packages/*/CHANGELOG.md" ``` Add a `linguist-language=Markdown` git attribute to changelog.txt so that GitHub treats it as markdown. --- Co-authored-by: sirreal <[email protected]> Co-authored-by: ellatrix <[email protected]>
- Loading branch information
1 parent
a054c20
commit 8b713db
Showing
7 changed files
with
30,567 additions
and
28,571 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,3 +1,11 @@ | ||
// Import the default config file and expose it in the project root. | ||
// Useful for editor integrations. | ||
module.exports = require( '@wordpress/prettier-config' ); | ||
module.exports = { | ||
...require( '@wordpress/prettier-config' ), | ||
overrides: [ | ||
{ | ||
files: [ 'changelog.txt' ], | ||
options: { parser: 'markdown' }, | ||
}, | ||
], | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.