Format fixture JSON with Prettier. (#8658)

This commit is contained in:
Logan Smyth 2018-09-09 17:57:52 -07:00 committed by GitHub
parent 45c28fa785
commit 79b2af5997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1075 changed files with 2632 additions and 1872 deletions

View File

@ -7,7 +7,6 @@
"bracketSpacing": true,
"jsxBracketSameLine": false,
"tabWidth": 2,
"parser": "babylon",
"printWidth": 80,
"overrides": [{
"files": [
@ -16,6 +15,7 @@
"**/packages/*/src/**/*.js",
"**/packages/*/test/**/*.js"
],
"parser": "babylon",
"options": {
"trailingComma": "all"
}

View File

@ -52,6 +52,9 @@ lint:
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
rm -rf packages/babel-polyfill/browser*
rm -rf packages/babel-polyfill/dist

View File

@ -1,10 +1,12 @@
{
"args": [
"src",
"--out-dir", "lib",
"--out-dir",
"lib",
"--copy-files",
"--include-dotfiles",
"--ignore", "src/foo",
"--ignore",
"src/foo",
"--verbose"
]
}

View File

@ -1,10 +1,12 @@
{
"args": [
"src",
"--out-dir", "lib",
"--out-dir",
"lib",
"--copy-files",
"--include-dotfiles",
"--only", "src/foo",
"--only",
"src/foo",
"--verbose"
]
}

View File

@ -1,3 +1,10 @@
{
"args": ["src", "--out-dir", "lib", "--copy-files", "--include-dotfiles", "--verbose"]
"args": [
"src",
"--out-dir",
"lib",
"--copy-files",
"--include-dotfiles",
"--verbose"
]
}

View File

@ -1,9 +1,11 @@
{
"args": [
"src",
"--out-dir", "lib",
"--out-dir",
"lib",
"--copy-files",
"--ignore", "src/foo/*",
"--ignore",
"src/foo/*",
"--verbose"
]
}

View File

@ -1,9 +1,11 @@
{
"args": [
"src",
"--out-dir", "lib",
"--out-dir",
"lib",
"--copy-files",
"--only", "src/foo/*",
"--only",
"src/foo/*",
"--verbose"
]
}

View File

@ -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"
]
}

View File

@ -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"
]
}

View File

@ -1,3 +1,7 @@
{
"plugins": ["transform-classes", "external-helpers", "transform-block-scoping"]
"plugins": [
"transform-classes",
"external-helpers",
"transform-block-scoping"
]
}

View File

@ -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"
]
}

View File

@ -1,3 +1,7 @@
{
"plugins": ["transform-parameters", "transform-arrow-functions", "transform-block-scoping"]
"plugins": [
"transform-parameters",
"transform-arrow-functions",
"transform-block-scoping"
]
}

View File

@ -1,10 +1,5 @@
{
"compact": false,
"presets": [
"env"
],
"plugins": [
"external-helpers",
"proposal-object-rest-spread"
]
"presets": ["env"],
"plugins": ["external-helpers", "proposal-object-rest-spread"]
}

View File

@ -1,3 +1,8 @@
{
"plugins": ["transform-destructuring", "transform-parameters", "transform-block-scoping", "transform-regenerator"]
"plugins": [
"transform-destructuring",
"transform-parameters",
"transform-block-scoping",
"transform-regenerator"
]
}

View File

@ -1,3 +1,7 @@
{
"plugins": ["external-helpers", "transform-classes", "transform-block-scoping"]
"plugins": [
"external-helpers",
"transform-classes",
"transform-block-scoping"
]
}

View File

@ -1,5 +1,3 @@
{
"plugins": [
"transform-modules-commonjs"
]
"plugins": ["transform-modules-commonjs"]
}

View File

@ -1,6 +1,4 @@
{
"plugins": [
["decorators", { "decoratorsBeforeExport": false }]
],
"plugins": [["decorators", { "decoratorsBeforeExport": false }]],
"decoratorsBeforeExport": false
}

View File

@ -1,6 +1,4 @@
{
"plugins": [
["decorators", { "decoratorsBeforeExport": false }]
],
"plugins": [["decorators", { "decoratorsBeforeExport": false }]],
"decoratorsBeforeExport": true
}

View File

