Skip to content

Support ESLint 3.3.1

Compare
Choose a tag to compare
@glebec glebec released this 22 Aug 17:40
· 59 commits to master since this release

New rules:

  • no-template-curly-in-string: warn if it looks like you're trying to use interpolation in a normal string
  • no-unsafe-negation: error if attempting something like if (!thing instanceof Foo) which should probably be if (!(thing instanceof Foo))
  • no-global-assign: warn if attempting window = {} or similar
  • no-self-assign: new props flag to error if doing a.b = a.b or similar
  • func-call-spacing: warn if there is a space between function identifier and invocational parens
  • sort-keys: off (would alphabetize keys of objects)