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:
parent
1eb0116e11
commit
0943ff8f49
@ -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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user