Nx Angular Lint Error after TSLint to ESLint Migration
Solution 1:
I found the origin on the problem. The issue is related with this ESLint rule:
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
Have no idea why it's breaking with this rule. For now I removed it and using the overrides to apply this rule:
"@typescript-eslint/indent": [
"error",
4,
{
"FunctionDeclaration": {
"parameters": "first"
},
"FunctionExpression": {
"parameters": "first"
}
}
],
If anyone finds a better way to solve this issue, please let me know.