[Improvement] add babel-eslint (#1231)

This commit is contained in:
neverland
2018-06-06 20:08:04 +08:00
committed by GitHub
parent b16342ef00
commit 25bd67e8f1
3 changed files with 96 additions and 5 deletions
+1
View File
@@ -1,5 +1,6 @@
module.exports = {
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 6,
ecmaFeatures: {
experimentalObjectRestSpread: true,