Skip to content

Commit

Permalink
Adding the babel and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pritishvaidya committed Jan 25, 2019
1 parent 800178f commit 1be7607
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .babelrc
@@ -0,0 +1,14 @@
{
"env": {
"test": {
"presets": [
["@babel/preset-env", { "modules": "cjs" }]
]
},
"build": {
"presets": [
["@babel/preset-env", { "modules": false }]
]
}
}
}
7 changes: 7 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,7 @@
{
"extends": "airbnb-base",
"parser": "babel-eslint",
"env": {
"jest": true
}
}

0 comments on commit 1be7607

Please sign in to comment.