Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Migrate TSLint to ESLint. Closes #209 #211

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

peterblazejewicz
Copy link
Collaborator

This commit rewrites linting support in the project to be based solely
on the ESLint as advised by the TSLint tool authors:
https://medium.com/palantir/tslint-in-2019-1a144c2317a9

The migration is based on default, recommended settings for TypeScript
in ESLint and is expected to be updated in future to better fit project
goals.

All references has been updated and replaced with relevant ESLint
context:

  • dependencies migration from TSLint to ESLint
  • VSCode configuration changes to support ESLint extension
  • VSCode extensions recommendation changes
  • .eslintrc and .eslintignore configuration files added
  • all error level problems in the source files are covered by this
    migration

This is the output of the npm run lint script:

npm run lint

> express-typescript-starter@0.1.0 lint /Users/piotrblazejewicz/git/TypeScript-Node-Starter
> tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix

Thanks!

/cc @felipesilvati

@orta
Copy link
Contributor

orta commented Jul 15, 2019

Looks like tests are after including an @types dep?

@peterblazejewicz
Copy link
Collaborator Author

Looks like tests are after including an @types dep?

Yup, thanks! Interesting it worked locally. The PR updated. Let's wait for Travis

This commit rewrites linting support in the project to be based solely
on the ESLint as advised by the TSLint tool authors:
https://medium.com/palantir/tslint-in-2019-1a144c2317a9

The migration is based on default, recommended settings for TypeScript
in ESLint and is expected to be updated in future to better fit project
goals.

All references has been updated and replaced with relevant ESLint
context:

- dependencies migration from TSLint to ESLint
- VSCode configuration changes to support ESLint exension
- VSCode extensions recommendation changes
- `.eslintrc` and `.eslintignore` configuration files added
- all error level problems in the source files are covered by this
  migration

Thanks!
@orta
Copy link
Contributor

orta commented Jul 16, 2019

Cool, nice, ship it when you're happy 👍

@peterblazejewicz peterblazejewicz merged commit 9817bef into microsoft:master Jul 16, 2019
@peterblazejewicz peterblazejewicz deleted the feat/209 branch July 16, 2019 19:54
brittanydrandolph pushed a commit that referenced this pull request Jun 17, 2022
✨ Migrate TSLint to ESLint. Closes #209
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants