Skip to content

Instantly share code, notes, and snippets.

@dazld
Created May 28, 2015 12:18
Show Gist options
  • Save dazld/a4efc4dfe7cd5e444755 to your computer and use it in GitHub Desktop.
Save dazld/a4efc4dfe7cd5e444755 to your computer and use it in GitHub Desktop.
---
env:
browser: true
node: true
es6: true
globals:
__DEV__: true
ecmaFeatures:
jsx: true
modules: true
rules:
# ERRORS
space-before-blocks: 4
no-trailing-spaces: false
indent: [4, 4, indentSwitchCase: true]
brace-style: 2
space-after-keywords: 2
strict: 2
no-comma-dangle: 2
no-unused-expressions: 2
block-scoped-var: 2
eol-last: 2
dot-notation: 2
consistent-return: 2
no-unused-vars: [2, args: none]
quotes: [2, 'single']
no-use-before-define: 2
comma-spacing: [0, {"before": true, "after": true}]
# WARNINGS
max-len: [1,120]
# DISABLED
no-underscore-dangle: 0
new-cap: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment