koa-lite/.eslintrc.yml
2017-04-23 16:14:34 -07:00

16 lines
329 B
YAML

# Support ES2016 features
parser: babel-eslint
extends: standard
rules:
arrow-parens: [2, as-needed]
eqeqeq: 0
no-return-assign: 0 # fails for arrow functions
no-var: 2
semi: [2, always]
space-before-function-paren: [2, never]
yoda: 0
arrow-spacing: 2
dot-location: [2, "property"]
prefer-arrow-callback: 2