Skip to content

Commit

Permalink
Merge pull request #8661 from babel/feat-run-fix-json-on-fix
Browse files Browse the repository at this point in the history
Makefile: run fix json on fix
  • Loading branch information
xtuc committed Sep 10, 2018
2 parents e372129 + 53c6c98 commit 0e7d7cf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ flow:
lint:
./node_modules/.bin/eslint scripts $(SOURCES) '*.js' --format=codeframe

fix:
fix: fix-json
./node_modules/.bin/eslint scripts $(SOURCES) '*.js' --format=codeframe --fix

fix-json:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"plugins": [
["transform-runtime", {
"corejs": 2
}],
[
"transform-runtime",
{
"corejs": 2
}
],
"transform-regenerator"
]
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"plugins": [
["transform-runtime", {
"corejs": 2,
"version": "^7.0.1"
}],
[
"transform-runtime",
{
"corejs": 2,
"version": "^7.0.1"
}
],
"transform-regenerator"
]
}

0 comments on commit 0e7d7cf

Please sign in to comment.