Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: improve eslint, sb, tsc configs #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: fix eslint OOMing my workspace
  • Loading branch information
greyscaled committed Mar 18, 2022
commit 36f301f48478191d1a8df7acf40075a0c799469f
3 changes: 1 addition & 2 deletions site/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2018
project:
- ./tsconfig.prod.json
- ./tsconfig.test.json
- ./tsconfig.json
sourceType: module
ecmaFeatures:
jsx: true
Expand Down
3 changes: 3 additions & 0 deletions site/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const maxWorkers = process.env.CI ? 16 : 2

module.exports = {
maxWorkers,
projects: [
{
globals: {
Expand Down
3 changes: 2 additions & 1 deletion site/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"strict": true,
"target": "es5"
},
"include": ["**/*.ts", "**/*.tsx"]
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "_jest"]
}