Skip to content

Commit 23f43ab

Browse files
author
Josh Goldberg
authored
Bump Prettier and Prettier accessories to 2.x (emotion-js#2387)
* chore: bump Prettier and Prettier accessories to 2.x Excluded Markdown files because some of them had a lot of noise. * Undid .md, .mdx changes * Undid site/CHANGELOG.md changes too
1 parent 5af8486 commit 23f43ab

File tree

90 files changed

+1576
-1765
lines changed

Some content is hidden

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

90 files changed

+1576
-1765
lines changed

.github/workflows/main.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
test:
11-
name: "Tests on ${{matrix.platform}}"
11+
name: 'Tests on ${{matrix.platform}}'
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -194,5 +194,3 @@ jobs:
194194
run: yarn lint:check
195195
- name: TypeScript
196196
run: cd packages/${{ matrix.package }} && yarn test:typescript
197-
198-

.prettierrc.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
arrowParens: avoid
12
semi: false
23
singleQuote: true
4+
trailingComma: none
35
overrides:
4-
- files: "docs/*.md"
5-
options:
6-
printWidth: 60
7-
- files: "*.js"
8-
options:
9-
parser: flow
6+
- files: 'docs/*.md'
7+
options:
8+
printWidth: 60
9+
- files: '*.js'
10+
options:
11+
parser: flow

CODE_OF_CONDUCT.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
3030
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
31+
- Other conduct which could reasonably be considered inappropriate in a
3232
professional setting
3333

3434
## Our Responsibilities
@@ -71,4 +71,4 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi
7171
available at [http://contributor-covenant.org/version/1/4][version]
7272

7373
[homepage]: http://contributor-covenant.org
74-
[version]: http://contributor-covenant.org/version/1/4/
74+
[version]: http://contributor-covenant.org/version/1/4/

codecov.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
comment: # https://docs.codecov.io/docs/pull-request-comments
2-
layout: "files"
2+
layout: 'files'
33
behavior: once
4-
require_changes: true # if true: only post the comment if coverage changes
5-
require_base: no # [yes :: must have a base report to post]
6-
require_head: yes # [yes :: must have a head report to post]
4+
require_changes: true # if true: only post the comment if coverage changes
5+
require_base: no # [yes :: must have a base report to post]
6+
require_head: yes # [yes :: must have a head report to post]
77
branches: null

flow-typed/npm/jest-glamor-react_vx.x.x.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

16-
import type {JestSnapshotSerializer} from 'jest'
17-
16+
import type { JestSnapshotSerializer } from 'jest'
1817

1918
interface GlamorStyleSheet {
2019
tags: Array<HTMLStyleElement>;
2120
}
2221
declare module 'jest-glamor-react' {
23-
declare module.exports: JestSnapshotSerializer & (sheet: GlamorStyleSheet) => JestSnapshotSerializer
22+
declare module.exports: JestSnapshotSerializer &
23+
((sheet: GlamorStyleSheet) => JestSnapshotSerializer)
2424
}

0 commit comments

Comments
 (0)