Merge pull request #8661 from babel/feat-run-fix-json-on-fix
Makefile: run fix json on fix
This commit is contained in:
2
Makefile
2
Makefile
@@ -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:
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
{
|
||||
"plugins": [
|
||||
["transform-runtime", {
|
||||
"corejs": 2
|
||||
}],
|
||||
[
|
||||
"transform-runtime",
|
||||
{
|
||||
"corejs": 2
|
||||
}
|
||||
],
|
||||
"transform-regenerator"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"plugins": [
|
||||
["transform-runtime", {
|
||||
"corejs": 2,
|
||||
"version": "^7.0.1"
|
||||
}],
|
||||
[
|
||||
"transform-runtime",
|
||||
{
|
||||
"corejs": 2,
|
||||
"version": "^7.0.1"
|
||||
}
|
||||
],
|
||||
"transform-regenerator"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user