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

feat: update ts config and new linter #697

Merged
merged 3 commits into from
Dec 17, 2020
Merged

feat: update ts config and new linter #697

merged 3 commits into from
Dec 17, 2020

Conversation

hugomrdias
Copy link
Member

@hugomrdias hugomrdias commented Dec 15, 2020

  • "isolatedModules": true
  • "importsNotUsedAsValues": "error"
  • "noImplicitAny": true
  • add a must read section to the ts docs
  • self lint

Some of these changes here and in the new linter config version try to encode/force best pratices found in the references added in the "must read" section in the ts docs.
We should try to extract more rules from those articles into linter rules or ts config options. @Gozala

needs:
ipfs/eslint-config-ipfs#3

@hugomrdias hugomrdias requested review from Gozala, vasco-santos and achingbrain and removed request for Gozala December 15, 2020 19:33
Copy link
Contributor

@Gozala Gozala left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM! Pending package.json update

- add "isolatedModules": true,
- "importsNotUsedAsValues": "error",
- "noImplicitAny": true,
- add a must read section to the ts docs
- self lint

Some of these changes here and in the new linter config version try to encode/force best pratices found in the references added in the "must read" section in the ts docs.
We should try to extract more rules from those articles into linter rules or ts config options. @Gozala
@hugomrdias hugomrdias merged commit e11b8fe into master Dec 17, 2020
@hugomrdias hugomrdias deleted the feat/ts-rules branch December 17, 2020 15:51
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

Successfully merging this pull request may close these issues.

4 participants