1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-07 01:16:28 +02:00

Fix OOM with eslint in migrations (#2545)

## About the changes
When adding a new migration, we might run out of memory. Migrations have
only JS files and we're running these through TS parser. Removing TS
config reference from `.eslintrc` proved to solve the issue while
running local manual tests

This still lints migration files but using JS syntax
This commit is contained in:
Gastón Fournier 2022-11-28 15:16:19 +01:00 committed by GitHub
parent 1eb0116e11
commit 0943ff8f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,15 +5,10 @@
"plugins": [], "plugins": [],
"rules": {}, "rules": {},
"settings": {}, "settings": {},
"parserOptions": { "parserOptions": {},
"project": "../../tsconfig.json"
},
"overrides": [ "overrides": [
{ {
"files": "*.js", "files": "*.js"
"rules": {
"@typescript-eslint/indent": "off"
}
} }
] ]
} }