mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
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:
parent
10d0224bbc
commit
a2e9b12cc9
@ -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: [
|
||||
{
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
/* eslint-disable etc/no-deprecated */
|
||||
import * as assert from 'assert'
|
||||
|
||||
import * as sinon from 'sinon'
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
/* eslint-disable etc/no-deprecated */
|
||||
import * as assert from 'assert'
|
||||
|
||||
import * as sinon from 'sinon'
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
/* eslint-disable etc/no-deprecated */
|
||||
import * as assert from 'assert'
|
||||
|
||||
import * as sinon from 'sinon'
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
/* eslint-disable etc/no-deprecated */
|
||||
import * as assert from 'assert'
|
||||
|
||||
import * as sinon from 'sinon'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user