Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.
As described in their post about it, tslint is now deprecated - instead @typescript-eslint/eslint-plugin and @typescript-eslint/parser should be used with eslint. This seems to already be happening in the main .eslintrc, so tslint should no longer be needed
Tslint is included when generating a workspace, but shouldn't be needed since @typescript-eslint/parser is included and setup within .eslintrc.
Please provide detailed steps for reproducing the issue.
npx create-nx-workspace@latest repro-workspaceIt's blocked by the angular CLI. There are some usecases where ESLint is a regression, for example this: https://github.com/typescript-eslint/typescript-eslint/issues/1856
Oh, great to know, thanks for the explanation @alexeagle. Would it be possible to only include that when generating an angular project? I was generating a react project, so wasn't aware
Hi, interesting thread but you got the wrong Alex 🅰️
@AlexAegis ^
would be nice to be able to specify default linter for the whole workspace.
Also, I manually migrate our workspace to ESLint, but when generating a new library, still generates with tslint. Is there any way to generate with eslint atm or we need to manually change the angular.json for that?
Closing as a duplicate of #1699
Most helpful comment
Hi, interesting thread but you got the wrong Alex 🅰️