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

chore: add more linters and make changes #3256

Merged
merged 20 commits into from
Dec 12, 2022
Merged

chore: add more linters and make changes #3256

merged 20 commits into from
Dec 12, 2022

Conversation

aljo242
Copy link
Contributor

@aljo242 aljo242 commented Dec 7, 2022

Adding:

  • decorder
  • dupword
  • errchkjson
  • errorlint
  • exhaustive
  • godot
  • grouper
  • nolintlint
  • reassign
  • tenv
  • thelper

@aljo242 aljo242 added type:refactor skip-changelog Don't check changelog for new entries labels Dec 7, 2022
jeronimoalbi
jeronimoalbi previously approved these changes Dec 8, 2022
@aljo242
Copy link
Contributor Author

aljo242 commented Dec 8, 2022

@tbruyelle @jeronimoalbi do you guys like these added linters?

No need to add them if they are more trouble. I tried to add ones that weren't too opinionated and only would enforce some best practices.

@tbruyelle
Copy link
Contributor

@tbruyelle @jeronimoalbi do you guys like these added linters?

No need to add them if they are more trouble. I tried to add ones that weren't too opinionated and only would enforce some best practices.

I tried to have a look at all the changes, and that seems fine to me, the ones you enabled look definitively useful.

tbruyelle
tbruyelle previously approved these changes Dec 9, 2022
tbruyelle
tbruyelle previously approved these changes Dec 10, 2022
Pantani
Pantani previously approved these changes Dec 12, 2022
@aljo242 aljo242 dismissed stale reviews from Pantani and tbruyelle via 9a397fe December 12, 2022 17:30
@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #3256 (06960a1) into main (2112212) will increase coverage by 0.00%.
The diff coverage is 19.19%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3256   +/-   ##
=======================================
  Coverage   20.07%   20.08%           
=======================================
  Files         385      385           
  Lines       30797    30829   +32     
=======================================
+ Hits         6184     6192    +8     
- Misses      24024    24049   +25     
+ Partials      589      588    -1     
Impacted Files Coverage Δ
ignite/cmd/chain_build.go 0.00% <0.00%> (ø)
ignite/cmd/cmd.go 0.00% <ø> (ø)
ignite/cmd/generate_typescript_client.go 0.00% <0.00%> (ø)
ignite/cmd/ignite/main.go 0.00% <0.00%> (ø)
ignite/cmd/network_chain_init.go 0.00% <ø> (ø)
ignite/cmd/network_chain_list.go 0.00% <ø> (ø)
ignite/cmd/network_chain_prepare.go 0.00% <ø> (ø)
ignite/cmd/network_chain_show_info.go 0.00% <0.00%> (ø)
ignite/cmd/network_coordinator.go 0.00% <ø> (ø)
ignite/cmd/network_coordinator_set.go 0.00% <ø> (ø)
... and 164 more

@aljo242 aljo242 merged commit efcba9c into main Dec 12, 2022
@aljo242 aljo242 deleted the chore/lints branch December 12, 2022 18:17
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
* errjsonchk

* dupword

* errorlint

* exhaustive

* godot

* nolintlint

* reassign

* test helper

* finalize linter file

* remove unwrap

* fix typo

* create TODO for markdownviewr

* lint fixes

* re-add unwrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Don't check changelog for new entries type:refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants