Skip to content

Commit 36f301f

Browse files
committed
chore: fix eslint OOMing my workspace
1 parent b58e8c3 commit 36f301f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

site/.eslintrc.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ parser: "@typescript-eslint/parser"
1818
parserOptions:
1919
ecmaVersion: 2018
2020
project:
21-
- ./tsconfig.prod.json
22-
- ./tsconfig.test.json
21+
- ./tsconfig.json
2322
sourceType: module
2423
ecmaFeatures:
2524
jsx: true

site/jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
const maxWorkers = process.env.CI ? 16 : 2
2+
13
module.exports = {
4+
maxWorkers,
25
projects: [
36
{
47
globals: {

site/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"strict": true,
1616
"target": "es5"
1717
},
18-
"include": ["**/*.ts", "**/*.tsx"]
18+
"include": ["**/*.ts", "**/*.tsx"],
19+
"exclude": ["node_modules", "_jest"]
1920
}

0 commit comments

Comments
 (0)