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

Migrating from tslint to eslint #95

Merged
merged 1 commit into from
Sep 16, 2021
Merged

Migrating from tslint to eslint #95

merged 1 commit into from
Sep 16, 2021

Conversation

kaffarell
Copy link
Contributor

@kaffarell kaffarell commented Sep 10, 2021

🔧 Migrated from tslint to eslint
Because tslint is deprecated now

  • 🚨 Migrated from tslint to eslint
  • 🔧 Fixed a few eslint errors
  • 🔧 Fixed most of the linter errors and settings
    Fixed the easily fixable linter errors like trailing whitespace. Next up is typing.
  • 🔧 Finalized eslint installation, fixed package.json scripts
    Also removed tslint
  • 🔧 Fixed eslint brace-style rule
    allowSingleLine for braces
  • 🔧 Removed comments from config file, fixed typo

Resolves: #88 #95

@kaffarell
Copy link
Contributor Author

Hey @imRohan I finished the tslint to eslint migration. I don't know if you agree with this code-style, but hit me up if you need any change. I configured eslint so that any variable with an implicit or explicit any type is reported as a warning (The goal should be that everything is typed).

@kaffarell kaffarell marked this pull request as ready for review September 14, 2021 06:34
Copy link
Owner

@imRohan imRohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! 👏 There are a lot of changes here so I think ill take some time to review this one but here are a few high-level change requests that we should consider making.

.eslintrc.js Outdated Show resolved Hide resolved
src/app/components/landingRight.ts Outdated Show resolved Hide resolved
@imRohan imRohan added the Ready for Review Once you've squashed your commits, the PR is now ready for review! label Sep 14, 2021
Copy link
Owner

@imRohan imRohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok cool, everything looks good.

Just squash your commits and update both the commit message & PR message and we'll merge this one in.

Glad we're finally dropping tslint! 🚀

* 🚨 Migrated from tslint to eslint
* 🔧 Fixed a few eslint errors
* 🔧 Fixed most of the linter errors and settings
	Fixed the easily fixable linter errors like trailing whitespace. Next up is typing.
* 🔧 Finalized eslint installation, fixed package.json scripts
	Also removed tslint
* 🔧 Fixed eslint brace-style rule
	allowSingleLine for braces
* 🔧 Removed comments from config file, fixed typo

Fixes: #88, #95

🔧 Removed comments from config file, fixed typo
@kaffarell
Copy link
Contributor Author

@imRohan Finished changes 👍

@imRohan imRohan self-requested a review September 16, 2021 13:35
Copy link
Owner

@imRohan imRohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! 👏

@imRohan imRohan merged commit b16c5b1 into imRohan:master Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Review Once you've squashed your commits, the PR is now ready for review!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from tslint to typescript-eslint
2 participants