2015-10-12 20:35:07 +00:00
|
|
|
# Support ES2016 features
|
|
|
|
parser: babel-eslint
|
|
|
|
|
|
|
|
extends: standard
|
|
|
|
|
2015-11-06 17:37:35 +00:00
|
|
|
plugins: [
|
|
|
|
"babel"
|
|
|
|
]
|
|
|
|
|
2015-10-12 20:35:07 +00:00
|
|
|
rules:
|
2015-11-06 17:37:35 +00:00
|
|
|
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
|
2015-10-25 20:17:46 +00:00
|
|
|
arrow-spacing: 2
|
2015-10-28 07:53:49 +00:00
|
|
|
dot-location: [2, "property"]
|
2015-11-02 19:25:12 +00:00
|
|
|
prefer-arrow-callback: 2
|