Skip to content

Instantly share code, notes, and snippets.

@edy
Created February 3, 2017 14:54
Show Gist options
  • Save edy/d7e7d2cd8beb2e29768523ca89f3865b to your computer and use it in GitHub Desktop.
Save edy/d7e7d2cd8beb2e29768523ca89f3865b to your computer and use it in GitHub Desktop.
---
parser: "babel-eslint"
plugins:
- "react"
ecmaFeatures:
jsx: true
modules: true
spread: true
generators: true
env:
browser: true
node: true
es6: true
rules:
indent:
- 2
- "tab"
- "SwitchCase": 1
accessor-pairs: 0
block-scoped-var: 2
complexity:
- 0
- 11
curly:
- 2
- "multi-line"
default-case: 2
dot-notation:
- 1
-
allowKeywords: true
dot-location: 0
eqeqeq: 2
guard-for-in: 2
jsx-quotes:
- 2
- "prefer-double"
react/jsx-no-bind: 0
react/no-unknown-property: 2
react/prop-types: 0
react/jsx-handler-names: 1
react/no-direct-mutation-state: 2
no-alert: 1
no-caller: 2
no-div-regex: 0
no-else-return: 2
no-eq-null: 0
no-eval: 2
no-extend-native: 2
no-extra-bind: 2
no-fallthrough: 2
no-floating-decimal: 2
no-implicit-coercion: 0
no-implied-eval: 2
no-invalid-this: 0
no-iterator: 2
no-labels: 0
no-lone-blocks: 2
no-loop-func: 2
no-mixed-spaces-and-tabs: 2
no-multi-str: 2
no-native-reassign: 2
no-new: 2
no-new-func: 2
no-new-wrappers: 2
no-octal: 2
no-octal-escape: 2
no-process-env: 0
no-proto: 2
no-redeclare: 2
no-return-assign: 2
no-script-url: 2
no-self-compare: 2
no-sequences: 2
no-throw-literal: 2
no-unused-expressions: 2
no-useless-call: 0
no-void: 0
no-warning-comments:
- 0
-
terms:
- "todo"
- "fixme"
- "xxx"
location: "start"
no-with: 2
new-cap: 1
space-before-function-paren: 2
keyword-spacing: 2
semi:
- 2
- "always"
radix: 2
vars-on-top: 2
wrap-iife:
- 2
- "any"
yoda: 2
arrow-parens:
- 2
- "always"
arrow-spacing:
- 2
-
before: true
after: true
constructor-super: 2
generator-star-spacing: 0
no-class-assign: 2
no-const-assign: 2
no-dupe-class-members: 2
no-this-before-super: 2
no-var: 2
object-shorthand: 0
prefer-arrow-callback: 2
prefer-const: 0
prefer-spread: 0
prefer-reflect: 0
prefer-template: 0
require-yield: 2
no-cond-assign: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment