Skip to content

Instantly share code, notes, and snippets.

@ooflorent
Created March 19, 2015 15:24
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 ooflorent/49f1ca486f8a4ed7c385 to your computer and use it in GitHub Desktop.
Save ooflorent/49f1ca486f8a4ed7c385 to your computer and use it in GitHub Desktop.
---
parser: babel-eslint
ecmaFeatures:
modules: true
env:
es6: true
browser: true
node: true
globals:
__DEV__: true
__PROD__: true
__VERSION__: true
rules:
block-scoped-var: 2
brace-style: [2, "1tbs", {allowSingleLine: true}]
comma-dangle: [2, "always"]
comma-style: [2, "last"]
consistent-this: [2, "self"]
indent: [2, 2]
quotes: [2, "single", "avoid-escape"]
no-multiple-empty-lines: [2, {max: 1}]
no-self-compare: 2
no-undefined: 2
no-unused-vars: [2, {vars: "all", args: "none"}]
no-var: 2
semi: [2, "never"]
space-after-keywords: [2, "always"]
space-before-blocks: [2, "always"]
space-before-function-parentheses: [2, "never"]
space-in-parens: [2, "never"]
spaced-line-comment: [2, "always"]
strict: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment