Skip to content

Commit 27f1def

Browse files
authored
Migrate to ESLint 9 (#3118)
Feature branch for the ESLint 9 migration. Closes #3097.
1 parent d736d82 commit 27f1def

File tree

609 files changed

+3457
-5084
lines changed

Some content is hidden

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

609 files changed

+3457
-5084
lines changed

.eslintrc.js

Lines changed: 0 additions & 109 deletions
This file was deleted.

.github/workflows/build-lint-test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ jobs:
168168
name: Lint
169169
runs-on: ubuntu-latest
170170
needs: prepare
171-
strategy:
172-
fail-fast: false
173-
matrix:
174-
package-name: ${{ fromJson(needs.prepare.outputs.all-workspace-package-names) }}
175171
steps:
176172
- uses: actions/checkout@v4
177173
- name: Setup Node
@@ -180,7 +176,8 @@ jobs:
180176
node-version-file: '.nvmrc'
181177
cache: yarn
182178
- run: yarn --immutable --immutable-cache
183-
- run: yarn workspace ${{ matrix.package-name }} run lint:ci
179+
- name: Lint
180+
run: yarn lint
184181
- name: Require clean working directory
185182
shell: bash
186183
run: |
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
// All of these are defaults except singleQuote, but we specify them
22
// for explicitness
3-
module.exports = {
3+
const config = {
44
quoteProps: 'as-needed',
55
singleQuote: true,
66
tabWidth: 2,
77
trailingComma: 'all',
8+
plugins: ['prettier-plugin-packagejson'],
89
};
10+
11+
export default config;

0 commit comments

Comments
 (0)