Skip to content

Commit a45afdc

Browse files
authored
chore: prettier everything! (#4114)
* chore(format): prettier everything (except HTML/CSS) * chore: format with prettier * chore: use prettier on CSS files * chore: explain why we don't format HTML files
1 parent 27cd262 commit a45afdc

File tree

89 files changed

+567
-567
lines changed

Some content is hidden

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

89 files changed

+567
-567
lines changed

.git2gus/config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"productTag": "a1aB0000000g309IAA",
3-
"defaultBuild": "250",
4-
"hideWorkItemUrl": true
2+
"productTag": "a1aB0000000g309IAA",
3+
"defaultBuild": "250",
4+
"hideWorkItemUrl": true
55
}

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 52 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,52 @@
1-
---
2-
name: Bug
3-
about: Create an issue to help us improve
4-
5-
---
6-
7-
### Description
8-
9-
#### Steps to Reproduce
10-
11-
12-
<!--
13-
If LWC specific issue, update link with your example
14-
-->
15-
https://playground.lwc.dev
16-
17-
<!--
18-
if specific code snippet, paste the example here
19-
-->
20-
```js
21-
const your => (code) => here;
22-
```
23-
24-
#### Expected Results
25-
<!-- Example: No error is throw -->
26-
27-
#### Actual Results
28-
<!-- Example: Error is thrown -->
29-
30-
### Browsers Affected
31-
<!-- List of browsers and versions affected -->
32-
33-
### Version
34-
<!--
35-
Node project
36-
package.json
37-
versions < 0.17: "lwc-engine": "0.16.8"
38-
versions >= 0.17: "lwc-engine": "0.17.2"
39-
-->
40-
- LWC: x.x.x
41-
42-
43-
**Possible Solution**
44-
<!--- Only if you have suggestions on a fix for the bug -->
45-
46-
**Additional context/Screenshots**
47-
Add any other context about the problem here. If applicable, add screenshots to help explain.
1+
---
2+
name: Bug
3+
about: Create an issue to help us improve
4+
---
5+
6+
### Description
7+
8+
#### Steps to Reproduce
9+
10+
<!--
11+
If LWC specific issue, update link with your example
12+
-->
13+
14+
https://playground.lwc.dev
15+
16+
<!--
17+
if specific code snippet, paste the example here
18+
-->
19+
20+
```js
21+
const your => (code) => here;
22+
```
23+
24+
#### Expected Results
25+
26+
<!-- Example: No error is throw -->
27+
28+
#### Actual Results
29+
30+
<!-- Example: Error is thrown -->
31+
32+
### Browsers Affected
33+
34+
<!-- List of browsers and versions affected -->
35+
36+
### Version
37+
38+
<!--
39+
Node project
40+
package.json
41+
versions < 0.17: "lwc-engine": "0.16.8"
42+
versions >= 0.17: "lwc-engine": "0.17.2"
43+
-->
44+
45+
- LWC: x.x.x
46+
47+
**Possible Solution**
48+
49+
<!--- Only if you have suggestions on a fix for the bug -->
50+
51+
**Additional context/Screenshots**
52+
Add any other context about the problem here. If applicable, add screenshots to help explain.
Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
5-
---
6-
7-
**Is your feature request related to a problem? Please describe.**
8-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9-
10-
**Describe the solution you'd like**
11-
A clear and concise description of what you want to happen.
12-
13-
**Describe alternatives you've considered**
14-
A clear and concise description of any alternative solutions or features you've considered.
15-
16-
**Additional context**
17-
Add any other context or screenshots about the feature request here.
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/workflows/benchmark.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@ name: Run Best benchmark
33
# We could run on every PR, but there is not much need right now.
44
# By running on every push to master, we get historical Best data for the master branch.
55
on:
6-
push:
7-
branches: [ master ]
6+
push:
7+
branches: [master]
88

99
env:
10-
BEST_FRONTEND_CLIENT_TOKEN: ${{secrets.BEST_FRONTEND_CLIENT_TOKEN}}
11-
BEST_FRONTEND_HOSTNAME: ${{secrets.BEST_FRONTEND_HOSTNAME}}
12-
BEST_HUB_CLIENT_TOKEN: ${{secrets.BEST_HUB_CLIENT_TOKEN}}
13-
BEST_HUB_HOSTNAME: ${{secrets.BEST_HUB_HOSTNAME}}
14-
PUPPETEER_SKIP_DOWNLOAD: "true" # only needed for @best/runner-local, unused here
10+
BEST_FRONTEND_CLIENT_TOKEN: ${{secrets.BEST_FRONTEND_CLIENT_TOKEN}}
11+
BEST_FRONTEND_HOSTNAME: ${{secrets.BEST_FRONTEND_HOSTNAME}}
12+
BEST_HUB_CLIENT_TOKEN: ${{secrets.BEST_HUB_CLIENT_TOKEN}}
13+
BEST_HUB_HOSTNAME: ${{secrets.BEST_HUB_HOSTNAME}}
14+
PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here
1515

