Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
- run: yarn lint
env:
# Optimize Node.js memory for ESLint performance in large monorepos
# See: https://typescript-eslint.io/troubleshooting/typed-linting/performance
NODE_OPTIONS: '--max-semi-space-size=256 --max-old-space-size=8192'
- name: Require clean working directory
shell: bash
run: |
Expand Down
6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ const config = createConfig([
// Enabling it with error suppression breaks `--fix`, because the autofixer for this rule
// does not work very well.
'jsdoc/require-jsdoc': 'off',
// Performance optimizations for large monorepos
// See: https://typescript-eslint.io/troubleshooting/typed-linting/performance
// Prettier runs separately via `yarn lint:misc`, no need to run through ESLint (~30% savings)
// 'prettier/prettier': 'off',
// This rule is very expensive (~22% of lint time) and provides limited value
// 'import-x/namespace': 'off',
},
settings: {
jsdoc: {
Expand Down
Loading