@ -1,6 +1,4 @@
{
"plugins": [
["decorators", { "decoratorsBeforeExport": true }]
],
"plugins": [["decorators", { "decoratorsBeforeExport": true }]],
"decoratorsBeforeExport": false
}

View File

@ -1,6 +1,4 @@
{
"plugins": [
["decorators", { "decoratorsBeforeExport": true }]
],
"plugins": [["decorators", { "decoratorsBeforeExport": true }]],
"decoratorsBeforeExport": true
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -2,4 +2,3 @@
"sourceType": "module",
"throws": "Unexpected token, expected \"{\" (1:7)"
}

View File

@ -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"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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)"
}

View File

@ -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": []
}

View File

@ -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": []
}

View File

@ -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": []
}

View File

@ -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": []
}

View File

@ -1,4 +1,5 @@
{
"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)"
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'classProperties' (2:6)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'classProperties' (2:6)",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'classProperties' (2:5)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'classProperties' (2:5)",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling one of the following parser plugin(s): 'decorators-legacy, decorators' (1:0)",
"throws":
"This experimental syntax requires enabling one of the following parser plugin(s): 'decorators-legacy, decorators' (1:0)",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'doExpressions' (1:1)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'doExpressions' (1:1)",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'dynamicImport' (1:8)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'dynamicImport' (1:8)",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'exportDefaultFrom' (1:7)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'exportDefaultFrom' (1:7)",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'exportNamespaceFrom' (1:9)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'exportNamespaceFrom' (1:9)",
"plugins": []
}

View File

@ -1,5 +1,6 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'importMeta' (1:17)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'importMeta' (1:17)",
"sourceType": "module",
"plugins": []
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'objectRestSpread' (1:2)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'objectRestSpread' (1:2)",
"plugins": []
}

View File

@ -1,3 +1,4 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'optionalChaining' (1:1)"
"throws":
"This experimental syntax requires enabling the parser plugin: 'optionalChaining' (1:1)"
}

View File

@ -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)"
}

View File

@ -1,3 +1,7 @@
{
"plugins": ["classProperties", "classPrivateProperties", "classPrivateMethods"]
"plugins": [
"classProperties",
"classPrivateProperties",
"classPrivateMethods"
]
}

View File

@ -1,4 +1,5 @@
{
"throws": "This experimental syntax requires enabling the parser plugin: 'classPrivateMethods' (3:2)",
"throws":
"This experimental syntax requires enabling the parser plugin: 'classPrivateMethods' (3:2)",
"plugins": ["classPrivateProperties"]
}

View File

@ -1,4 +1,5 @@
{
"plugins": ["classPrivateProperties"],
"throws": "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (4:13)"
"throws":
"super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (4:13)"
}

View File

@ -1,4 +1,5 @@
{
"plugins": ["classProperties"],
"throws": "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (4:12)"
"throws":
"super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (4:12)"
}

View File

@ -1,6 +1,4 @@
{
"plugins": [
["decorators", { "decoratorsBeforeExport": "yes" }]
],
"plugins": [["decorators", { "decoratorsBeforeExport": "yes" }]],
"throws": "'decoratorsBeforeExport' must be a boolean."
}

View File

@ -1,6 +1,4 @@
{
"sourceType": "module",
"plugins": [
["decorators", { "decoratorsBeforeExport": true }]
]
"plugins": [["decorators", { "decoratorsBeforeExport": true }]]
}

View File

@ -1,7 +1,6 @@
{
"sourceType": "module",
"plugins": [
["decorators", { "decoratorsBeforeExport": true }]
],
"throws": "Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax (1:15)"
"plugins": [["decorators", { "decoratorsBeforeExport": true }]],
"throws":
"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax (1:15)"
}

View File

@ -1,6 +1,4 @@
{
"sourceType": "module",
"plugins": [
["decorators", { "decoratorsBeforeExport": true }]
]
"plugins": [["decorators", { "decoratorsBeforeExport": true }]]
}

View File

@ -1,6 +1,4 @@
{
"sourceType": "module",
"plugins": [
["decorators", { "decoratorsBeforeExport": true }]
]
"plugins": [["decorators", { "decoratorsBeforeExport": true }]]
}

Some files were not shown because too many files have changed in this diff Show More