1616
jobs:
17-
run-best-performance-tests:
18-
# It is important to use this image so that we have a consistent IP address that can be allowlisted by Best infra
19-
runs-on: salesforce-Ubuntu
20-
steps:
21-
- name: Checkout repository
22-
uses: actions/checkout@v3
17+
run-best-performance-tests:
18+
# It is important to use this image so that we have a consistent IP address that can be allowlisted by Best infra
19+
runs-on: salesforce-Ubuntu
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v3
2323

24-
- name: Setup Node
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: "18.18.0"
28-
cache: 'yarn'
24+
- name: Setup Node
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: '18.18.0'
28+
cache: 'yarn'
2929

30-
- name: Install dependencies
31-
run: yarn install --frozen-lockfile
30+
- name: Install dependencies
31+
run: yarn install --frozen-lockfile
3232

33-
- name: Build benchmarks
34-
run: yarn build:performance
33+
- name: Build benchmarks
34+
run: yarn build:performance
3535

36-
- name: Run benchmarks
37-
run: yarn test:performance:best:ci
36+
- name: Run benchmarks
37+
run: yarn test:performance:best:ci

.github/workflows/integration.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
name: Run WebDriverIO integration tests
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
- release
8-
- 'spring*'
9-
- 'summer*'
10-
- 'winter*'
11-
pull_request:
12-
branches:
13-
- master
14-
- release
15-
- 'spring*'
16-
- 'summer*'
17-
- 'winter*'
4+
push:
5+
branches:
6+
- master
7+
- release
8+
- 'spring*'
9+
- 'summer*'
10+
- 'winter*'
11+
pull_request:
12+
branches:
13+
- master
14+
- release
15+
- 'spring*'
16+
- 'summer*'
17+
- 'winter*'
1818

1919
env:
20-
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
21-
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
22-
SAUCE_TUNNEL_ID: github-action-tunnel-karma-${{github.run_id}}
23-
PUPPETEER_SKIP_DOWNLOAD: "true" # only needed for @best/runner-local, unused here
24-
GITHUB_RUN_ID: ${{github.run_id}}
20+
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
21+
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
22+
SAUCE_TUNNEL_ID: github-action-tunnel-karma-${{github.run_id}}
23+
PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here
24+
GITHUB_RUN_ID: ${{github.run_id}}
2525

2626
jobs:
27-
run-integration-tests:
28-
runs-on: ubuntu-22.04
29-
defaults:
30-
run:
31-
working-directory: ./packages/@lwc/integration-tests
32-
steps:
33-
- name: Checkout repository
34-
uses: actions/checkout@v3
27+
run-integration-tests:
28+
runs-on: ubuntu-22.04
29+
defaults:
30+
run:
31+
working-directory: ./packages/@lwc/integration-tests
32+
steps:
33+
- name: Checkout repository
34+
uses: actions/checkout@v3
3535

36-
- name: Setup Node
37-
uses: actions/setup-node@v3
38-
with:
39-
node-version: "18.18.0"
40-
cache: 'yarn'
36+
- name: Setup Node
37+
uses: actions/setup-node@v3
38+
with:
39+
node-version: '18.18.0'
40+
cache: 'yarn'
4141

42-
- name: Install dependencies
43-
run: yarn install --frozen-lockfile
44-
working-directory: ./
42+
- name: Install dependencies
43+
run: yarn install --frozen-lockfile
44+
working-directory: ./
4545

46-
- uses: saucelabs/sauce-connect-action@v2
47-
with:
48-
username: ${{ secrets.SAUCE_USERNAME }}
49-
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
50-
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
46+
- uses: saucelabs/sauce-connect-action@v2
47+
with:
48+
username: ${{ secrets.SAUCE_USERNAME }}
49+
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
50+
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
5151

52-
- run: yarn sauce:prod --browsers chrome
53-
- run: yarn sauce:dev --browsers chrome
52+
- run: yarn sauce:prod --browsers chrome
53+
- run: yarn sauce:dev --browsers chrome

0 commit comments

Comments
 (0)