Skip to content

Commit

Permalink
Update everything (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell authored Jul 27, 2023
1 parent 2a2438e commit 7d9ed21
Show file tree
Hide file tree
Showing 8 changed files with 1,944 additions and 1,572 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18]
node-version: [20]

steps:
- uses: actions/checkout@v3
Expand All @@ -39,10 +39,10 @@ jobs:
run: npm ci --no-audit

- name: ESLint
run: npx --no-install eslint .
run: npx eslint .

- name: Prettier
run: npx --no-install prettier --check .
run: npx prettier --check .

- name: Build
run: npm run build
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [14, 16, 18, 19]
node-version: [16, 18, 20]

steps:
- uses: actions/checkout@v3
Expand All @@ -39,7 +39,7 @@ jobs:
run: npm ci --no-audit

- name: Jest
run: npx --no-install jest
run: npx jest

- name: CLI sanity
run: npm run test:cli-sanity
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"proseWrap": "never",
"quoteProps": "consistent"
"quoteProps": "consistent",
"trailingComma": "es5"
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This lets you use your favorite shareable config without letting its stylistic c

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

[prettier]: https://github.com/prettier/prettier

## Installation

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

0 comments on commit 7d9ed21

Please sign in to comment.