Merge pull request #8661 from babel/feat-run-fix-json-on-fix

Makefile: run fix json on fix
This commit is contained in:
Sven Sauleau
2018-09-10 09:41:55 +02:00
committed by GitHub
3 changed files with 14 additions and 8 deletions

View File

@@ -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:

View File

@@ -1,8 +1,11 @@
{
"plugins": [
["transform-runtime", {
"corejs": 2
}],
[
"transform-runtime",
{
"corejs": 2
}
],
"transform-regenerator"
]
}

View File

@@ -1,9 +1,12 @@
{
"plugins": [
["transform-runtime", {
"corejs": 2,
"version": "^7.0.1"
}],
[
"transform-runtime",
{
"corejs": 2,
"version": "^7.0.1"
}
],
"transform-regenerator"
]
}