Skip to content

Instantly share code, notes, and snippets.

@ughitsaaron
Last active November 5, 2016 12:50
Show Gist options
  • Save ughitsaaron/a3f6376decc8b870151ac86fa0d2cb5d to your computer and use it in GitHub Desktop.
Save ughitsaaron/a3f6376decc8b870151ac86fa0d2cb5d to your computer and use it in GitHub Desktop.
env:
node: true
browser: true
mocha: true
parserOptions:
sourceType: module
ecmaVersion: 6
extends: eslint:recommended
rules:
brace-style: error
comma-spacing: error
comma-style: error
complexity:
- warn
- 5
default-case: error
indent:
- error
- 2
linebreak-style: error
max-depth: error
max-len:
- warn
-
ignoreStrings: true
ignoreComments: true
ignoreUrls: true
max-params: error
no-console: off
no-extra-parens: error
no-floating-decimal: error
no-unused-vars: error
object-curly-spacing:
- error
- always
one-var: error
space-before-function-paren:
- error
-
anonymous: always
named: never
quotes:
- error
- single
quote-props:
- error
- as-needed
semi: error
space-in-parens:
- error
- never
space-infix-ops: error
strict:
- error
- global
valid-jsdoc: warn
vars-on-top: error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment