Use babel-eslint in the whole project

This commit is contained in:
Lyubomir Marinov 2017-02-03 10:04:29 -06:00 committed by hristoterezov
parent 542e61357e
commit 679acbae16
2 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,7 @@ module.exports = {
// files. // files.
'__filename': false '__filename': false
}, },
'parser': 'babel-eslint',
'parserOptions': { 'parserOptions': {
'ecmaFeatures': { 'ecmaFeatures': {
'experimentalObjectRestSpread': true 'experimentalObjectRestSpread': true

View File

@ -1,6 +1,5 @@
module.exports = { module.exports = {
'extends': '../.eslintrc.js', 'extends': '../.eslintrc.js',
'parser': 'babel-eslint',
'parserOptions': { 'parserOptions': {
'ecmaFeatures': { 'ecmaFeatures': {
'jsx': true 'jsx': true