simpler eslint config for es6 features
This commit is contained in:
parent
1406d9225f
commit
4e35a27934
20
.eslintrc
20
.eslintrc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user