Skip to content

Commit 4eb3e26

Browse files
authored
Blog post, changelog and docs for 1.19 (prettier#6787)
1 parent 98d27c7 commit 4eb3e26

27 files changed

Lines changed: 1030 additions & 844 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
- [ ] I’ve added tests to confirm my change works.
77
- [ ] (If changing the API or CLI) I’ve documented the changes I’ve made (in the `docs/` directory)
8-
- [ ] (If the change is user-facing) I’ve added my changes to the `CHANGELOG.unreleased.md` file following the template.
8+
- [ ] (If the change is user-facing) I’ve added my changes to `changelog_unreleased/*/pr-XXXX.md` file following `changelog_unreleased/TEMPLATE.md`.
99
- [ ] I’ve read the [contributing guidelines](https://github.com/prettier/prettier/blob/master/CONTRIBUTING.md).
1010

1111
**[Try the playground for this PR](https://prettier.io/playground-redirect)**

changelog_unreleased/TEMPLATE.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!--
2+
3+
1. Choose a folder based on which language your PR is for.
4+
5+
- For JavaScript, choose `javascript/` etc.
6+
- For TypeScript specific syntax, choose `typescript/`.
7+
- If your PR applies to multiple languages, such as TypeScript/Flow, choose one folder and mention which languages it applies to.
8+
9+
2. In your chosen folder, create a file with your PR number: `pr-XXXX.md`. For example: `typescript/pr-6728.md`.
10+
11+
3. Copy the content below and paste it in your new file.
12+
13+
4. Fill in a title, the PR number and your user name.
14+
15+
5. Optionally write a description. Many times it’s enough with just sample code.
16+
17+
6. Change ```jsx to your language. For example, ```yaml.
18+
19+
7. Change the `// Input` and `// Prettier` comments to the comment syntax of your language. For example, `# Input`.
20+
21+
8. Choose some nice input example code. Paste it along with the output before and after your PR.
22+
23+
-->
24+
25+
#### Title ([#XXXX](https://github.com/prettier/prettier/pull/XXXX) by [@user](https://github.com/user))
26+
27+
Optional description if it makes sense.
28+
29+
<!-- prettier-ignore -->
30+
```jsx
31+
// Input
32+
(foo ?? baz) || baz;
33+
34+
// Prettier stable
35+
foo ?? baz || baz;
36+
37+
// Prettier master
38+
(foo ?? baz) || baz;
39+
```

changelog_unreleased/angular/.gitkeep

Whitespace-only changes.

changelog_unreleased/api/.gitkeep

Whitespace-only changes.

changelog_unreleased/cli/.gitkeep

Whitespace-only changes.

changelog_unreleased/css/.gitkeep

Whitespace-only changes.

changelog_unreleased/flow/.gitkeep

Whitespace-only changes.

changelog_unreleased/graphql/.gitkeep

Whitespace-only changes.

changelog_unreleased/handlebars/.gitkeep

Whitespace-only changes.

changelog_unreleased/html/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)