disable eslint rule etc/no-deprecated for massive file save speedup (#57782)

With this rule enabled, saving a file in VS Code often takes 2-5 seconds or longer. With it disabled, saving a file is usually instant.

This rule is identified as the biggest culprit in slow eslint analysis by running `TIMING=1 pnpm exec eslint --fix client/web/dev/server/development.server.ts`.
This commit is contained in:
Quinn Slack 2023-10-21 15:37:49 -07:00 committed by GitHub
parent 10d0224bbc
commit a2e9b12cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 4 deletions

View File

@ -242,6 +242,7 @@ See https://handbook.sourcegraph.com/community/faq#is-all-of-sourcegraph-open-so
},
],
'import/order': 'off',
'etc/no-deprecated': 'off',
},
overrides: [
{

View File

@ -1,4 +1,3 @@
/* eslint-disable etc/no-deprecated */
import * as assert from 'assert'
import * as sinon from 'sinon'

View File

@ -1,4 +1,3 @@
/* eslint-disable etc/no-deprecated */
import * as assert from 'assert'
import * as sinon from 'sinon'

View File

@ -1,4 +1,3 @@
/* eslint-disable etc/no-deprecated */
import * as assert from 'assert'
import * as sinon from 'sinon'

View File

@ -1,4 +1,3 @@
/* eslint-disable etc/no-deprecated */
import * as assert from 'assert'
import * as sinon from 'sinon'