Skip to content

Instantly share code, notes, and snippets.

@oosidat
Created January 23, 2017 21:16
Show Gist options
  • Save oosidat/3b7fdd118765af507b0296981085011f to your computer and use it in GitHub Desktop.
Save oosidat/3b7fdd118765af507b0296981085011f to your computer and use it in GitHub Desktop.

Minimal Eslintrc for NodeJS Projects

  • Run npm install --save-dev eslint
  • Create .eslintrc with the following contents
root: true

env:
  node: true
  es6: true

extends:
  "eslint:recommended"

ecmaFeatures:
  generators: true

rules:
  no-console: 0

Happy Linting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment