Skip to content

Instantly share code, notes, and snippets.

@alangpierce
Created January 6, 2018 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alangpierce/76e50dae3f73099b4330ef434e185c63 to your computer and use it in GitHub Desktop.
Save alangpierce/76e50dae3f73099b4330ef434e185c63 to your computer and use it in GitHub Desktop.
/* eslint-disable
camelcase,
consistent-return,
default-case,
func-names,
new-cap,
no-case-declarations,
no-cond-assign,
no-multi-assign,
no-return-assign,
no-sequences,
no-shadow,
no-unused-vars,
no-use-before-define,
no-var,
one-var,
prefer-const,
prefer-rest-params,
react/no-is-mounted,
vars-on-top,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS101: Remove unnecessary use of Array.from
* DS102: Remove unnecessary code created because of implicit returns
* DS103: Rewrite code to no longer use __guard__
* DS104: Avoid inline assignments
* DS201: Simplify complex destructure assignments
* DS202: Simplify dynamic range loops
* DS204: Change includes calls to have a more natural evaluation order
* DS205: Consider reworking code to avoid use of IIFEs
* DS207: Consider shorter variations of null checks
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment