Skip to content

Commit 7d9ed21

Browse files
authored
Update everything (#260)
1 parent 2a2438e commit 7d9ed21

File tree

8 files changed

+1944
-1572
lines changed

8 files changed

+1944
-1572
lines changed

.github/workflows/check.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest]
19-
node-version: [18]
19+
node-version: [20]
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -39,10 +39,10 @@ jobs:
3939
run: npm ci --no-audit
4040

4141
- name: ESLint
42-
run: npx --no-install eslint .
42+
run: npx eslint .
4343

4444
- name: Prettier
45-
run: npx --no-install prettier --check .
45+
run: npx prettier --check .
4646

4747
- name: Build
4848
run: npm run build

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest, macOS-latest]
19-
node-version: [14, 16, 18, 19]
19+
node-version: [16, 18, 20]
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -39,7 +39,7 @@ jobs:
3939
run: npm ci --no-audit
4040

4141
- name: Jest
42-
run: npx --no-install jest
42+
run: npx jest
4343

4444
- name: CLI sanity
4545
run: npm run test:cli-sanity

.prettierrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"proseWrap": "never",
3-
"quoteProps": "consistent"
3+
"quoteProps": "consistent",
4+
"trailingComma": "es5"
45
}

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This lets you use your favorite shareable config without letting its stylistic c
66

77
Note that this config _only_ turns rules _off,_ so it only makes sense using it together with some other config.
88

9+
[prettier]: https://github.com/prettier/prettier
10+
911
## Installation
1012

1113
Install eslint-config-prettier:
@@ -714,7 +716,6 @@ When you’re done, run `npm test` to verify that you got it all right. It runs
714716
[overrides]: https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns
715717
[package.json]: https://github.com/prettier/eslint-config-prettier/blob/main/package.json
716718
[prefer-arrow-callback]: https://eslint.org/docs/rules/prefer-arrow-callback
717-
[prettier]: https://github.com/prettier/prettier
718719
[quotes]: https://eslint.org/docs/rules/quotes
719720
[singlequote]: https://prettier.io/docs/en/options.html#quotes
720721
[string formatting rules]: https://prettier.io/docs/en/rationale.html#strings

0 commit comments

Comments
 (0)