koa-lite/.eslintrc.yml

17 lines
329 B
YAML
Raw Normal View History

2015-10-12 20:35:07 +00:00
# Support ES2016 features
parser: babel-eslint
extends: standard
rules:
arrow-parens: [2, as-needed]
2015-10-12 20:35:07 +00:00
eqeqeq: 0
2016-03-12 22:03:10 +00:00
no-return-assign: 0 # fails for arrow functions
2015-10-22 22:46:47 +00:00
no-var: 2
2015-10-12 20:35:07 +00:00
semi: [2, always]
space-before-function-paren: [2, never]
yoda: 0
arrow-spacing: 2
dot-location: [2, "property"]
2015-11-02 19:25:12 +00:00
prefer-arrow-callback: 2