0.2.3 • Published 10 months ago

@nothing-but/eslint-plugin v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@nothing-but/eslint-plugin

no-ignored-return

If a function returns a value, then that value must be used.

TODO:

  • nested methods utl.raf.makeAnimationLoop
  • fn.apply() and fn.call() methods
  • bool && returningFunc() expressions
  • never doesn't need to be used
  • ignore super()
  • awaiting Promise<some_value>

no-return-to-void

If a callback should return void, then it should not return anything.

TODO:

  • Arrow functions
  • Anonymous functions
  • Overloads
  • Fix .then (unions)

ignore-void-return

If a function returns void, the return value shouldn't be used.

TODO TODO

no-unnecessary-instanceof

Values tested with instanceof should have a union type with the tested class as a member.

  • Allow extended types

no-ignored-params

Require that all callback parameters are used.

TODO:

  • implement

Resources:

0.2.3

10 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago