Skip to content

Commit

Permalink
Added babel to support different node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ttshivers committed Jun 28, 2020
1 parent f95d75b commit f6bfaf9
Show file tree
Hide file tree
Showing 8 changed files with 4,216 additions and 335 deletions.
13 changes: 13 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"airbnb",
{
"targets": {
"node": true
},
"transformRuntime": false
}
]
]
}
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules/**
/dist
28 changes: 11 additions & 17 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
{
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-base"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
}
"env": {
"node": true
},
"extends": [
"airbnb-base"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint"
}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,7 @@ dist
.tern-port

# Config file
config.json
config.json

# Dist
/dist
Loading

0 comments on commit f6bfaf9

Please sign in to comment.