simpler eslint config for es6 features

This commit is contained in:
Cássio Zen 2016-08-31 16:42:34 -03:00
parent 1406d9225f
commit 4e35a27934

View File

@ -1,28 +1,10 @@
env:
browser: true
es6: true
parser: babel-eslint
plugins: [ "react" ]
# enable ECMAScript features
ecmaFeatures:
arrowFunctions: true
binaryLiterals: true
blockBindings: true
classes: true
defaultParams: true
destructuring: true
forOf: true
generators: true
jsx: true
modules: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
octalLiterals: true
spread: true
templateStrings: true
rules:
# Possible Errors
# https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors