Angular 12: Don’t include deprecated TSLint by default

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Not applicable

Description

  • TSLint has been deprecated since January 1st, 2020

tslint_deprecated

– As such, TSLint should not be included by default in Angular projects

🔬 Minimal Reproduction

  • (Optional) Create global angular config file to use yarn package manager if not present. cat ~/.angular-config.json
    {
     "version": 1,
     "cli": {
       "packageManager": "yarn"
     }
    }
  • npx @angular/cli@12.0.0-next.1 new web-apps --create-application false
  • Open package.json
     {
       "devDependencies": {
         "tslint": "~6.1.0"
       }
     }

🌍 Your Environment


❯ ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 12.0.0-next.1
Node: 15.9.0
OS: darwin x64 (11.2.1)
Yarn: cd web-apps` && `yarn outdated

Angular: 12.0.0-next.1
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1200.0-next.1
@angular-devkit/core         12.0.0-next.1
@angular-devkit/schematics   12.0.0-next.1
@schematics/angular          12.0.0-next.1
@schematics/update           0.1200.0-next.1
rxjs                         6.6.3
typescript                   4.1.5

Anything else relevant?

Not relevant to this issue

1 possible answer(s) on “Angular 12: Don’t include deprecated TSLint by default