Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move from deprecated tslint to eslint #38

Open
kingjordan opened this issue Jan 17, 2023 · 1 comment
Open

move from deprecated tslint to eslint #38

kingjordan opened this issue Jan 17, 2023 · 1 comment

Comments

@kingjordan
Copy link

hello,

I nneded to move from tslint to eslint as tslint is depricated.

I did it by running in the terminal:
ng add @angular-eslint/schematics@14
followed by
ng g @angular-eslint/schematics:convert-tslint-to-eslint

I tested the builds and live server and they all worked after these changes, my dev dependencies now look like:

 "devDependencies": {
    "@angular-devkit/build-angular": "^14.0.5",
    "@angular-eslint/builder": "14.4.0",
    "@angular-eslint/eslint-plugin": "14.4.0",
    "@angular-eslint/eslint-plugin-template": "14.4.0",
    "@angular-eslint/schematics": "14.4.0",
    "@angular-eslint/template-parser": "14.4.0",
    "@angular/cli": "^14.0.5",
    "@angular/compiler-cli": "^14.0.5",
    "@angular/language-service": "^14.0.5",
    "@types/jasmine": "~4.0.3",
    "@types/jasminewd2": "~2.0.10",
    "@types/node": "^18.0.3",
    "@typescript-eslint/eslint-plugin": "5.43.0",
    "@typescript-eslint/parser": "5.43.0",
    "cpx": "^1.5.0",
    "del": "^6.1.1",
    "eslint": "^8.28.0",
    "jasmine-core": "~4.2.0",
    "jasmine-spec-reporter": "~7.0.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.1.1",
    "karma-coverage-istanbul-reporter": "~3.0.3",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "^2.0.0",
    "protractor": "~7.0.0",
    "ts-node": "~10.8.2",
    "typescript": "~4.7.4"
  }
@iJungleboy
Copy link
Contributor

@kingjordan thanks for this

@maaaximum-at-2sic could you look into this ca. Feb?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants