Format fixture JSON with Prettier. (#8658)
This commit is contained in:
parent
45c28fa785
commit
79b2af5997
@ -7,7 +7,6 @@
|
|||||||
"bracketSpacing": true,
|
"bracketSpacing": true,
|
||||||
"jsxBracketSameLine": false,
|
"jsxBracketSameLine": false,
|
||||||
"tabWidth": 2,
|
"tabWidth": 2,
|
||||||
"parser": "babylon",
|
|
||||||
"printWidth": 80,
|
"printWidth": 80,
|
||||||
"overrides": [{
|
"overrides": [{
|
||||||
"files": [
|
"files": [
|
||||||
@ -16,6 +15,7 @@
|
|||||||
"**/packages/*/src/**/*.js",
|
"**/packages/*/src/**/*.js",
|
||||||
"**/packages/*/test/**/*.js"
|
"**/packages/*/test/**/*.js"
|
||||||
],
|
],
|
||||||
|
"parser": "babylon",
|
||||||
"options": {
|
"options": {
|
||||||
"trailingComma": "all"
|
"trailingComma": "all"
|
||||||
}
|
}
|
||||||
|
|||||||
3
Makefile
3
Makefile
@ -52,6 +52,9 @@ lint:
|
|||||||
fix:
|
fix:
|
||||||
./node_modules/.bin/eslint scripts $(SOURCES) '*.js' --format=codeframe --fix
|
./node_modules/.bin/eslint scripts $(SOURCES) '*.js' --format=codeframe --fix
|
||||||
|
|
||||||
|
fix-json:
|
||||||
|
./node_modules/.bin/prettier "{packages,codemod}/*/test/fixtures/**/options.json" --write --loglevel warn
|
||||||
|
|
||||||
clean: test-clean
|
clean: test-clean
|
||||||
rm -rf packages/babel-polyfill/browser*
|
rm -rf packages/babel-polyfill/browser*
|
||||||
rm -rf packages/babel-polyfill/dist
|
rm -rf packages/babel-polyfill/dist
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"src",
|
"src",
|
||||||
"--out-dir", "lib",
|
"--out-dir",
|
||||||
|
"lib",
|
||||||
"--copy-files",
|
"--copy-files",
|
||||||
"--include-dotfiles",
|
"--include-dotfiles",
|
||||||
"--ignore", "src/foo",
|
"--ignore",
|
||||||
|
"src/foo",
|
||||||
"--verbose"
|
"--verbose"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"src",
|
"src",
|
||||||
"--out-dir", "lib",
|
"--out-dir",
|
||||||
|
"lib",
|
||||||
"--copy-files",
|
"--copy-files",
|
||||||
"--include-dotfiles",
|
"--include-dotfiles",
|
||||||
"--only", "src/foo",
|
"--only",
|
||||||
|
"src/foo",
|
||||||
"--verbose"
|
"--verbose"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
{
|
{
|
||||||
"args": ["src", "--out-dir", "lib", "--copy-files", "--include-dotfiles", "--verbose"]
|
"args": [
|
||||||
|
"src",
|
||||||
|
"--out-dir",
|
||||||
|
"lib",
|
||||||
|
"--copy-files",
|
||||||
|
"--include-dotfiles",
|
||||||
|
"--verbose"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"src",
|
"src",
|
||||||
"--out-dir", "lib",
|
"--out-dir",
|
||||||
|
"lib",
|
||||||
"--copy-files",
|
"--copy-files",
|
||||||
"--ignore", "src/foo/*",
|
"--ignore",
|
||||||
|
"src/foo/*",
|
||||||
"--verbose"
|
"--verbose"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"src",
|
"src",
|
||||||
"--out-dir", "lib",
|
"--out-dir",
|
||||||
|
"lib",
|
||||||
"--copy-files",
|
"--copy-files",
|
||||||
"--only", "src/foo/*",
|
"--only",
|
||||||
|
"src/foo/*",
|
||||||
"--verbose"
|
"--verbose"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
{
|
{
|
||||||
"args": ["script.js", "script2.js", "--source-maps", "inline", "--out-file", "script3.js"]
|
"args": [
|
||||||
|
"script.js",
|
||||||
|
"script2.js",
|
||||||
|
"--source-maps",
|
||||||
|
"inline",
|
||||||
|
"--out-file",
|
||||||
|
"script3.js"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,9 @@
|
|||||||
{
|
{
|
||||||
"args": ["script.js", "script2.js", "--source-maps", "--out-file", "script3.js"]
|
"args": [
|
||||||
|
"script.js",
|
||||||
|
"script2.js",
|
||||||
|
"--source-maps",
|
||||||
|
"--out-file",
|
||||||
|
"script3.js"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-classes", "external-helpers", "transform-block-scoping"]
|
"plugins": [
|
||||||
|
"transform-classes",
|
||||||
|
"external-helpers",
|
||||||
|
"transform-block-scoping"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["syntax-flow", "transform-flow-strip-types", "transform-parameters", "transform-block-scoping"]
|
"plugins": [
|
||||||
|
"syntax-flow",
|
||||||
|
"transform-flow-strip-types",
|
||||||
|
"transform-parameters",
|
||||||
|
"transform-block-scoping"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-parameters", "transform-arrow-functions", "transform-block-scoping"]
|
"plugins": [
|
||||||
|
"transform-parameters",
|
||||||
|
"transform-arrow-functions",
|
||||||
|
"transform-block-scoping"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,5 @@
|
|||||||
{
|
{
|
||||||
"compact": false,
|
"compact": false,
|
||||||
"presets": [
|
"presets": ["env"],
|
||||||
"env"
|
"plugins": ["external-helpers", "proposal-object-rest-spread"]
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"external-helpers",
|
|
||||||
"proposal-object-rest-spread"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-destructuring", "transform-parameters", "transform-block-scoping", "transform-regenerator"]
|
"plugins": [
|
||||||
|
"transform-destructuring",
|
||||||
|
"transform-parameters",
|
||||||
|
"transform-block-scoping",
|
||||||
|
"transform-regenerator"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["external-helpers", "transform-classes", "transform-block-scoping"]
|
"plugins": [
|
||||||
|
"external-helpers",
|
||||||
|
"transform-classes",
|
||||||
|
"transform-block-scoping"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": ["transform-modules-commonjs"]
|
||||||
"transform-modules-commonjs"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["decorators", { "decoratorsBeforeExport": false }]],
|
||||||
["decorators", { "decoratorsBeforeExport": false }]
|
|
||||||
],
|
|
||||||
"decoratorsBeforeExport": false
|
"decoratorsBeforeExport": false
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["decorators", { "decoratorsBeforeExport": false }]],
|
||||||
["decorators", { "decoratorsBeforeExport": false }]
|
|
||||||
],
|
|
||||||
"decoratorsBeforeExport": true
|
"decoratorsBeforeExport": true
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["decorators", { "decoratorsBeforeExport": true }]],
|
||||||
["decorators", { "decoratorsBeforeExport": true }]
|
|
||||||
],
|
|
||||||
"decoratorsBeforeExport": false
|
"decoratorsBeforeExport": false
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["decorators", { "decoratorsBeforeExport": true }]],
|
||||||
["decorators", { "decoratorsBeforeExport": true }]
|
|
||||||
],
|
|
||||||
"decoratorsBeforeExport": true
|
"decoratorsBeforeExport": true
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{ "plugins": ["jsx" ] }
|
{ "plugins": ["jsx"] }
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ],
|
"plugins": ["./plugin"],
|
||||||
"throws": " "
|
"throws": " "
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [ "./plugin" ]
|
"plugins": ["./plugin"]
|
||||||
}
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"args": ["--eval","--print", "var a = 1;"],
|
"args": ["--eval", "--print", "var a = 1;"],
|
||||||
"stdout": "undefined"
|
"stdout": "undefined"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
"args": ["--expose-gc-as=garbageCollector", "--eval", "console.log(typeof global.garbageCollector)"],
|
"args": [
|
||||||
|
"--expose-gc-as=garbageCollector",
|
||||||
|
"--eval",
|
||||||
|
"console.log(typeof global.garbageCollector)"
|
||||||
|
],
|
||||||
"stdout": "function"
|
"stdout": "function"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
"args": ["--expose_gc_as=garbageCollector", "--eval", "console.log(typeof global.garbageCollector)"],
|
"args": [
|
||||||
|
"--expose_gc_as=garbageCollector",
|
||||||
|
"--eval",
|
||||||
|
"console.log(typeof global.garbageCollector)"
|
||||||
|
],
|
||||||
"stdout": "function"
|
"stdout": "function"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "The rest element has to be the last element when destructuring (1:1)"
|
"throws":
|
||||||
|
"The rest element has to be the last element when destructuring (1:1)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (2:8)"
|
"throws":
|
||||||
|
"super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (2:8)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "You're trying to assign to a parenthesized expression, eg. instead of `([a]) = 0` use `([a] = 0)` (1:1)"
|
"throws":
|
||||||
|
"You're trying to assign to a parenthesized expression, eg. instead of `([a]) = 0` use `([a] = 0)` (1:1)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "You're trying to assign to a parenthesized expression, eg. instead of `({a}) = 0` use `({a} = 0)` (1:1)"
|
"throws":
|
||||||
|
"You're trying to assign to a parenthesized expression, eg. instead of `({a}) = 0` use `({a} = 0)` (1:1)"
|
||||||
}
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`Foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
"throws":
|
||||||
|
"`Foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:20)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:20)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo4` has already been exported. Exported identifiers must be unique. (2:50)"
|
"throws":
|
||||||
|
"`foo4` has already been exported. Exported identifiers must be unique. (2:50)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo4` has already been exported. Exported identifiers must be unique. (2:49)"
|
"throws":
|
||||||
|
"`foo4` has already been exported. Exported identifiers must be unique. (2:49)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo4` has already been exported. Exported identifiers must be unique. (2:58)"
|
"throws":
|
||||||
|
"`foo4` has already been exported. Exported identifiers must be unique. (2:58)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:21)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:21)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo2` has already been exported. Exported identifiers must be unique. (2:13)"
|
"throws":
|
||||||
|
"`foo2` has already been exported. Exported identifiers must be unique. (2:13)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:22)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:22)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`bar` has already been exported. Exported identifiers must be unique. (2:13)"
|
"throws":
|
||||||
|
"`bar` has already been exported. Exported identifiers must be unique. (2:13)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:28)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:28)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:29)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:29)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:15)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:15)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:14)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:14)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:14)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:14)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:15)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:15)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`Foo` has already been exported. Exported identifiers must be unique. (2:15)"
|
"throws":
|
||||||
|
"`Foo` has already been exported. Exported identifiers must be unique. (2:15)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`Foo` has already been exported. Exported identifiers must be unique. (2:14)"
|
"throws":
|
||||||
|
"`Foo` has already been exported. Exported identifiers must be unique. (2:14)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:0)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:13)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:13)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:9)"
|
"throws":
|
||||||
|
"`foo` has already been exported. Exported identifiers must be unique. (2:9)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Only expressions, functions or classes are allowed as the `default` export. (1:15)"
|
"throws":
|
||||||
|
"Only expressions, functions or classes are allowed as the `default` export. (1:15)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Only expressions, functions or classes are allowed as the `default` export. (1:15)"
|
"throws":
|
||||||
|
"Only expressions, functions or classes are allowed as the `default` export. (1:15)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Only expressions, functions or classes are allowed as the `default` export. (1:15)"
|
"throws":
|
||||||
|
"Only expressions, functions or classes are allowed as the `default` export. (1:15)"
|
||||||
}
|
}
|
||||||
@ -2,4 +2,3 @@
|
|||||||
"sourceType": "module",
|
"sourceType": "module",
|
||||||
"throws": "Unexpected token, expected \"{\" (1:7)"
|
"throws": "Unexpected token, expected \"{\" (1:7)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"throws": "ES2015 named imports do not destructure. Use another statement for destructuring after the import. (1:19)",
|
"throws":
|
||||||
|
"ES2015 named imports do not destructure. Use another statement for destructuring after the import. (1:19)",
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:7)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:7)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:15)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:15)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:7)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:7)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:17)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:17)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:8)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:8)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:3)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:3)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:3)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:3)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:9)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (2:9)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:1)"
|
"throws":
|
||||||
|
"Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:1)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:2)"
|
"throws":
|
||||||
|
"Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:2)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:2)"
|
"throws":
|
||||||
|
"Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:2)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "await* has been removed from the async functions proposal. Use Promise.all() instead. (2:2)"
|
"throws":
|
||||||
|
"await* has been removed from the async functions proposal. Use Promise.all() instead. (2:2)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'classProperties' (3:2)"
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'classProperties' (3:2)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'exportDefaultFrom' (1:7)"
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'exportDefaultFrom' (1:7)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
"throws":
|
||||||
|
"'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
"throws":
|
||||||
|
"'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:21)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (1:21)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:16)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (1:16)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:25)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (1:25)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
"throws":
|
||||||
|
"'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:21)"
|
"throws":
|
||||||
|
"yield is not allowed in the parameters of an arrow function inside a generator (1:21)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Error parsing regular expression: Invalid regular expression: /(s/: Unterminated group (1:9)"
|
"throws":
|
||||||
|
"Error parsing regular expression: Invalid regular expression: /(s/: Unterminated group (1:9)"
|
||||||
}
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"throws": "setter function argument must not be a rest parameter (1:6)"
|
"throws": "setter function argument must not be a rest parameter (1:6)"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'bigInt' (1:1)",
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'bigInt' (1:1)",
|
||||||
"plugins": []
|
"plugins": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'classPrivateProperties' (2:3)",
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'classPrivateProperties' (2:3)",
|
||||||
"plugins": []
|
"plugins": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'numericSeparator' (1:17)",
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'numericSeparator' (1:17)",
|
||||||
"plugins": []
|
"plugins": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'asyncGenerators' (1:15)",
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'asyncGenerators' (1:15)",
|
||||||
"plugins": []
|
"plugins": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["flow"],
|
"plugins": ["flow"],
|
||||||
"throws": "This experimental syntax requires enabling the parser plugin: 'classProperties' (2:14)"
|
"throws":
|
||||||
|
"This experimental syntax requires enabling the parser plugin: 'classProperties' (2:14)"
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user