Skip to content

1.11.1

Compare
Choose a tag to compare
@foray1010 foray1010 released this 22 Feb 03:54
· 93 commits to master since this release
  1. Avoid lexical declarations in case/default clauses
    refer to http://eslint.org/docs/rules/no-case-declarations, as const/let variables share across switch cases, which may lead to redeclaration of the same variables/namespace pollution, so you are required to define a block to embrace your case if you define const/let on that case
  2. Disallow unneeded ternary expressions
    refer to http://eslint.org/docs/rules/no-unneeded-ternary