koa-lite/.eslintrc.yml

23 lines
380 B
YAML
Raw Permalink Normal View History

2015-10-12 20:35:07 +00:00
# Support ES2016 features
parser: babel-eslint
extends: standard
plugins: [
"babel"
]
2015-10-12 20:35:07 +00:00
rules:
arrow-parens: 0
babel/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