If ESLint is throwing you the following error in imports:
ESLint This line has a length of 145. Maximum allowed is 140.
then you need to add the following setting in .eslintrc.json file to fix the issue:
{
"files": ["*.ts"],
"rules": {
"max-len": [
"error",
{
"ignorePattern": "^import"
}
]
}
}
“ignorePattern”: “^import” line will disable the ESLint warnings for imports.