Skip to content

Instantly share code, notes, and snippets.

@jonvuri
Created July 6, 2014 01:49
Show Gist options
  • Save jonvuri/b55cf3106eb606d82072 to your computer and use it in GitHub Desktop.
Save jonvuri/b55cf3106eb606d82072 to your computer and use it in GitHub Desktop.
Related ESLint Rules

Statements that shouldn't bleed through to production code:

  • no-alert
  • no-console
  • no-debugger

Regular expressions

  • no-div-regex
  • no-control-regex
  • no-regex-spaces

Switch-case

  • default-case
  • no-fallthrough

Eval

  • no-eval
  • no-implied-eval

Native objects

  • no-extend-native
  • no-native-reassign

Unnecessary constructors

  • no-new-wrappers
  • no-array-constructor
  • no-new-object

Code limitations

  • complexity
  • max-depth
  • max-len
  • max-nested-callbacks
  • max-params
  • max-statements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment