Closed ersimont closed 1 year ago
This is the magic config for a standard Angular project:
{
"extends": "@s-libs/eslint-config-ng",
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.(app|spec).json"]
},
"rules": {
...
}
}
]
}
One also needs to npm i -D eslint-config-prettier
Released!
Be sure to include setting
parserOptions.project
in the docs