Skip to content

Commit 9041a5b

Browse files
committed
Disable slow lint rules
1 parent d982f1e commit 9041a5b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eslint.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ module.exports = (async function config() {
134134

135135
// #region sonarjs
136136
'sonarjs/cognitive-complexity': ['error', 25],
137+
// https://community.sonarsource.com/t/eslint-plugin-sonarjs-performance-issues-on-large-codebase/138392
138+
'sonarjs/no-commented-code': 'off',
137139
'sonarjs/no-duplicate-string': 'off',
138140
'sonarjs/no-nested-assignment': 'off',
139141
// #endregion

jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const jestConfig: Config = {
175175
// This option allows use of a custom test runner
176176
// testRunner: "jest-circus/runner",
177177

178-
testTimeout: 30000,
178+
testTimeout: 30_000,
179179

180180
// A map from regular expressions to paths to transformers
181181
transform: {

0 commit comments

Comments
 (0)