Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 50 million developers.
Sign up
Pinned
1,565 contributions in the last year
Activity overview
Contribution activity
October 2020
Created a pull request in denoland/deno_lint that received 6 comments
fix(prefer-const): refactor & handle hoisting
WIP
Fixes #358
This PR looks quite big, but the policy of this change is just simple.
It introduces a new visitor called VariableCollector, which i…
- refactor: use matches!
- refactor: remove Arc/Rc
- fix(getter-return): use ControlFlow to check if getters return something
- chore: enable prefer-const again
- fix(prefer-const): handle nested assignments correctly
- fix(no-case-declarations): handle nested switch statements
- fix(control_flow): handle class constructors
- fix(no-compare-neg-zero): handle nested stuff
- fix(no-class-assign): increase tests and fix to pass them

