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: enable lint rules in .eslintrc.js and fix errors #1891

Open
8 of 32 tasks
erezrokah opened this issue Feb 16, 2021 · 4 comments
Open
8 of 32 tasks

chore: enable lint rules in .eslintrc.js and fix errors #1891

erezrokah opened this issue Feb 16, 2021 · 4 comments
Labels
good first issue type: chore work needed to keep the product and development running smoothly

Comments

@erezrokah
Copy link
Contributor

erezrokah commented Feb 16, 2021

We have a bunch of eslint rules disabled in out configuration

'class-methods-use-this': 0,

We should enable those one by one and fix related errors. This is an envelope issue for related PRs.

TODO

  • class-methods-use-this
  • complexity
  • max-depth
  • max-lines
  • max-lines-per-function
  • max-nested-callbacks
  • max-statements
  • no-param-reassign
  • no-process-exit
  • fp/no-class
  • fp/no-delete
  • fp/no-get-set
  • fp/no-let
  • fp/no-loops
  • fp/no-mutating-assign
  • fp/no-mutating-methods
  • fp/no-mutation
  • fp/no-proxy
  • fp/no-this
  • import/max-dependencies
  • node/no-sync
  • promise/catch-or-return
  • promise/no-callback-in-promise
  • promise/no-nesting
  • promise/no-return-wrap
  • promise/prefer-await-to-callbacks
  • promise/prefer-await-to-then
  • you-dont-need-lodash-underscore/get
  • unicorn/prefer-spread
  • unicorn/consistent-destructuring
  • unicorn/no-array-push-push
  • unicorn/filename-case
@erezrokah erezrokah added good first issue type: chore work needed to keep the product and development running smoothly labels Feb 16, 2021
@ehmicky
Copy link
Contributor

ehmicky commented Feb 16, 2021

Related: #1437

@tinfoil-knight
Copy link
Contributor

tinfoil-knight commented Jul 2, 2021

@erezrokah Can I pick up the first one: class-methods-use-this?

@ehmicky
Copy link
Contributor

ehmicky commented Jul 2, 2021

@tinfoil-knight Please feel free to pick any of these, including class-methods-use-this. Thanks a lot for your help! ❤️

@tinfoil-knight
Copy link
Contributor

tinfoil-knight commented Jul 5, 2021

I'm picking up fp/no-loops while class-methods-use-this is under review.

hereje added a commit to hereje/cli that referenced this issue Dec 6, 2023
kodiakhq bot added a commit that referenced this issue Dec 18, 2023
related to #1891

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

No branches or pull requests

3 participants