Skip to content

Commit 3e51ddb

Browse files
authored
Move syntax formatting to prettier (vercel#7454)
* Run prettier over packages/**/*.js * Run prettier over packages/**/*.ts * Run prettier over examples * Remove tslint * Run prettier over examples * Run prettier over all markdown files * Run prettier over json files
1 parent 9ccbb1f commit 3e51ddb

File tree

205 files changed

+4756
-3882
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+4756
-3882
lines changed

.github/ISSUE_TEMPLATE/1.Bug_report.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,25 @@ A clear and concise description of what the bug is.
1212
## To Reproduce
1313

1414
Steps to reproduce the behavior, please provide code snippets or a repository:
15+
1516
1. Go to '...'
1617
2. Click on '....'
1718
3. Scroll down to '....'
1819
4. See error
1920

2021
## Expected behavior
22+
2123
A clear and concise description of what you expected to happen.
2224

2325
## Screenshots
26+
2427
If applicable, add screenshots to help explain your problem.
2528

2629
## System information
27-
- OS: [e.g. macOS, Windows]
28-
- Browser (if applies) [e.g. chrome, safari]
29-
- Version of Next.js: [e.g. 6.0.2]
30+
31+
- OS: [e.g. macOS, Windows]
32+
- Browser (if applies) [e.g. chrome, safari]
33+
- Version of Next.js: [e.g. 6.0.2]
3034

3135
## Additional context
3236

.github/ISSUE_TEMPLATE/2.Feature_request.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ about: Create a feature request for the Next.js core
66
# Feature request
77

88
## Is your feature request related to a problem? Please describe.
9+
910
A clear and concise description of what you want and what your use case is.
1011

1112
## Describe the solution you'd like
13+
1214
A clear and concise description of what you want to happen.
1315

1416
## Describe alternatives you've considered
17+
1518
A clear and concise description of any alternative solutions or features you've considered.
1619

1720
## Additional context
21+
1822
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/3.Example_Bug_report.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,35 @@ about: Create a bug report for one of the Next.js examples
66
# Examples bug report
77

88
## Example name
9+
910
Provide the example name
1011

1112
## Describe the bug
13+
1214
A clear and concise description of what the bug is.
1315

1416
## To Reproduce
17+
1518
Steps to reproduce the behavior, please provide code snippets or a repository:
19+
1620
1. Go to '...'
1721
2. Click on '....'
1822
3. Scroll down to '....'
1923
4. See error
2024

2125
## Expected behavior
26+
2227
A clear and concise description of what you expected to happen.
2328

2429
## Screenshots
30+
2531
If applicable, add screenshots to help explain your problem.
2632

2733
## System information
28-
- OS: [e.g. macOS, Windows]
29-
- Browser (if applies) [e.g. chrome, safari]
30-
- Version of Next.js: [e.g. 6.0.2]
34+
35+
- OS: [e.g. macOS, Windows]
36+
- Browser (if applies) [e.g. chrome, safari]
37+
- Version of Next.js: [e.g. 6.0.2]
3138

3239
## Additional context
3340

CODE_OF_CONDUCT.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
## Code of Conduct
22

3-
### Our Pledge
3+
### Our Pledge
44

5-
In the interest of fostering an open and welcoming environment, we as
5+
In the interest of fostering an open and welcoming environment, we as
66
contributors and maintainers pledge to making participation in our project and
77
our community a harassment-free experience for everyone, regardless of age, body
88
size, disability, ethnicity, gender identity and expression, level of experience,
99
nationality, personal appearance, race, religion, or sexual identity and
1010
orientation.
1111

12-
### Our Standards
12+
### Our Standards
1313

14-
Examples of behavior that contributes to creating a positive environment
14+
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
- Using welcoming and inclusive language
17+
- Using welcoming and inclusive language
1818
- Being respectful of differing viewpoints and experiences
1919
- Gracefully accepting constructive criticism
2020
- Focusing on what is best for the community
2121
- Showing empathy towards other community members
2222

23-
Examples of unacceptable behavior by participants include:
23+
Examples of unacceptable behavior by participants include:
2424

25-
- The use of sexualized language or imagery and unwelcome sexual attention or
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
2626
advances
2727
- Trolling, insulting/derogatory comments, and personal or political attacks
2828
- Public or private harassment
@@ -31,44 +31,44 @@ include:
3131
- Other conduct which could reasonably be considered inappropriate in a
3232
professional setting
3333

34-
### Our Responsibilities
34+
### Our Responsibilities
3535

36-
Project maintainers are responsible for clarifying the standards of acceptable
36+
Project maintainers are responsible for clarifying the standards of acceptable
3737
behavior and are expected to take appropriate and fair corrective action in
3838
response to any instances of unacceptable behavior.
3939

40-
Project maintainers have the right and responsibility to remove, edit, or
40+
Project maintainers have the right and responsibility to remove, edit, or
4141
reject comments, commits, code, wiki edits, issues, and other contributions
4242
that are not aligned to this Code of Conduct, or to ban temporarily or
4343
permanently any contributor for other behaviors that they deem inappropriate,
4444
threatening, offensive, or harmful.
4545

46-
### Scope
46+
### Scope
4747

48-
This Code of Conduct applies both within project spaces and in public spaces
48+
This Code of Conduct applies both within project spaces and in public spaces
4949
when an individual is representing the project or its community. Examples of
5050
representing a project or community include using an official project e-mail
5151
address, posting via an official social media account, or acting as an appointed
5252
representative at an online or offline event. Representation of a project may be
5353
further defined and clarified by project maintainers.
5454

55-
### Enforcement
55+
### Enforcement
5656

57-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
5858
reported by contacting the project team at [[email protected]](mailto:[email protected]). All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.
6262
Further details of specific enforcement policies may be posted separately.
6363

64-
Project maintainers who do not follow or enforce the Code of Conduct in good
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
6565
faith may face temporary or permanent repercussions as determined by other
6666
members of the project's leadership.
6767

68-
### Attribution
68+
### Attribution
6969

70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
7171
available at [http://contributor-covenant.org/version/1/4][version]
7272

73-
[homepage]: http://contributor-covenant.org
73+
[homepage]: http://contributor-covenant.org
7474
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)