2sic / app-template-angular

Template app to quickly get started with angular 8 development in DNN and 2sxc
MIT License
4 stars 0 forks source link

move from deprecated tslint to eslint #38

Open kingjordan opened 1 year ago

kingjordan commented 1 year ago

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 commented 1 year ago

@kingjordan thanks for this

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