diff --git a/.prettierrc b/.prettierrc index 371aad410a..5c53b22f8a 100644 --- a/.prettierrc +++ b/.prettierrc @@ -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" } diff --git a/Makefile b/Makefile index 9e5dd536d5..c92c5930ae 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with ignore/options.json b/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with ignore/options.json index 729a051678..1dbdbc9529 100644 --- a/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with ignore/options.json +++ b/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with ignore/options.json @@ -1,10 +1,12 @@ { "args": [ "src", - "--out-dir", "lib", + "--out-dir", + "lib", "--copy-files", "--include-dotfiles", - "--ignore", "src/foo", + "--ignore", + "src/foo", "--verbose" ] } diff --git a/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with only/options.json b/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with only/options.json index 64034dfa62..c7aa322fc7 100644 --- a/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with only/options.json +++ b/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles with only/options.json @@ -1,10 +1,12 @@ { "args": [ "src", - "--out-dir", "lib", + "--out-dir", + "lib", "--copy-files", "--include-dotfiles", - "--only", "src/foo", + "--only", + "src/foo", "--verbose" ] } diff --git a/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles/options.json b/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles/options.json index 4d90f91ad5..bb94e945f8 100644 --- a/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles/options.json +++ b/packages/babel-cli/test/fixtures/babel/--copy-files --include-dotfiles/options.json @@ -1,3 +1,10 @@ { - "args": ["src", "--out-dir", "lib", "--copy-files", "--include-dotfiles", "--verbose"] + "args": [ + "src", + "--out-dir", + "lib", + "--copy-files", + "--include-dotfiles", + "--verbose" + ] } diff --git a/packages/babel-cli/test/fixtures/babel/--copy-files with ignore/options.json b/packages/babel-cli/test/fixtures/babel/--copy-files with ignore/options.json index c5551001db..89633066e6 100644 --- a/packages/babel-cli/test/fixtures/babel/--copy-files with ignore/options.json +++ b/packages/babel-cli/test/fixtures/babel/--copy-files with ignore/options.json @@ -1,9 +1,11 @@ { "args": [ "src", - "--out-dir", "lib", + "--out-dir", + "lib", "--copy-files", - "--ignore", "src/foo/*", + "--ignore", + "src/foo/*", "--verbose" ] } diff --git a/packages/babel-cli/test/fixtures/babel/--copy-files with only/options.json b/packages/babel-cli/test/fixtures/babel/--copy-files with only/options.json index a1c2f38e39..89b67e48e6 100644 --- a/packages/babel-cli/test/fixtures/babel/--copy-files with only/options.json +++ b/packages/babel-cli/test/fixtures/babel/--copy-files with only/options.json @@ -1,9 +1,11 @@ { "args": [ "src", - "--out-dir", "lib", + "--out-dir", + "lib", "--copy-files", - "--only", "src/foo/*", + "--only", + "src/foo/*", "--verbose" ] } diff --git a/packages/babel-cli/test/fixtures/babel/dir --skip-initial-build no --watch/options.json b/packages/babel-cli/test/fixtures/babel/dir --skip-initial-build no --watch/options.json index 71aa6c749f..54626b517a 100644 --- a/packages/babel-cli/test/fixtures/babel/dir --skip-initial-build no --watch/options.json +++ b/packages/babel-cli/test/fixtures/babel/dir --skip-initial-build no --watch/options.json @@ -1,3 +1,3 @@ { "args": ["src", "--skip-initial-build", "--out-dir", "lib"] -} +} diff --git a/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps inline/options.json b/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps inline/options.json index 4c967d3de1..e1b64abb35 100644 --- a/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps inline/options.json +++ b/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps inline/options.json @@ -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" + ] } diff --git a/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps/options.json b/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps/options.json index 15308d9c7f..c19120cc56 100644 --- a/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps/options.json +++ b/packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps/options.json @@ -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" + ] } diff --git a/packages/babel-core/test/fixtures/transformation/misc/regression-1155/options.json b/packages/babel-core/test/fixtures/transformation/misc/regression-1155/options.json index 41054be1f7..cf0501f1cf 100644 --- a/packages/babel-core/test/fixtures/transformation/misc/regression-1155/options.json +++ b/packages/babel-core/test/fixtures/transformation/misc/regression-1155/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-classes", "external-helpers", "transform-block-scoping"] + "plugins": [ + "transform-classes", + "external-helpers", + "transform-block-scoping" + ] } diff --git a/packages/babel-core/test/fixtures/transformation/misc/regression-1168/options.json b/packages/babel-core/test/fixtures/transformation/misc/regression-1168/options.json index 78e11a8077..7aebb2b3d1 100644 --- a/packages/babel-core/test/fixtures/transformation/misc/regression-1168/options.json +++ b/packages/babel-core/test/fixtures/transformation/misc/regression-1168/options.json @@ -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" + ] } diff --git a/packages/babel-core/test/fixtures/transformation/misc/regression-2364/options.json b/packages/babel-core/test/fixtures/transformation/misc/regression-2364/options.json index c2578848d7..688521d954 100644 --- a/packages/babel-core/test/fixtures/transformation/misc/regression-2364/options.json +++ b/packages/babel-core/test/fixtures/transformation/misc/regression-2364/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-parameters", "transform-arrow-functions", "transform-block-scoping"] + "plugins": [ + "transform-parameters", + "transform-arrow-functions", + "transform-block-scoping" + ] } diff --git a/packages/babel-core/test/fixtures/transformation/misc/regression-4855/options.json b/packages/babel-core/test/fixtures/transformation/misc/regression-4855/options.json index 724a353072..2f59220d17 100644 --- a/packages/babel-core/test/fixtures/transformation/misc/regression-4855/options.json +++ b/packages/babel-core/test/fixtures/transformation/misc/regression-4855/options.json @@ -1,10 +1,5 @@ { "compact": false, - "presets": [ - "env" - ], - "plugins": [ - "external-helpers", - "proposal-object-rest-spread" - ] + "presets": ["env"], + "plugins": ["external-helpers", "proposal-object-rest-spread"] } diff --git a/packages/babel-core/test/fixtures/transformation/regenerator/options.json b/packages/babel-core/test/fixtures/transformation/regenerator/options.json index 55d9586548..1de08e2c78 100644 --- a/packages/babel-core/test/fixtures/transformation/regenerator/options.json +++ b/packages/babel-core/test/fixtures/transformation/regenerator/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-destructuring", "transform-parameters", "transform-block-scoping", "transform-regenerator"] + "plugins": [ + "transform-destructuring", + "transform-parameters", + "transform-block-scoping", + "transform-regenerator" + ] } diff --git a/packages/babel-core/test/fixtures/transformation/source-maps/class/options.json b/packages/babel-core/test/fixtures/transformation/source-maps/class/options.json index 111b0a6091..93725c3c0e 100644 --- a/packages/babel-core/test/fixtures/transformation/source-maps/class/options.json +++ b/packages/babel-core/test/fixtures/transformation/source-maps/class/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-classes", "transform-block-scoping"] + "plugins": [ + "external-helpers", + "transform-classes", + "transform-block-scoping" + ] } diff --git a/packages/babel-core/test/fixtures/transformation/source-maps/input-source-map-complex/options.json b/packages/babel-core/test/fixtures/transformation/source-maps/input-source-map-complex/options.json index 8b5e8767af..81e5ce1243 100644 --- a/packages/babel-core/test/fixtures/transformation/source-maps/input-source-map-complex/options.json +++ b/packages/babel-core/test/fixtures/transformation/source-maps/input-source-map-complex/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-modules-commonjs" - ] + "plugins": ["transform-modules-commonjs"] } diff --git a/packages/babel-generator/test/fixtures/auto-string/jsx/options.json b/packages/babel-generator/test/fixtures/auto-string/jsx/options.json index ddd39ca03a..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/auto-string/jsx/options.json +++ b/packages/babel-generator/test/fixtures/auto-string/jsx/options.json @@ -1 +1 @@ -{ "plugins": ["jsx"] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/compact/expression-statement/options.json b/packages/babel-generator/test/fixtures/compact/expression-statement/options.json index bdb597ceca..8a2a1d3bfa 100644 --- a/packages/babel-generator/test/fixtures/compact/expression-statement/options.json +++ b/packages/babel-generator/test/fixtures/compact/expression-statement/options.json @@ -1 +1 @@ -{ "plugins": ["objectRestSpread"] } \ No newline at end of file +{ "plugins": ["objectRestSpread"] } diff --git a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-false/options.json b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-false/options.json index f4f6d04ce8..7ebfdd9177 100644 --- a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-false/options.json +++ b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-false/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["decorators", { "decoratorsBeforeExport": false }] - ], + "plugins": [["decorators", { "decoratorsBeforeExport": false }]], "decoratorsBeforeExport": false } diff --git a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-true/options.json b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-true/options.json index c05b74601a..234fb2bac8 100644 --- a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-true/options.json +++ b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/false-to-true/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["decorators", { "decoratorsBeforeExport": false }] - ], + "plugins": [["decorators", { "decoratorsBeforeExport": false }]], "decoratorsBeforeExport": true } diff --git a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-false/options.json b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-false/options.json index c8764bcb18..2540d61c86 100644 --- a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-false/options.json +++ b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-false/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["decorators", { "decoratorsBeforeExport": true }] - ], + "plugins": [["decorators", { "decoratorsBeforeExport": true }]], "decoratorsBeforeExport": false } diff --git a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-true/options.json b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-true/options.json index cae43e34e2..788cc22505 100644 --- a/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-true/options.json +++ b/packages/babel-generator/test/fixtures/decoratorsBeforeExport/true-to-true/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["decorators", { "decoratorsBeforeExport": true }] - ], + "plugins": [["decorators", { "decoratorsBeforeExport": true }]], "decoratorsBeforeExport": true } diff --git a/packages/babel-generator/test/fixtures/flow/def-site-variance/options.json b/packages/babel-generator/test/fixtures/flow/def-site-variance/options.json index 89c39512b5..8f1d8a332c 100644 --- a/packages/babel-generator/test/fixtures/flow/def-site-variance/options.json +++ b/packages/babel-generator/test/fixtures/flow/def-site-variance/options.json @@ -1 +1 @@ -{ "plugins": ["classProperties", "flow"] } \ No newline at end of file +{ "plugins": ["classProperties", "flow"] } diff --git a/packages/babel-generator/test/fixtures/flow/options.json b/packages/babel-generator/test/fixtures/flow/options.json index 48299acf99..69cc60743d 100644 --- a/packages/babel-generator/test/fixtures/flow/options.json +++ b/packages/babel-generator/test/fixtures/flow/options.json @@ -1 +1 @@ -{ "plugins": ["flow"] } \ No newline at end of file +{ "plugins": ["flow"] } diff --git a/packages/babel-generator/test/fixtures/flow/type-annotations/options.json b/packages/babel-generator/test/fixtures/flow/type-annotations/options.json index 53abfdb616..a385fcbcc0 100644 --- a/packages/babel-generator/test/fixtures/flow/type-annotations/options.json +++ b/packages/babel-generator/test/fixtures/flow/type-annotations/options.json @@ -1 +1 @@ -{ "plugins": ["classPrivateProperties", "flow"] } \ No newline at end of file +{ "plugins": ["classPrivateProperties", "flow"] } diff --git a/packages/babel-generator/test/fixtures/flowUsesCommas/ObjectExpression/options.json b/packages/babel-generator/test/fixtures/flowUsesCommas/ObjectExpression/options.json index 48299acf99..69cc60743d 100644 --- a/packages/babel-generator/test/fixtures/flowUsesCommas/ObjectExpression/options.json +++ b/packages/babel-generator/test/fixtures/flowUsesCommas/ObjectExpression/options.json @@ -1 +1 @@ -{ "plugins": ["flow"] } \ No newline at end of file +{ "plugins": ["flow"] } diff --git a/packages/babel-generator/test/fixtures/parentheses/do-expression/options.json b/packages/babel-generator/test/fixtures/parentheses/do-expression/options.json index b0e44d7af0..81488c2381 100644 --- a/packages/babel-generator/test/fixtures/parentheses/do-expression/options.json +++ b/packages/babel-generator/test/fixtures/parentheses/do-expression/options.json @@ -1 +1 @@ -{ "plugins": ["doExpressions"] } \ No newline at end of file +{ "plugins": ["doExpressions"] } diff --git a/packages/babel-generator/test/fixtures/types/BigIntLiteral/options.json b/packages/babel-generator/test/fixtures/types/BigIntLiteral/options.json index 2023dd95bd..c7885a1073 100644 --- a/packages/babel-generator/test/fixtures/types/BigIntLiteral/options.json +++ b/packages/babel-generator/test/fixtures/types/BigIntLiteral/options.json @@ -1 +1 @@ -{ "plugins": ["bigInt"] } \ No newline at end of file +{ "plugins": ["bigInt"] } diff --git a/packages/babel-generator/test/fixtures/types/BindExpression/options.json b/packages/babel-generator/test/fixtures/types/BindExpression/options.json index ff1db68a7d..d04a0f5ec9 100644 --- a/packages/babel-generator/test/fixtures/types/BindExpression/options.json +++ b/packages/babel-generator/test/fixtures/types/BindExpression/options.json @@ -1 +1 @@ -{ "plugins": ["functionBind"] } \ No newline at end of file +{ "plugins": ["functionBind"] } diff --git a/packages/babel-generator/test/fixtures/types/DoExpression/options.json b/packages/babel-generator/test/fixtures/types/DoExpression/options.json index b0e44d7af0..81488c2381 100644 --- a/packages/babel-generator/test/fixtures/types/DoExpression/options.json +++ b/packages/babel-generator/test/fixtures/types/DoExpression/options.json @@ -1 +1 @@ -{ "plugins": ["doExpressions"] } \ No newline at end of file +{ "plugins": ["doExpressions"] } diff --git a/packages/babel-generator/test/fixtures/types/Import/options.json b/packages/babel-generator/test/fixtures/types/Import/options.json index 425542ecee..5390d46765 100644 --- a/packages/babel-generator/test/fixtures/types/Import/options.json +++ b/packages/babel-generator/test/fixtures/types/Import/options.json @@ -1 +1 @@ -{ "plugins": ["dynamicImport"] } \ No newline at end of file +{ "plugins": ["dynamicImport"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXAttribute/options.json b/packages/babel-generator/test/fixtures/types/JSXAttribute/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXAttribute/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXAttribute/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXElement-JSXOpeningElement-JSXClosingElement-JSXIdentifier/options.json b/packages/babel-generator/test/fixtures/types/JSXElement-JSXOpeningElement-JSXClosingElement-JSXIdentifier/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXElement-JSXOpeningElement-JSXClosingElement-JSXIdentifier/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXElement-JSXOpeningElement-JSXClosingElement-JSXIdentifier/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXEmptyExpression/options.json b/packages/babel-generator/test/fixtures/types/JSXEmptyExpression/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXEmptyExpression/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXEmptyExpression/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXExpressionContainer/options.json b/packages/babel-generator/test/fixtures/types/JSXExpressionContainer/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXExpressionContainer/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXExpressionContainer/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXFragment-JSXOpeningFragment-JSXClosingFragment/options.json b/packages/babel-generator/test/fixtures/types/JSXFragment-JSXOpeningFragment-JSXClosingFragment/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXFragment-JSXOpeningFragment-JSXClosingFragment/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXFragment-JSXOpeningFragment-JSXClosingFragment/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXMemberExpression/options.json b/packages/babel-generator/test/fixtures/types/JSXMemberExpression/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXMemberExpression/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXMemberExpression/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXNamespacedName/options.json b/packages/babel-generator/test/fixtures/types/JSXNamespacedName/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXNamespacedName/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXNamespacedName/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXSpreadAttribute/options.json b/packages/babel-generator/test/fixtures/types/JSXSpreadAttribute/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXSpreadAttribute/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXSpreadAttribute/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXSpreadChildren/options.json b/packages/babel-generator/test/fixtures/types/JSXSpreadChildren/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXSpreadChildren/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXSpreadChildren/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/JSXText/options.json b/packages/babel-generator/test/fixtures/types/JSXText/options.json index da9cfe1340..4576a3f234 100644 --- a/packages/babel-generator/test/fixtures/types/JSXText/options.json +++ b/packages/babel-generator/test/fixtures/types/JSXText/options.json @@ -1 +1 @@ -{ "plugins": ["jsx" ] } \ No newline at end of file +{ "plugins": ["jsx"] } diff --git a/packages/babel-generator/test/fixtures/types/Optional-CallExpression/options.json b/packages/babel-generator/test/fixtures/types/Optional-CallExpression/options.json index b4da7fc066..4e36ce44f6 100644 --- a/packages/babel-generator/test/fixtures/types/Optional-CallExpression/options.json +++ b/packages/babel-generator/test/fixtures/types/Optional-CallExpression/options.json @@ -1 +1 @@ -{ "plugins": ["optionalChaining"] } \ No newline at end of file +{ "plugins": ["optionalChaining"] } diff --git a/packages/babel-generator/test/fixtures/types/Optional-MemberExpression/options.json b/packages/babel-generator/test/fixtures/types/Optional-MemberExpression/options.json index b4da7fc066..4e36ce44f6 100644 --- a/packages/babel-generator/test/fixtures/types/Optional-MemberExpression/options.json +++ b/packages/babel-generator/test/fixtures/types/Optional-MemberExpression/options.json @@ -1 +1 @@ -{ "plugins": ["optionalChaining"] } \ No newline at end of file +{ "plugins": ["optionalChaining"] } diff --git a/packages/babel-generator/test/fixtures/types/Optional-TryStatement-CatchClause/options.json b/packages/babel-generator/test/fixtures/types/Optional-TryStatement-CatchClause/options.json index 39f0227e60..f7793b0dd8 100644 --- a/packages/babel-generator/test/fixtures/types/Optional-TryStatement-CatchClause/options.json +++ b/packages/babel-generator/test/fixtures/types/Optional-TryStatement-CatchClause/options.json @@ -1 +1 @@ -{ "plugins": ["optionalCatchBinding"] } \ No newline at end of file +{ "plugins": ["optionalCatchBinding"] } diff --git a/packages/babel-generator/test/fixtures/types/RestProperty/options.json b/packages/babel-generator/test/fixtures/types/RestProperty/options.json index bdb597ceca..8a2a1d3bfa 100644 --- a/packages/babel-generator/test/fixtures/types/RestProperty/options.json +++ b/packages/babel-generator/test/fixtures/types/RestProperty/options.json @@ -1 +1 @@ -{ "plugins": ["objectRestSpread"] } \ No newline at end of file +{ "plugins": ["objectRestSpread"] } diff --git a/packages/babel-generator/test/fixtures/typescript/arrow-function-generic-tsx/options.json b/packages/babel-generator/test/fixtures/typescript/arrow-function-generic-tsx/options.json index 6e5bbd52f8..aa8780ac51 100644 --- a/packages/babel-generator/test/fixtures/typescript/arrow-function-generic-tsx/options.json +++ b/packages/babel-generator/test/fixtures/typescript/arrow-function-generic-tsx/options.json @@ -1,3 +1,3 @@ { - "plugins": ["jsx", "typescript"] -} \ No newline at end of file + "plugins": ["jsx", "typescript"] +} diff --git a/packages/babel-generator/test/fixtures/typescript/regression-is-default-export/options.json b/packages/babel-generator/test/fixtures/typescript/regression-is-default-export/options.json index 21e26c84a8..009c01f8ac 100644 --- a/packages/babel-generator/test/fixtures/typescript/regression-is-default-export/options.json +++ b/packages/babel-generator/test/fixtures/typescript/regression-is-default-export/options.json @@ -1,3 +1,3 @@ { - "plugins": ["exportDefaultFrom", "typescript"] + "plugins": ["exportDefaultFrom", "typescript"] } diff --git a/packages/babel-generator/test/fixtures/typescript/type-arguments-tsx/options.json b/packages/babel-generator/test/fixtures/typescript/type-arguments-tsx/options.json index 2993d04859..3a319216ff 100644 --- a/packages/babel-generator/test/fixtures/typescript/type-arguments-tsx/options.json +++ b/packages/babel-generator/test/fixtures/typescript/type-arguments-tsx/options.json @@ -1,4 +1,4 @@ { "plugins": ["jsx", "typescript"], "sourceType": "module" -} \ No newline at end of file +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/basic/options.json b/packages/babel-helpers/test/fixtures/dependencies/basic/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/basic/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/basic/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/deep/options.json b/packages/babel-helpers/test/fixtures/dependencies/deep/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/deep/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/deep/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/missing/options.json b/packages/babel-helpers/test/fixtures/dependencies/missing/options.json index cbb7cd52f6..b2b371556c 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/missing/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/missing/options.json @@ -1,4 +1,4 @@ { - "plugins": [ "./plugin" ], + "plugins": ["./plugin"], "throws": " " -} \ No newline at end of file +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/multiple/options.json b/packages/babel-helpers/test/fixtures/dependencies/multiple/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/multiple/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/multiple/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/rename-binding-equal/options.json b/packages/babel-helpers/test/fixtures/dependencies/rename-binding-equal/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/rename-binding-equal/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/rename-binding-equal/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/rename-deep-global/options.json b/packages/babel-helpers/test/fixtures/dependencies/rename-deep-global/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/rename-deep-global/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/rename-deep-global/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/reuse-dependency/options.json b/packages/babel-helpers/test/fixtures/dependencies/reuse-dependency/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/reuse-dependency/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/reuse-dependency/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-helpers/test/fixtures/dependencies/variable-same-name-dependency/options.json b/packages/babel-helpers/test/fixtures/dependencies/variable-same-name-dependency/options.json index 15721fd2ba..14af0e5fea 100644 --- a/packages/babel-helpers/test/fixtures/dependencies/variable-same-name-dependency/options.json +++ b/packages/babel-helpers/test/fixtures/dependencies/variable-same-name-dependency/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "./plugin" ] -} \ No newline at end of file + "plugins": ["./plugin"] +} diff --git a/packages/babel-node/test/fixtures/babel-node/no-strict/options.json b/packages/babel-node/test/fixtures/babel-node/no-strict/options.json index 63fc4b34f4..1453918c28 100644 --- a/packages/babel-node/test/fixtures/babel-node/no-strict/options.json +++ b/packages/babel-node/test/fixtures/babel-node/no-strict/options.json @@ -1,4 +1,4 @@ { - "args": ["--eval","--print", "var a = 1;"], + "args": ["--eval", "--print", "var a = 1;"], "stdout": "undefined" } diff --git a/packages/babel-node/test/fixtures/babel-node/v8Flag-dashed-with-param/options.json b/packages/babel-node/test/fixtures/babel-node/v8Flag-dashed-with-param/options.json index a9cabbc10c..0f03b17fe5 100644 --- a/packages/babel-node/test/fixtures/babel-node/v8Flag-dashed-with-param/options.json +++ b/packages/babel-node/test/fixtures/babel-node/v8Flag-dashed-with-param/options.json @@ -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" } diff --git a/packages/babel-node/test/fixtures/babel-node/v8Flag-underscored-with-param/options.json b/packages/babel-node/test/fixtures/babel-node/v8Flag-underscored-with-param/options.json index a8b0e91738..3c1e91b90d 100644 --- a/packages/babel-node/test/fixtures/babel-node/v8Flag-underscored-with-param/options.json +++ b/packages/babel-node/test/fixtures/babel-node/v8Flag-underscored-with-param/options.json @@ -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" } diff --git a/packages/babel-parser/test/fixtures/core/categorized/filename-specified/options.json b/packages/babel-parser/test/fixtures/core/categorized/filename-specified/options.json index 400e29986a..c5c9564aed 100644 --- a/packages/babel-parser/test/fixtures/core/categorized/filename-specified/options.json +++ b/packages/babel-parser/test/fixtures/core/categorized/filename-specified/options.json @@ -1,3 +1,3 @@ { "sourceFilename": "path/to/input-file.js" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/categorized/malformed-switch/options.json b/packages/babel-parser/test/fixtures/core/categorized/malformed-switch/options.json index 0b22a698d6..a10e365ed5 100644 --- a/packages/babel-parser/test/fixtures/core/categorized/malformed-switch/options.json +++ b/packages/babel-parser/test/fixtures/core/categorized/malformed-switch/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/.542/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/.542/options.json index eb38d20599..4bbde67748 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/.542/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/.542/options.json @@ -1,3 +1,3 @@ { "throws": "getter should have no params (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/.543/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/.543/options.json index dd62d74fb6..4e90617d9a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/.543/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/.543/options.json @@ -1,3 +1,3 @@ { "throws": "setter should have exactly one param (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/.544/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/.544/options.json index dd62d74fb6..4e90617d9a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/.544/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/.544/options.json @@ -1,3 +1,3 @@ { "throws": "setter should have exactly one param (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/327/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/327/options.json index 85f061e80b..596eb32c0c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/327/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/327/options.json @@ -1,3 +1,3 @@ { "allowReturnOutsideFunction": true -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/328/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/328/options.json index 85f061e80b..596eb32c0c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/328/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/328/options.json @@ -1,3 +1,3 @@ { "allowReturnOutsideFunction": true -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/345/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/345/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/345/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/345/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/346/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/346/options.json index 919c05ec87..ca189c74f6 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/346/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/346/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/347/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/347/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/347/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/347/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/348/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/348/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/348/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/348/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/349/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/349/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/349/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/349/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/350/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/350/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/350/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/350/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/351/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/351/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/351/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/351/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/352/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/352/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/352/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/352/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/353/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/353/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/353/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/353/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/354/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/354/options.json index b4716df8c6..1a0693338e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/354/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/354/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 16 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/357/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/357/options.json index aa61ff56c2..ee18527964 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/357/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/357/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/358/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/358/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/358/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/358/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/359/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/359/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/359/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/359/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/360/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/360/options.json index a760565b1b..d732a16309 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/360/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/360/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated string constant (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/361/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/361/options.json index d08f66903c..18c53b997b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/361/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/361/options.json @@ -1,3 +1,3 @@ { "throws": "Expecting Unicode escape sequence \\uXXXX (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/362/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/362/options.json index cd0024d9d9..ea7ba01dc6 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/362/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/362/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid Unicode escape (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/363/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/363/options.json index cd0024d9d9..ea7ba01dc6 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/363/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/363/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid Unicode escape (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/364/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/364/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/364/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/364/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/365/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/365/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/365/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/365/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/367/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/367/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/367/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/367/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/368/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/368/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/368/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/368/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/369/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/369/options.json index d8b91465e5..7c5f08eb9b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/369/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/369/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/370/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/370/options.json index 57f8bee850..c09dac1301 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/370/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/370/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in postfix operation (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/371/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/371/options.json index 57f8bee850..c09dac1301 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/371/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/371/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in postfix operation (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/372/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/372/options.json index e58c443745..515e441e8e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/372/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/372/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in prefix operation (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/373/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/373/options.json index e58c443745..515e441e8e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/373/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/373/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in prefix operation (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/374/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/374/options.json index 83b3a8b5f3..f8560a7de9 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/374/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/374/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-in statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/375/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/375/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/375/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/375/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/376/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/376/options.json index e68fbb6aec..10bd5624f0 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/376/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/376/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/377/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/377/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/377/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/377/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/379/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/379/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/379/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/379/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/380/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/380/options.json index d5e4b52d5c..2fd762cd6a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/380/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/380/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/381/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/381/options.json index 78a668d16d..9d0cd9237f 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/381/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/381/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated string constant (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/382/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/382/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/382/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/382/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/383/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/383/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/383/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/383/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/384/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/384/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/384/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/384/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/385/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/385/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/385/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/385/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/386/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/386/options.json index 476d7fff91..782585ddcf 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/386/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/386/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (4:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/387/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/387/options.json index 62cf5da64b..948a3306bf 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/387/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/387/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (4:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/388/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/388/options.json index 6588607606..c4c1edaca3 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/388/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/388/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/389/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/389/options.json index 6588607606..c4c1edaca3 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/389/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/389/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/390/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/390/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/390/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/390/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/391/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/391/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/391/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/391/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/395/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/395/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/395/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/395/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/397/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/397/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/397/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/397/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/398/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/398/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/398/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/398/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/399/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/399/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/399/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/399/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/400/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/400/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/400/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/400/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/401/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/401/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/401/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/401/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/402/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/402/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/402/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/402/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/403/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/403/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/403/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/403/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/404/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/404/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/404/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/404/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/405/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/405/options.json index ff1ac8247e..a89de70c61 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/405/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/405/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/407/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/407/options.json index ff1ac8247e..a89de70c61 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/407/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/407/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/408/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/408/options.json index ff1ac8247e..a89de70c61 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/408/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/408/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/409/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/409/options.json index 6ccbfe923d..701f9fe8f2 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/409/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/409/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/410/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/410/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/410/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/410/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/411/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/411/options.json index 14a50290d0..de66853a7a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/411/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/411/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/412/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/412/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/412/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/412/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/413/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/413/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/413/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/413/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/414/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/414/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/414/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/414/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/417/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/417/options.json index 83b3a8b5f3..f8560a7de9 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/417/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/417/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-in statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/418/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/418/options.json index 83b3a8b5f3..f8560a7de9 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/418/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/418/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-in statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/419/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/419/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/419/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/419/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/420/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/420/options.json index 0c5f4deed6..fa579aa831 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/420/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/420/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:24)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/421/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/421/options.json index e68fbb6aec..10bd5624f0 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/421/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/421/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/422/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/422/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/422/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/422/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/423/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/423/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/423/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/423/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/424/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/424/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/424/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/424/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/425/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/425/options.json index 9b3d4185f1..429d96ca3f 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/425/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/425/options.json @@ -1,3 +1,3 @@ { "throws": "Missing catch or finally clause (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/426/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/426/options.json index 439961e8ea..5eb5666731 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/426/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/426/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '‿' (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/427/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/427/options.json index 8ded4af443..aadfa63716 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/427/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/427/options.json @@ -1,3 +1,3 @@ { "throws": "Multiple default clauses (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/429/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/429/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/429/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/429/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/430/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/430/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/430/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/430/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/431/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/431/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/431/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/431/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/432/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/432/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/432/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/432/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/433/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/433/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/433/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/433/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/434/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/434/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/434/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/434/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/435/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/435/options.json index 0361d7c7d2..7d847e99c8 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/435/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/435/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/436/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/436/options.json index 0361d7c7d2..7d847e99c8 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/436/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/436/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/437/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/437/options.json index 0361d7c7d2..7d847e99c8 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/437/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/437/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/438/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/438/options.json index aa8239233c..c1ce88e361 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/438/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/438/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/439/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/439/options.json index 0361d7c7d2..7d847e99c8 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/439/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/439/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/440/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/440/options.json index aa8239233c..c1ce88e361 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/440/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/440/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/441/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/441/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/441/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/441/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/442/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/442/options.json index aa8239233c..c1ce88e361 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/442/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/442/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/443/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/443/options.json index 0b22a698d6..a10e365ed5 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/443/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/443/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/444/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/444/options.json index 02c5500083..913ef7d74a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/444/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/444/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/445/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/445/options.json index 02c5500083..913ef7d74a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/445/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/445/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/446/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/446/options.json index c5a8baf2b8..381fd12ce2 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/446/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/446/options.json @@ -1,3 +1,3 @@ { "throws": "Expecting Unicode escape sequence \\uXXXX (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/447/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/447/options.json index b813254a65..82bcfe621c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/447/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/447/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid Unicode escape (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/448/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/448/options.json index c5a8baf2b8..381fd12ce2 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/448/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/448/options.json @@ -1,3 +1,3 @@ { "throws": "Expecting Unicode escape sequence \\uXXXX (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/449/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/449/options.json index b813254a65..82bcfe621c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/449/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/449/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid Unicode escape (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/450/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/450/options.json index 5fa9021849..94eb7376be 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/450/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/450/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '‌' (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/451/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/451/options.json index 90935f68f4..c67d8bb8a9 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/451/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/451/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '‍' (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/452/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/452/options.json index a760565b1b..d732a16309 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/452/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/452/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated string constant (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/453/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/453/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/453/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/453/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/454/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/454/options.json index dececd0e83..f9d29c7f32 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/454/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/454/options.json @@ -1,3 +1,3 @@ { "throws": "'return' outside of function (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/455/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/455/options.json index 6ccbfe923d..701f9fe8f2 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/455/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/455/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/456/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/456/options.json index 14a50290d0..de66853a7a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/456/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/456/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/457/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/457/options.json index 332366a21c..c726e8fa98 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/457/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/457/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/459/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/459/options.json index 33bf5f84b8..070e662e80 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/459/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/459/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/460/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/460/options.json index e75cfed858..2a2e15787a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/460/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/460/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/461/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/461/options.json index 8008848be3..464af80a15 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/461/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/461/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/462/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/462/options.json index f0faa7faaa..a056cb50e1 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/462/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/462/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/463/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/463/options.json index 8008848be3..464af80a15 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/463/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/463/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/464/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/464/options.json index f0faa7faaa..a056cb50e1 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/464/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/464/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/465/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/465/options.json index a430baffb5..da7f2590db 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/465/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/465/options.json @@ -1,3 +1,3 @@ { "throws": "Label 'x' is already declared (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/466/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/466/options.json index 8112470453..1517e17193 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/466/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/466/options.json @@ -1,3 +1,3 @@ { "throws": "Deleting local variable in strict mode (1:29)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/467/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/467/options.json index 1b86ef2104..31b4c6d2a0 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/467/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/467/options.json @@ -1,3 +1,3 @@ { "throws": "'with' in strict mode (1:29)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/499/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/499/options.json index 11a57d6c56..ae2bfab55c 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/499/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/499/options.json @@ -1,3 +1,3 @@ { "throws": "Octal literal in strict mode (1:35)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/500/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/500/options.json index 3711f38eef..ec4ea95dc9 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/500/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/500/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/501/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/501/options.json index 2984958689..7e50b5f916 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/501/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/501/options.json @@ -1,3 +1,3 @@ { "throws": "Octal literal in strict mode (1:38)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/502/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/502/options.json index a864ada0fe..dd200e16e5 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/502/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/502/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:36)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/503/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/503/options.json index e92ad336dd..8389b2c726 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/503/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/503/options.json @@ -1,3 +1,3 @@ { "throws": "Octal literal in strict mode (1:69)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/514/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/514/options.json index 421c28bbd6..e23388601b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/514/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/514/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/517/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/517/options.json index 9db3dfc50c..660e54ca2a 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/517/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/517/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:43)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/518/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/518/options.json index 13e320a983..28545ded14 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/518/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/518/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/519/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/519/options.json index 0e4f27a823..0f592c74a3 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/519/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/519/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:44)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/522/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/522/options.json index 60bb6527f8..3696be182d 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/522/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/522/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:65)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/523/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/523/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/523/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/523/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/524/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/524/options.json index 5ba39437b2..d07b41872b 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/524/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/524/options.json @@ -1,3 +1,3 @@ { "throws": "Illegal newline after throw (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/core/uncategorised/536/options.json b/packages/babel-parser/test/fixtures/core/uncategorised/536/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/core/uncategorised/536/options.json +++ b/packages/babel-parser/test/fixtures/core/uncategorised/536/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/options.json b/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/options.json index beef14a214..97dce207c8 100644 --- a/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/options.json +++ b/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-binary-left/options.json b/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-binary-left/options.json index 410ecd16fd..e4ae9a99d0 100644 --- a/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-binary-left/options.json +++ b/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-binary-left/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-ternary-test/options.json b/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-ternary-test/options.json index 410ecd16fd..e4ae9a99d0 100644 --- a/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-ternary-test/options.json +++ b/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-ternary-test/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-outside-constructor/options.json b/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-outside-constructor/options.json index faef53359b..96ed06f4ca 100644 --- a/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-outside-constructor/options.json +++ b/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-outside-constructor/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-generator-prototype/options.json b/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-generator-prototype/options.json index 00c025e551..524ed587e1 100644 --- a/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-generator-prototype/options.json +++ b/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-generator-prototype/options.json @@ -1,3 +1,3 @@ { "throws": "Classes may not have static property named prototype (2:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-prototype/options.json b/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-prototype/options.json index bc9a87203e..f30c8a49ab 100644 --- a/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-prototype/options.json +++ b/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-prototype/options.json @@ -1,3 +1,3 @@ { "throws": "Classes may not have static property named prototype (2:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/class-methods/getter-signature/options.json b/packages/babel-parser/test/fixtures/es2015/class-methods/getter-signature/options.json index e096100dcf..65bc24a66f 100644 --- a/packages/babel-parser/test/fixtures/es2015/class-methods/getter-signature/options.json +++ b/packages/babel-parser/test/fixtures/es2015/class-methods/getter-signature/options.json @@ -1,3 +1,3 @@ { "throws": "getter must not have any formal parameters (2:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/class-methods/malformed-super-expression/options.json b/packages/babel-parser/test/fixtures/es2015/class-methods/malformed-super-expression/options.json index 451cd47516..dc41f0b14b 100644 --- a/packages/babel-parser/test/fixtures/es2015/class-methods/malformed-super-expression/options.json +++ b/packages/babel-parser/test/fixtures/es2015/class-methods/malformed-super-expression/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-array/options.json b/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-array/options.json index 8853dc92d1..6b5d541810 100644 --- a/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-array/options.json +++ b/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-array/options.json @@ -1,3 +1,4 @@ { - "throws": "You're trying to assign to a parenthesized expression, eg. instead of `([a]) = 0` use `([a] = 0)` (1:1)" -} \ No newline at end of file + "throws": + "You're trying to assign to a parenthesized expression, eg. instead of `([a]) = 0` use `([a] = 0)` (1:1)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-object/options.json b/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-object/options.json index f0acf87342..783a56a705 100644 --- a/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-object/options.json +++ b/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-object/options.json @@ -1,3 +1,4 @@ { - "throws": "You're trying to assign to a parenthesized expression, eg. instead of `({a}) = 0` use `({a} = 0)` (1:1)" -} \ No newline at end of file + "throws": + "You're trying to assign to a parenthesized expression, eg. instead of `({a}) = 0` use `({a} = 0)` (1:1)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/for-in/const-initializer/options.json b/packages/babel-parser/test/fixtures/es2015/for-in/const-initializer/options.json index a7c6e79257..85e8252d6f 100644 --- a/packages/babel-parser/test/fixtures/es2015/for-in/const-initializer/options.json +++ b/packages/babel-parser/test/fixtures/es2015/for-in/const-initializer/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/for-in/let-initializer/options.json b/packages/babel-parser/test/fixtures/es2015/for-in/let-initializer/options.json index bc625e0d0c..a717ca0fa7 100644 --- a/packages/babel-parser/test/fixtures/es2015/for-in/let-initializer/options.json +++ b/packages/babel-parser/test/fixtures/es2015/for-in/let-initializer/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/for-in/strict-initializer/options.json b/packages/babel-parser/test/fixtures/es2015/for-in/strict-initializer/options.json index 983e17a01e..497c2b2bde 100644 --- a/packages/babel-parser/test/fixtures/es2015/for-in/strict-initializer/options.json +++ b/packages/babel-parser/test/fixtures/es2015/for-in/strict-initializer/options.json @@ -1,3 +1,3 @@ { "throws": "for-in initializer in strict mode (2:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/for-in/var-arraybindingpattern-initializer/options.json b/packages/babel-parser/test/fixtures/es2015/for-in/var-arraybindingpattern-initializer/options.json index a7c6e79257..85e8252d6f 100644 --- a/packages/babel-parser/test/fixtures/es2015/for-in/var-arraybindingpattern-initializer/options.json +++ b/packages/babel-parser/test/fixtures/es2015/for-in/var-arraybindingpattern-initializer/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/for-in/var-objectbindingpattern-initializer/options.json b/packages/babel-parser/test/fixtures/es2015/for-in/var-objectbindingpattern-initializer/options.json index a7c6e79257..85e8252d6f 100644 --- a/packages/babel-parser/test/fixtures/es2015/for-in/var-objectbindingpattern-initializer/options.json +++ b/packages/babel-parser/test/fixtures/es2015/for-in/var-objectbindingpattern-initializer/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/meta-properties/new-invalid-prop/options.json b/packages/babel-parser/test/fixtures/es2015/meta-properties/new-invalid-prop/options.json index 91a5751e7f..8a88f91714 100644 --- a/packages/babel-parser/test/fixtures/es2015/meta-properties/new-invalid-prop/options.json +++ b/packages/babel-parser/test/fixtures/es2015/meta-properties/new-invalid-prop/options.json @@ -1,3 +1,3 @@ { "throws": "The only valid meta property for new is new.target (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/options.json index c58e1ea64f..da02d62545 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/options.json @@ -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)" } - diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/options.json index c8c111d88d..949358ec6e 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/options.json index cf1dcd59dc..57351167b6 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/options.json index c2f8cdda98..0e56c6bc93 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/options.json index 1cd229e76c..31e5df6a02 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/options.json index e6aaa311fc..e83f786485 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/options.json index 4eb6f26f95..ec6423f048 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/options.json index 4f3ba9d9d2..0e5dcf8f61 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/options.json index dab0e075b0..ec41da52d1 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/options.json index 7ee0cc4341..6485ac8dc1 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/options.json index 72b54a0a77..8fd67e8c9c 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/options.json index f28333f6f8..9589d03972 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/options.json index 1923e47523..46ee12ba13 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/options.json index 37d131b70f..96a5f1f604 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/options.json index 1923e47523..46ee12ba13 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/options.json index 37d131b70f..96a5f1f604 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/options.json index f28333f6f8..9589d03972 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/options.json index 8ef246d83c..6d16161f43 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/options.json index 6b46482b6e..beeef9dfc6 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/options.json index 1923e47523..46ee12ba13 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/options.json index 9fdf7082da..be53f65c50 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/options.json b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/options.json index 9bb46f4778..b18b705906 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration/options.json b/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration/options.json index 371aabd618..d8dbb9adfc 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration/options.json @@ -1,3 +1,4 @@ { - "throws": "Only expressions, functions or classes are allowed as the `default` export. (1:15)" -} \ No newline at end of file + "throws": + "Only expressions, functions or classes are allowed as the `default` export. (1:15)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration2/options.json b/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration2/options.json index 371aabd618..d8dbb9adfc 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration2/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration2/options.json @@ -1,3 +1,4 @@ { - "throws": "Only expressions, functions or classes are allowed as the `default` export. (1:15)" -} \ No newline at end of file + "throws": + "Only expressions, functions or classes are allowed as the `default` export. (1:15)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration3/options.json b/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration3/options.json index 371aabd618..d8dbb9adfc 100644 --- a/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration3/options.json +++ b/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration3/options.json @@ -1,3 +1,4 @@ { - "throws": "Only expressions, functions or classes are allowed as the `default` export. (1:15)" -} \ No newline at end of file + "throws": + "Only expressions, functions or classes are allowed as the `default` export. (1:15)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/.260/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/.260/options.json index 532b3a9472..4914c41568 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/.260/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/.260/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:36)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/.335/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/.335/options.json index 6b856bb728..b497c0c832 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/.335/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/.335/options.json @@ -1,3 +1,3 @@ { "throws": "Binding yield (1:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/.343/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/.343/options.json index 25c8cf7030..77b8139872 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/.343/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/.343/options.json @@ -1,3 +1,3 @@ { "throws": "Code point out of bounds (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/.345/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/.345/options.json index 8b9f1dfe8a..d347764e91 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/.345/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/.345/options.json @@ -1,3 +1,3 @@ { "throws": "getter should have no params (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/.346/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/.346/options.json index 1cddead191..74e0c74113 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/.346/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/.346/options.json @@ -1,3 +1,3 @@ { "throws": "setter should have exactly one param (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/125/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/125/options.json index bbe7740f41..09e50a3d71 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/125/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/125/options.json @@ -1,3 +1,3 @@ { "throws": "Duplicate constructor in the same class (1:27)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/126/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/126/options.json index 67e6a7ea52..38e87b0704 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/126/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/126/options.json @@ -1,3 +1,3 @@ { "throws": "Constructor can't have get/set modifier (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/127/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/127/options.json index 282ca08232..becf560010 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/127/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/127/options.json @@ -1,3 +1,3 @@ { "throws": "Constructor can't be a generator (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/151/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/151/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/151/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/151/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/197/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/197/options.json index e72f7dc61d..fbaba9a022 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/197/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/197/options.json @@ -1,3 +1,3 @@ { "ecmaVersion": 6 -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/198/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/198/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/198/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/198/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/199/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/199/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/199/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/199/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/200/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/200/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/200/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/200/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/201/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/201/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/201/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/201/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/202/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/202/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/202/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/202/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/203/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/203/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/203/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/203/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/204/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/204/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/204/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/204/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/205/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/205/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/205/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/205/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/206/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/206/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/206/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/206/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/207/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/207/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/207/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/207/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/208/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/208/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/208/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/208/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/209/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/209/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/209/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/209/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/210/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/210/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/210/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/210/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/211/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/211/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/211/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/211/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/212/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/212/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/212/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/212/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/213/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/213/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/213/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/213/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/214/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/214/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/214/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/214/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/215/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/215/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/215/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/215/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/216/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/216/options.json index 25c8cf7030..77b8139872 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/216/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/216/options.json @@ -1,3 +1,3 @@ { "throws": "Code point out of bounds (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/217/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/217/options.json index 79accc993f..efaa7d304c 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/217/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/217/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/218/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/218/options.json index 79accc993f..efaa7d304c 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/218/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/218/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/219/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/219/options.json index 79accc993f..efaa7d304c 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/219/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/219/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/220/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/220/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/220/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/220/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/221/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/221/options.json index d8b91465e5..7c5f08eb9b 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/221/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/221/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/222/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/222/options.json index 033fe6edc6..e6630c3da3 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/222/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/222/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in object destructuring pattern (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/223/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/223/options.json index e4a047907e..da1e107449 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/223/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/223/options.json @@ -1,3 +1,3 @@ { "throws": "Object pattern can't contain getter or setter (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/224/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/224/options.json index 626e94c744..cd6a9c1b1a 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/224/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/224/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (2:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/225/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/225/options.json index 236c59f885..42e596c50c 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/225/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/225/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (2:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/226/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/226/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/226/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/226/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/228/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/228/options.json index c8e5ca6e76..9f34dba232 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/228/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/228/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:37)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/229/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/229/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/229/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/229/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/230/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/230/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/230/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/230/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/231/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/231/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/231/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/231/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/232/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/232/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/232/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/232/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/237/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/237/options.json index 06a405c87b..e1e139e4ac 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/237/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/237/options.json @@ -1,4 +1,4 @@ { "sourceType": "module", "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/238/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/238/options.json index 9a5aa6e3a4..b5dc7b8e07 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/238/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/238/options.json @@ -1,4 +1,4 @@ { "sourceType": "module", "throws": "Unexpected token (1:19)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/239/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/239/options.json index 2f4c86f4bc..aa3b1c4399 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/239/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/239/options.json @@ -1,4 +1,4 @@ { "sourceType": "module", "throws": "Unexpected token (1:16)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/240/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/240/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/240/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/240/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/241/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/241/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/241/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/241/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/248/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/248/options.json index 8d80c05650..6d0445e20e 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/248/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/248/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/249/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/249/options.json index 2fdbbb1bc8..0f2c1bee90 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/249/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/249/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:21)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/250/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/250/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/250/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/250/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/251/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/251/options.json index 419e8d307f..99ffc0de01 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/251/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/251/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in arrow function parameters (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/252/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/252/options.json index 419e8d307f..99ffc0de01 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/252/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/252/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in arrow function parameters (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/264/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/264/options.json index 182d155159..5162185002 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/264/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/264/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated template (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/273/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/273/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/273/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/273/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/275/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/275/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/275/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/275/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/276/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/276/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/276/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/276/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/280/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/280/options.json index f048433215..0c0a9d0136 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/280/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/280/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:30)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/281/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/281/options.json index 2ece69e863..4773c60e5b 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/281/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/281/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:47)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/284/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/284/options.json index 70cf4c97fe..71f5061aff 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/284/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/284/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in arrow function parameters (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/285/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/285/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/285/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/285/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/290/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/290/options.json index 8513ff0bed..473cd470d4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/290/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/290/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid escape sequence in template (1:23)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/291/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/291/options.json index b857e8989a..ae24fbee33 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/291/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/291/options.json @@ -1,3 +1,3 @@ { "throws": "'import' and 'export' may only appear at the top level (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/293/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/293/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/293/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/293/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/294/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/294/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/294/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/294/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/298/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/298/options.json index b16ca8e5ee..49d27a1476 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/298/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/298/options.json @@ -1,3 +1,3 @@ { "throws": "Object pattern can't contain getter or setter (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/301/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/301/options.json index 54925950e0..2104ca4328 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/301/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/301/options.json @@ -1,3 +1,3 @@ { "sourceType": "module" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/311/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/311/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/311/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/311/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/312/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/312/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/312/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/312/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/317/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/317/options.json index e72f7dc61d..fbaba9a022 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/317/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/317/options.json @@ -1,3 +1,3 @@ { "ecmaVersion": 6 -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/324/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/324/options.json index 7a85828469..d921abda8f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/324/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/324/options.json @@ -1,3 +1,3 @@ { "throws": "Complex binding patterns require an initialization value (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/325/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/325/options.json index 7a85828469..d921abda8f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/325/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/325/options.json @@ -1,3 +1,3 @@ { "throws": "Complex binding patterns require an initialization value (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/326/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/326/options.json index 0dd216ae8f..1c52234e73 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/326/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/326/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '𖫵' (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/327/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/327/options.json index 5da67f4fd8..d7f3878c90 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/327/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/327/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '𫠞' (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/328/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/328/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/328/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/328/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/329/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/329/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/329/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/329/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/330/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/330/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/330/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/330/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/331/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/331/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/331/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/331/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/338/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/338/options.json index 54925950e0..2104ca4328 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/338/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/338/options.json @@ -1,3 +1,3 @@ { "sourceType": "module" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/339/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/339/options.json index 3ae5cb6c96..fd4da953a4 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/339/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/339/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid escape sequence in template (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/348/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/348/options.json index 444a5fb35b..c1ac8e1d13 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/348/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/348/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/349/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/349/options.json index 94976eca60..0d3bc321ef 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/349/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/349/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:19)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/354/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/354/options.json index 54925950e0..2104ca4328 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/354/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/354/options.json @@ -1,3 +1,3 @@ { "sourceType": "module" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/37/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/37/options.json index b5496da473..401518851f 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/37/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/37/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in arrow function parameters (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/38/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/38/options.json index aca079ee39..0de5e62369 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/38/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/38/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:20)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/386/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/386/options.json index 0d6f8c0674..9b76c337e1 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/386/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/386/options.json @@ -2,4 +2,3 @@ "sourceType": "module", "throws": "Unexpected token, expected \"{\" (1:7)" } - diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/392/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/392/options.json index 9f52ab64ae..3b74c45219 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/392/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/392/options.json @@ -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" } diff --git a/packages/babel-parser/test/fixtures/es2015/uncategorised/84/options.json b/packages/babel-parser/test/fixtures/es2015/uncategorised/84/options.json index 0639ae68d8..d56be40ce7 100644 --- a/packages/babel-parser/test/fixtures/es2015/uncategorised/84/options.json +++ b/packages/babel-parser/test/fixtures/es2015/uncategorised/84/options.json @@ -1,4 +1,4 @@ { "sourceType": "module", "throws": "Unexpected token (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/function-name-function-declaration-inside-generator/options.json b/packages/babel-parser/test/fixtures/es2015/yield/function-name-function-declaration-inside-generator/options.json index 4b0c86bb67..f14f9cb540 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/function-name-function-declaration-inside-generator/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/function-name-function-declaration-inside-generator/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (2:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-expression/options.json b/packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-expression/options.json index 66bd72acf9..9a7dc6156a 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-expression/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-expression/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict-body/options.json b/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict-body/options.json index 46f9bcac4a..cf06e871cc 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict-body/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict-body/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict/options.json b/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict/options.json index b16b4e8cd5..18a54259fa 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (2:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/in-global-scope/options.json b/packages/babel-parser/test/fixtures/es2015/yield/in-global-scope/options.json index 6588607606..c4c1edaca3 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/in-global-scope/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/in-global-scope/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/options.json b/packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/options.json index 84b618af52..63364a8e47 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:21)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-1/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-1/options.json index f03cb0d173..7ef6a50f45 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-1/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-1/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:7)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:7)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-2/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-2/options.json index ab6d176e8a..f688f165a9 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-2/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-2/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:15)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:15)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-3/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-3/options.json index f03cb0d173..7ef6a50f45 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-3/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-3/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:7)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:7)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-4/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-4/options.json index 2735e958a9..d1db2cc809 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-4/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-4/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:17)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:17)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-5/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-5/options.json index 816f0c4579..5722b6eb30 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-5/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-5/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:8)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:8)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator-method/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator-method/options.json index 163f3e8629..6f5bd40fe3 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator-method/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator-method/options.json @@ -1,3 +1,3 @@ { "throws": "yield is not allowed in generator parameters (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator/options.json index 6803713092..dd9a684ef9 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator/options.json @@ -1,3 +1,3 @@ { "throws": "yield is not allowed in generator parameters (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-strict/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-strict/options.json index 5c6c0a252a..4654361314 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-strict/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-strict/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (2:16)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-1/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-1/options.json index cd9b403bd9..120123c80f 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-1/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-1/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:3)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:3)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-2/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-2/options.json index cd9b403bd9..120123c80f 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-2/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-2/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:3)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:3)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-3/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-3/options.json index 584d09b5ff..46a75b41eb 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-3/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-3/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (2:9)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (2:9)" +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-no-parens-inside-generator/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-no-parens-inside-generator/options.json index e999fe365f..659fa230c4 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-no-parens-inside-generator/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-no-parens-inside-generator/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (2:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator-method/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator-method/options.json index 66bd72acf9..9a7dc6156a 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator-method/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator-method/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator/options.json index e7d3ccac20..6cd6ffe02c 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict-body/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict-body/options.json index 9abfaf5e09..37e79f9fb8 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict-body/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict-body/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict/options.json b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict/options.json index cc99c7829c..e65626183c 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (2:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/options.json b/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/options.json index 6803713092..dd9a684ef9 100644 --- a/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/options.json +++ b/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/options.json @@ -1,3 +1,3 @@ { "throws": "yield is not allowed in generator parameters (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/10/options.json b/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/10/options.json index 2c624e8cec..73054f4644 100644 --- a/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/10/options.json +++ b/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/10/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/11/options.json b/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/11/options.json index f04c5c035a..f6d96ba3a1 100644 --- a/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/11/options.json +++ b/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/11/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/12/options.json b/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/12/options.json index f04c5c035a..f6d96ba3a1 100644 --- a/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/12/options.json +++ b/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/12/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2017/async-functions/2/options.json b/packages/babel-parser/test/fixtures/es2017/async-functions/2/options.json index c6f19067ee..1525fbf250 100644 --- a/packages/babel-parser/test/fixtures/es2017/async-functions/2/options.json +++ b/packages/babel-parser/test/fixtures/es2017/async-functions/2/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/es2017/async-functions/no-method-asi/options.json b/packages/babel-parser/test/fixtures/es2017/async-functions/no-method-asi/options.json index 7348c12f9e..f3c78ddb4f 100644 --- a/packages/babel-parser/test/fixtures/es2017/async-functions/no-method-asi/options.json +++ b/packages/babel-parser/test/fixtures/es2017/async-functions/no-method-asi/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/.invalid-elision-after-rest/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/.invalid-elision-after-rest/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/.invalid-elision-after-rest/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/.invalid-elision-after-rest/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-line-terminator-arrow/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-line-terminator-arrow/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-line-terminator-arrow/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-line-terminator-arrow/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/param-with-rest-without-arrow/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/param-with-rest-without-arrow/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/param-with-rest-without-arrow/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/param-with-rest-without-arrow/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/rest-without-arrow/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/rest-without-arrow/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/rest-without-arrow/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/rest-without-arrow/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/options.json index 552c89da58..bf0f292caa 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in object destructuring pattern (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/options.json index a457612ad3..2cfe61cdc0 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in object destructuring pattern (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-cover-grammar/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-cover-grammar/options.json index b23f881870..a015cd4108 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-cover-grammar/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-cover-grammar/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/options.json index d8b91465e5..7c5f08eb9b 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/options.json index 65ef4a184a..9ce9658f7d 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-token/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-token/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-token/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-token/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-equal/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-equal/options.json index 7ca1e1ffbb..98d7123790 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-equal/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-equal/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/options.json index 8bb9a5f99b..e806dd7b3a 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default/options.json index 689ff73f73..a477c8ff30 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-lhs-init/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-lhs-init/options.json index 29280a8d63..a4dd545935 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-lhs-init/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-lhs-init/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-of statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-for-of/unexpected-number/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-for-of/unexpected-number/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-for-of/unexpected-number/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-for-of/unexpected-number/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/.generator-parameter-binding-property-reserved/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/.generator-parameter-binding-property-reserved/options.json index 26ddfc8190..cf2a6759bd 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/.generator-parameter-binding-property-reserved/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/.generator-parameter-binding-property-reserved/options.json @@ -1,3 +1,3 @@ { "throws": "Binding yield (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/options.json index 690a8e9e31..9f8cd12d30 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/options.json index 690a8e9e31..9f8cd12d30 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/options.json index 690a8e9e31..9f8cd12d30 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/options.json index 38ea64b097..f45f06d72e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/options.json index 38ea64b097..f45f06d72e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/options.json index 38ea64b097..f45f06d72e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/incomplete-yield-delegate/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/incomplete-yield-delegate/options.json index b23f881870..a015cd4108 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/incomplete-yield-delegate/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/incomplete-yield-delegate/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method-2/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method-2/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method-2/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method-2/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_function_wait/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_function_wait/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_function_wait/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_function_wait/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_lone_surrogate/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_lone_surrogate/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_lone_surrogate/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/.invalid_lone_surrogate/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_escaped_surrogate_pairs/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_escaped_surrogate_pairs/options.json index 4bb33235bd..df97a8ee67 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_escaped_surrogate_pairs/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_escaped_surrogate_pairs/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid Unicode escape (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/options.json index 6583569ead..1bc235c3d9 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/options.json @@ -1,3 +1,4 @@ { - "throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)" -} \ No newline at end of file + "throws": + "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_id_smp/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_id_smp/options.json index 905116584b..0e85210242 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_id_smp/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_id_smp/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '🀒' (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_var_await/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_var_await/options.json index 6583569ead..1bc235c3d9 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_var_await/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_var_await/options.json @@ -1,3 +1,4 @@ { - "throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)" -} \ No newline at end of file + "throws": + "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/options.json index 8bb9a5f99b..e806dd7b3a 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-module-specifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-module-specifier/options.json index 89e36d9013..4c07f39d17 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-module-specifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-module-specifier/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:16)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-comma/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-comma/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-comma/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-comma/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-module-specifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-module-specifier/options.json index 1e730e1707..d5583f7bc5 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-module-specifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-module-specifier/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:19)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-module-specifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-module-specifier/options.json index 2a73699bc2..b8b06c3a03 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-module-specifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-module-specifier/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-named/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-named/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-named/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-named/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-namespace/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-namespace/options.json index 7ca1e1ffbb..98d7123790 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-namespace/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-namespace/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-as-missing-from/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-as-missing-from/options.json index 2ddc9e708f..562afcef48 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-as-missing-from/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-as-missing-from/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:23)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-after-named/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-after-named/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-after-named/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-after-named/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-missing-as/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-missing-as/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-missing-as/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-missing-as/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/options.json index 8cb567ee77..57893e4eee 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/options.json @@ -1,3 +1,3 @@ { "throws": "Complex binding patterns require an initialization value (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-dots/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-dots/options.json index 4e08e9340e..6079f138a6 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-dots/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-dots/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:29)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/options.json index 2985f64e65..f1d291c3e4 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/options.json @@ -1,3 +1,3 @@ { "throws": "The only valid meta property for new is new.target (1:25)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/options.json index 57e02d3bf4..de857a114a 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:39)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/options.json index f36f2e1bd9..5c966843f4 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:20)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/options.json index f36f2e1bd9..5c966843f4 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:20)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/options.json index afd5a5116b..e19950ad14 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/options.json index afd5a5116b..e19950ad14 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/options.json index cf57a1fa83..f364ee9184 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:42)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dot-dot/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dot-dot/options.json index e68fbb6aec..10bd5624f0 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dot-dot/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dot-dot/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dots/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dots/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dots/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dots/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-spreads/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-spreads/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-spreads/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-spreads/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dot-dot/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dot-dot/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dot-dot/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dot-dot/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dots/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dots/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dots/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dots/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-spreads/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-spreads/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-spreads/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-spreads/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.octal-literal/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.octal-literal/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.octal-literal/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.octal-literal/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.strict-octal-literal/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.strict-octal-literal/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.strict-octal-literal/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/.strict-octal-literal/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-escape/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-escape/options.json index 3ae5cb6c96..fd4da953a4 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-escape/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-escape/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid escape sequence in template (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed/options.json index 182d155159..5162185002 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated template (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/options.json index d73f4a2bec..640cd6c71b 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:20)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-default/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-default/options.json index d84cec7b2d..31d78f2e57 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-default/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-default/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:21)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (1:21)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameter/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameter/options.json index e354d58b31..352b04da20 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameter/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameter/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:16)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (1:16)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameters/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameters/options.json index 2c82a8fe86..6d7cdbc432 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameters/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameters/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:25)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (1:25)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-export-default/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-export-default/options.json index 6583569ead..1bc235c3d9 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-export-default/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-export-default/options.json @@ -1,3 +1,4 @@ { - "throws": "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)" -} \ No newline at end of file + "throws": + "'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-name/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-name/options.json index 7c3fd48ca3..5dcc4a8923 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-name/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-name/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-parameter/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-parameter/options.json index 4d161ba35a..0db4ce4adc 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-parameter/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-parameter/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-rest/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-rest/options.json index 594d686a64..c689509a34 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-rest/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-rest/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-member-expression/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-member-expression/options.json index 870f2ec57d..f3780bda31 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-member-expression/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-member-expression/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:28)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-parameter/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-parameter/options.json index 4d161ba35a..0db4ce4adc 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-parameter/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-parameter/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-rest/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-rest/options.json index 853fd57f2e..3d2ca09a60 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-rest/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-rest/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word inside generator functions (1:24)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-array-pattern/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-array-pattern/options.json index 6478b65d8d..a2857a14ad 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-array-pattern/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-array-pattern/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (1:16)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/options.json index 4a2737b8e9..1de2e87eff 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (1:19)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/options.json index 5b44b14828..05cab66d4e 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/options.json @@ -1,3 +1,3 @@ { "throws": "yield is a reserved word in strict mode (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-default/options.json b/packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-default/options.json index d84cec7b2d..31d78f2e57 100644 --- a/packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-default/options.json +++ b/packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-default/options.json @@ -1,3 +1,4 @@ { - "throws": "yield is not allowed in the parameters of an arrow function inside a generator (1:21)" -} \ No newline at end of file + "throws": + "yield is not allowed in the parameters of an arrow function inside a generator (1:21)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.GH-1106-09/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.GH-1106-09/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.GH-1106-09/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.GH-1106-09/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0033/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0033/options.json index 65ef4a184a..9ce9658f7d 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0033/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0033/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0034/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0034/options.json index 65ef4a184a..9ce9658f7d 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0034/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0034/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0035/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0035/options.json index f8ff26aba2..3e2f5ee264 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0035/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0035/options.json @@ -1,3 +1,4 @@ { - "throws": "Error parsing regular expression: Invalid regular expression: /(s/: Unterminated group (1:9)" -} \ No newline at end of file + "throws": + "Error parsing regular expression: Invalid regular expression: /(s/: Unterminated group (1:9)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0036/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0036/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0036/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0036/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0037/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0037/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0037/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0037/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0041/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0041/options.json index 2a73699bc2..b8b06c3a03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0041/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0041/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0042/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0042/options.json index 7ca1e1ffbb..98d7123790 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0042/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0042/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0043/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0043/options.json index 8bb9a5f99b..e806dd7b3a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0043/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0043/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:17)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0044/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0044/options.json index 2a73699bc2..b8b06c3a03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0044/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0044/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0048/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0048/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0048/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0048/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0049/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0049/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0049/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0049/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0050/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0050/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0050/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0050/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0051/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0051/options.json index 65ef4a184a..9ce9658f7d 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0051/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0051/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0075/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0075/options.json index 0341c5637c..e3a1ba7e82 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0075/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0075/options.json @@ -1,3 +1,3 @@ { "throws": "setter should have exactly one param (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0137/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0137/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0137/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0137/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0163/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0163/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0163/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0163/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0165/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0165/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0165/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0165/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0166/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0166/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0166/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0166/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0167/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0167/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0167/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0167/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0169/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0169/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0169/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0169/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0277/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0277/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0277/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/.migrated_0277/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-00/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-00/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-00/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-00/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-02/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-02/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-02/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-02/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-03/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-03/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-03/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-03/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-04/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-04/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-04/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-04/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-05/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-05/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-05/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-05/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-06/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-06/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-06/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-06/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-07/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-07/options.json index 143c8be643..8e0dce66ef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-07/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-07/options.json @@ -1,3 +1,3 @@ { "throws": "Bad character escape sequence (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0000/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0000/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0000/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0000/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0001/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0001/options.json index 919c05ec87..ca189c74f6 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0001/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0001/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0003/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0003/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0003/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0003/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/options.json index cf3086295c..91bb1eef0c 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0007/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0007/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0007/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0007/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0008/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0008/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0008/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0008/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0009/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0009/options.json index b4716df8c6..1a0693338e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0009/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0009/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 16 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0010/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0010/options.json index aa61ff56c2..ee18527964 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0010/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0010/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0011/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0011/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0011/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0011/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0012/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0012/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0012/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0012/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0013/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0013/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0013/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0013/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0014/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0014/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0014/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0014/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0015/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0015/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0015/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0015/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0016/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0016/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0016/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0016/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0017/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0017/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0017/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0017/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0018/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0018/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0018/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0018/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0019/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0019/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0019/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0019/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0020/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0020/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0020/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0020/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0021/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0021/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0021/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0021/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0022/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0022/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0022/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0022/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0023/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0023/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0023/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0023/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0024/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0024/options.json index d00691a137..40dc3da9a8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0024/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0024/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 2 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0025/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0025/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0025/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0025/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0026/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0026/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0026/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0026/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0027/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0027/options.json index 5c0ca078e5..3f09c36a5f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0027/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0027/options.json @@ -1,3 +1,3 @@ { "throws": "Expected number in radix 8 (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0028/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0028/options.json index f313a1ab44..d52d9cfac4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0028/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0028/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0029/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0029/options.json index b239abb159..c70fa099de 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0029/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0029/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0030/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0030/options.json index f42de64632..dd76235059 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0030/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0030/options.json @@ -1,3 +1,3 @@ { "throws": "Identifier directly after number (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0031/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0031/options.json index a760565b1b..d732a16309 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0031/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0031/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated string constant (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0032/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0032/options.json index d08f66903c..18c53b997b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0032/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0032/options.json @@ -1,3 +1,3 @@ { "throws": "Expecting Unicode escape sequence \\uXXXX (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0038/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0038/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0038/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0038/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0039/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0039/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0039/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0039/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0045/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0045/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0045/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0045/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0046/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0046/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0046/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0046/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0047/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0047/options.json index d8b91465e5..7c5f08eb9b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0047/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0047/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0052/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0052/options.json index 57f8bee850..c09dac1301 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0052/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0052/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in postfix operation (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0053/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0053/options.json index 57f8bee850..c09dac1301 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0053/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0053/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in postfix operation (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/options.json index e58c443745..515e441e8e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in prefix operation (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0055/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0055/options.json index e58c443745..515e441e8e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0055/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0055/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in prefix operation (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0056/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0056/options.json index 83b3a8b5f3..f8560a7de9 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0056/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0056/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-in statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0057/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0057/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0057/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0057/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0058/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0058/options.json index e68fbb6aec..10bd5624f0 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0058/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0058/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0059/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0059/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0059/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0059/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0061/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0061/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0061/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0061/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/options.json index d5e4b52d5c..2fd762cd6a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0063/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0063/options.json index 78a668d16d..9d0cd9237f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0063/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0063/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated string constant (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0064/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0064/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0064/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0064/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/options.json index 852d412611..895412e4e5 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected character '#' (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0066/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0066/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0066/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0066/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0067/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0067/options.json index 740de73d85..6010e96ed1 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0067/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0067/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in assignment expression (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0068/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0068/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0068/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0068/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0069/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0069/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0069/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0069/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0070/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0070/options.json index aa8239233c..c1ce88e361 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0070/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0070/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0071/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0071/options.json index 6588607606..c4c1edaca3 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0071/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0071/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0072/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0072/options.json index 6588607606..c4c1edaca3 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0072/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0072/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0073/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0073/options.json index 328b1ddde8..89bfc2d73f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0073/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0073/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0074/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0074/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0074/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0074/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0082/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0082/options.json index e68fbb6aec..10bd5624f0 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0082/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0082/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0085/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0085/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0085/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0085/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0086/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0086/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0086/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0086/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0093/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0093/options.json index 8d80c05650..6d0445e20e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0093/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0093/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0094/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0094/options.json index 2fdbbb1bc8..0f2c1bee90 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0094/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0094/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:21)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0095/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0095/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0095/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0095/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0096/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0096/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0096/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0096/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0097/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0097/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0097/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0097/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0098/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0098/options.json index 419e8d307f..99ffc0de01 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0098/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0098/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in arrow function parameters (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0099/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0099/options.json index 419e8d307f..99ffc0de01 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0099/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0099/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in arrow function parameters (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0103/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0103/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0103/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0103/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0104/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0104/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0104/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0104/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0105/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0105/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0105/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0105/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0106/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0106/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0106/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0106/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0107/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0107/options.json index 3e33f7730f..cb6c66081e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0107/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0107/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0108/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0108/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0108/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0108/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0109/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0109/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0109/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0109/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0110/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0110/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0110/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0110/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0111/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0111/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0111/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0111/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0112/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0112/options.json index ff1ac8247e..a89de70c61 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0112/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0112/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0114/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0114/options.json index ff1ac8247e..a89de70c61 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0114/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0114/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0115/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0115/options.json index ff1ac8247e..a89de70c61 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0115/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0115/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0116/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0116/options.json index 6ccbfe923d..701f9fe8f2 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0116/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0116/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0117/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0117/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0117/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0117/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0118/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0118/options.json index 14a50290d0..de66853a7a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0118/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0118/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0119/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0119/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0119/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0119/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0121/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0121/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0121/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0121/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0125/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0125/options.json index 83b3a8b5f3..f8560a7de9 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0125/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0125/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-in statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0126/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0126/options.json index 83b3a8b5f3..f8560a7de9 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0126/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0126/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid left-hand side in for-in statement (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0127/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0127/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0127/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0127/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0128/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0128/options.json index 0c5f4deed6..fa579aa831 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0128/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0128/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:24)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0129/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0129/options.json index e68fbb6aec..10bd5624f0 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0129/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0129/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0130/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0130/options.json index 358068a16a..9e093bfdcd 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0130/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0130/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:12)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0131/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0131/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0131/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0131/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0132/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0132/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0132/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0132/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0133/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0133/options.json index 9b3d4185f1..429d96ca3f 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0133/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0133/options.json @@ -1,3 +1,3 @@ { "throws": "Missing catch or finally clause (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0134/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0134/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0134/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0134/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0136/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0136/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0136/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0136/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/options.json index 7ca1e1ffbb..98d7123790 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0139/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0139/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0139/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0139/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0140/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0140/options.json index 167116741e..c958665c03 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0140/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0140/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:7)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0141/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0141/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0141/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0141/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0142/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0142/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0142/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0142/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0143/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0143/options.json index 8ded4af443..aadfa63716 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0143/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0143/options.json @@ -1,3 +1,3 @@ { "throws": "Multiple default clauses (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0144/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0144/options.json index 65ef4a184a..9ce9658f7d 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0144/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0144/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:8)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0145/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0145/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0145/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0145/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0146/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0146/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0146/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0146/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0147/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0147/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0147/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0147/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0148/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0148/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0148/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0148/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0149/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0149/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0149/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0149/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0150/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0150/options.json index 228eff80e8..eb40f4f052 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0150/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0150/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated comment (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0151/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0151/options.json index 919c05ec87..ca189c74f6 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0151/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0151/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0152/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0152/options.json index 919c05ec87..ca189c74f6 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0152/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0152/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0153/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0153/options.json index 919c05ec87..ca189c74f6 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0153/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0153/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0154/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0154/options.json index 919c05ec87..ca189c74f6 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0154/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0154/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0155/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0155/options.json index 0361d7c7d2..7d847e99c8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0155/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0155/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0156/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0156/options.json index aa8239233c..c1ce88e361 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0156/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0156/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/options.json index e07b72599f..66fb1cd63b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated regular expression (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0158/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0158/options.json index aa8239233c..c1ce88e361 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0158/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0158/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0159/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0159/options.json index 0b22a698d6..a10e365ed5 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0159/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0159/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (2:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0160/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0160/options.json index 02c5500083..913ef7d74a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0160/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0160/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0161/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0161/options.json index 02c5500083..913ef7d74a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0161/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0161/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (3:2)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0162/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0162/options.json index c5a8baf2b8..381fd12ce2 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0162/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0162/options.json @@ -1,3 +1,3 @@ { "throws": "Expecting Unicode escape sequence \\uXXXX (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0164/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0164/options.json index c5a8baf2b8..381fd12ce2 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0164/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0164/options.json @@ -1,3 +1,3 @@ { "throws": "Expecting Unicode escape sequence \\uXXXX (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0168/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0168/options.json index a760565b1b..d732a16309 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0168/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0168/options.json @@ -1,3 +1,3 @@ { "throws": "Unterminated string constant (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0170/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0170/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0170/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0170/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0171/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0171/options.json index dececd0e83..f9d29c7f32 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0171/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0171/options.json @@ -1,3 +1,3 @@ { "throws": "'return' outside of function (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0172/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0172/options.json index 6ccbfe923d..701f9fe8f2 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0172/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0172/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0173/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0173/options.json index 14a50290d0..de66853a7a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0173/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0173/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:0)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0174/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0174/options.json index 332366a21c..c726e8fa98 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0174/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0174/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:22)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0176/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0176/options.json index 33bf5f84b8..070e662e80 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0176/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0176/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0177/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0177/options.json index e75cfed858..2a2e15787a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0177/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0177/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/options.json index 8008848be3..464af80a15 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0179/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0179/options.json index f0faa7faaa..a056cb50e1 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0179/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0179/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0180/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0180/options.json index 8008848be3..464af80a15 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0180/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0180/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic break (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0181/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0181/options.json index f0faa7faaa..a056cb50e1 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0181/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0181/options.json @@ -1,3 +1,3 @@ { "throws": "Unsyntactic continue (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0182/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0182/options.json index a430baffb5..da7f2590db 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0182/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0182/options.json @@ -1,3 +1,3 @@ { "throws": "Label 'x' is already declared (1:18)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0183/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0183/options.json index 8112470453..1517e17193 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0183/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0183/options.json @@ -1,3 +1,3 @@ { "throws": "Deleting local variable in strict mode (1:29)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0184/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0184/options.json index 1b86ef2104..31b4c6d2a0 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0184/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0184/options.json @@ -1,3 +1,3 @@ { "throws": "'with' in strict mode (1:29)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0217/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0217/options.json index 11a57d6c56..ae2bfab55c 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0217/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0217/options.json @@ -1,3 +1,3 @@ { "throws": "Octal literal in strict mode (1:35)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0218/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0218/options.json index 3711f38eef..ec4ea95dc9 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0218/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0218/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:33)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0219/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0219/options.json index 2984958689..7e50b5f916 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0219/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0219/options.json @@ -1,3 +1,3 @@ { "throws": "Octal literal in strict mode (1:38)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0220/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0220/options.json index a864ada0fe..dd200e16e5 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0220/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0220/options.json @@ -1,3 +1,3 @@ { "throws": "Invalid number (1:36)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0223/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0223/options.json index e92ad336dd..8389b2c726 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0223/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0223/options.json @@ -1,3 +1,3 @@ { "throws": "Octal literal in strict mode (1:69)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0232/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0232/options.json index 22d103a833..9fa1302689 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0232/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0232/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:37)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0238/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0238/options.json index 9f7910a413..27a7b64d71 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0238/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0238/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0240/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0240/options.json index 421c28bbd6..e23388601b 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0240/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0240/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0243/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0243/options.json index 9db3dfc50c..660e54ca2a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0243/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0243/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:43)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0244/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0244/options.json index 13e320a983..28545ded14 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0244/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0244/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:15)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0245/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0245/options.json index 0e4f27a823..0f592c74a3 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0245/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0245/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:44)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0248/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0248/options.json index bb0741872a..cb5abd9f74 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0248/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0248/options.json @@ -1,3 +1,3 @@ { "throws": "Label '__proto__' is already declared (1:11)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0249/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0249/options.json index e887380a58..172760cf2c 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0249/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0249/options.json @@ -1,3 +1,3 @@ { "throws": "Argument name clash in strict mode (1:36)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/options.json index ae09c6ae48..8e9b9f5859 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/options.json @@ -1,3 +1,3 @@ { "throws": "Redefinition of __proto__ property (1:21)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0252/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0252/options.json index 3b5e811628..05dbd26b33 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0252/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0252/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0253/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0253/options.json index 3b5e811628..05dbd26b33 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0253/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0253/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:3)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0254/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0254/options.json index 0ab445fe47..91b308200e 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0254/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0254/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:5)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0255/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0255/options.json index 515b971673..158f0af7b4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0255/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0255/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0256/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0256/options.json index 1e730e1707..d5583f7bc5 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0256/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0256/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:19)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0257/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0257/options.json index 7250ca6848..715f71e32a 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0257/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0257/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (1:16)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0266/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0266/options.json index 93db7641c7..2a28555f76 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0266/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0266/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:9)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0269/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0269/options.json index 51c483f3d3..d50e8469b8 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0269/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0269/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:14)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0272/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0272/options.json index cbb8e10c8d..f4b1d256a4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0272/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0272/options.json @@ -1,3 +1,3 @@ { "throws": "Constructor can't have get/set modifier (1:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0273/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0273/options.json index cbb8e10c8d..f4b1d256a4 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0273/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0273/options.json @@ -1,3 +1,3 @@ { "throws": "Constructor can't have get/set modifier (1:13)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0274/options.json b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0274/options.json index cf2d761794..4d892adcef 100644 --- a/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0274/options.json +++ b/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0274/options.json @@ -1,3 +1,3 @@ { "throws": "Duplicate constructor in the same class (1:25)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/esprima/rest-parameter/invalid-setter-rest/options.json b/packages/babel-parser/test/fixtures/esprima/rest-parameter/invalid-setter-rest/options.json index c397e398c8..0006fbf98e 100644 --- a/packages/babel-parser/test/fixtures/esprima/rest-parameter/invalid-setter-rest/options.json +++ b/packages/babel-parser/test/fixtures/esprima/rest-parameter/invalid-setter-rest/options.json @@ -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)" +} diff --git a/packages/babel-parser/test/fixtures/esprima/statement-variable/complex-pattern-requires-init/options.json b/packages/babel-parser/test/fixtures/esprima/statement-variable/complex-pattern-requires-init/options.json index 8cb567ee77..57893e4eee 100644 --- a/packages/babel-parser/test/fixtures/esprima/statement-variable/complex-pattern-requires-init/options.json +++ b/packages/babel-parser/test/fixtures/esprima/statement-variable/complex-pattern-requires-init/options.json @@ -1,3 +1,3 @@ { "throws": "Complex binding patterns require an initialization value (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/.bigint/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/.bigint/options.json index 8e44fabed2..20096726d6 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/.bigint/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/.bigint/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/.class-private-properties/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/.class-private-properties/options.json index 85d7fee65f..16521eb656 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/.class-private-properties/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/.class-private-properties/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/.numeric-separator/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/.numeric-separator/options.json index 6996ba6f15..06642e1563 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/.numeric-separator/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/.numeric-separator/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/async-generators/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/async-generators/options.json index 4fbfd38e68..e55164203d 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/async-generators/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/async-generators/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer-and-type/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer-and-type/options.json index a4e85bf033..6dc7d63208 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer-and-type/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer-and-type/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer/options.json index aaa6e80686..44726ea600 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-with-initializer/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-without-initializer/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-without-initializer/options.json index bbec0b1850..4d708dc644 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-without-initializer/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/class-properties-without-initializer/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/decorators/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/decorators/options.json index 11f94afa3b..b8382f9c08 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/decorators/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/decorators/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/do-expressions/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/do-expressions/options.json index 0aaae18db8..b7fe32fb80 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/do-expressions/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/do-expressions/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/dynamic-import/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/dynamic-import/options.json index 90bbfd5623..ee35343694 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/dynamic-import/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/dynamic-import/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-default/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-default/options.json index e306a4f34c..7d30825d83 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-default/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-default/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-namespace/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-namespace/options.json index b8b7c829da..ff150bf976 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-namespace/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/export-namespace/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/import-meta/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/import-meta/options.json index 48ce55a15d..ae56b0d5e7 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/import-meta/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/import-meta/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/object-rest-spread/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/object-rest-spread/options.json index 98dd2ee11d..e56fe7d7df 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/object-rest-spread/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/object-rest-spread/options.json @@ -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": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/_no-plugin/optional-chaining/options.json b/packages/babel-parser/test/fixtures/experimental/_no-plugin/optional-chaining/options.json index b8e170c94a..9a205fc1d3 100644 --- a/packages/babel-parser/test/fixtures/experimental/_no-plugin/optional-chaining/options.json +++ b/packages/babel-parser/test/fixtures/experimental/_no-plugin/optional-chaining/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/experimental/async-generators/class-method-no-asi/options.json b/packages/babel-parser/test/fixtures/experimental/async-generators/class-method-no-asi/options.json index 7348c12f9e..f3c78ddb4f 100644 --- a/packages/babel-parser/test/fixtures/experimental/async-generators/class-method-no-asi/options.json +++ b/packages/babel-parser/test/fixtures/experimental/async-generators/class-method-no-asi/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-methods/combined/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-methods/combined/options.json index 55a2c821d7..b69ee0b978 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-methods/combined/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-methods/combined/options.json @@ -1,3 +1,7 @@ { - "plugins": ["classProperties", "classPrivateProperties", "classPrivateMethods"] + "plugins": [ + "classProperties", + "classPrivateProperties", + "classPrivateMethods" + ] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-name-constructor/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-name-constructor/options.json index 1473a4f7a3..d702f4db97 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-name-constructor/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-name-constructor/options.json @@ -1,4 +1,4 @@ { "throws": "Classes may not have a private field named '#constructor' (2:2)", - "plugins": [ "classPrivateMethods" ] + "plugins": ["classPrivateMethods"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-no-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-no-plugin/options.json index 15cf5cc8d4..568c1237e9 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-no-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-methods/failure-no-plugin/options.json @@ -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"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-computed/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-computed/options.json index ef991ca761..d740be4d93 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-computed/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-computed/options.json @@ -1,4 +1,4 @@ { "throws": "Unexpected token (3:3)", - "plugins": [ "classPrivateProperties" ] + "plugins": ["classPrivateProperties"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-delete-private-property/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-delete-private-property/options.json index 009e1bf06e..e9f18e93d1 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-delete-private-property/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-delete-private-property/options.json @@ -1,4 +1,4 @@ { "throws": "Deleting a private field is not allowed (4:4)", - "plugins": [ "classPrivateProperties" ] + "plugins": ["classPrivateProperties"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-name-constructor/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-name-constructor/options.json index 3489ed65cb..51343aac3b 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-name-constructor/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-name-constructor/options.json @@ -1,4 +1,4 @@ { "throws": "Classes may not have a private field named '#constructor' (2:2)", - "plugins": [ "classPrivateProperties" ] + "plugins": ["classPrivateProperties"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-numeric-literal/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-numeric-literal/options.json index dfd75111a5..714877566f 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-numeric-literal/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-numeric-literal/options.json @@ -1,4 +1,4 @@ { "throws": "Unexpected token (2:3)", - "plugins": [ "classPrivateProperties" ] + "plugins": ["classPrivateProperties"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-shorthand/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-shorthand/options.json index ff492563b6..1c13dabac2 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-shorthand/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-shorthand/options.json @@ -1,4 +1,4 @@ { "throws": "Unexpected token (4:11)", - "plugins": [ "classPrivateProperties" ] + "plugins": ["classPrivateProperties"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-string-literal/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-string-literal/options.json index dfd75111a5..714877566f 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-string-literal/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/failure-string-literal/options.json @@ -1,4 +1,4 @@ { "throws": "Unexpected token (2:3)", - "plugins": [ "classPrivateProperties" ] + "plugins": ["classPrivateProperties"] } diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/super-call/options.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/super-call/options.json index e20043c3fa..c4e5a99479 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/super-call/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/super-call/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/experimental/class-properties/super-call/options.json b/packages/babel-parser/test/fixtures/experimental/class-properties/super-call/options.json index 3f06e4fecf..615953e7b7 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-properties/super-call/options.json +++ b/packages/babel-parser/test/fixtures/experimental/class-properties/super-call/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-boolean/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-boolean/options.json index 30762d985c..2397f70ee6 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-boolean/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-boolean/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["decorators", { "decoratorsBeforeExport": "yes" }] - ], + "plugins": [["decorators", { "decoratorsBeforeExport": "yes" }]], "throws": "'decoratorsBeforeExport' must be a boolean." } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-with-parens/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-with-parens/options.json index 8dcb89f00f..3d20bee945 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-with-parens/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-with-parens/options.json @@ -1,6 +1,4 @@ { "sourceType": "module", - "plugins": [ - ["decorators", { "decoratorsBeforeExport": true }] - ] + "plugins": [["decorators", { "decoratorsBeforeExport": true }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-without-parens/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-without-parens/options.json index 19ed49f042..2228d3b663 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-without-parens/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default-decorated-expression-without-parens/options.json @@ -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)" } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default/options.json index 8dcb89f00f..3d20bee945 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export-default/options.json @@ -1,6 +1,4 @@ { "sourceType": "module", - "plugins": [ - ["decorators", { "decoratorsBeforeExport": true }] - ] + "plugins": [["decorators", { "decoratorsBeforeExport": true }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export/options.json index 8dcb89f00f..3d20bee945 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-export/options.json @@ -1,6 +1,4 @@ { "sourceType": "module", - "plugins": [ - ["decorators", { "decoratorsBeforeExport": true }] - ] + "plugins": [["decorators", { "decoratorsBeforeExport": true }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-required/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-required/options.json index 3a1e80661a..d4ebe6ec41 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-required/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-required/options.json @@ -1,4 +1,5 @@ { "plugins": ["decorators"], - "throws": "The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'." + "throws": + "The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'." } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-true-decorator-after-export/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-true-decorator-after-export/options.json index 8d1cb160da..bf5b088258 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-true-decorator-after-export/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/decoratorsBeforeExport-true-decorator-after-export/options.json @@ -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:7)" + "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:7)" } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/export-decorated-class-without-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/export-decorated-class-without-plugin/options.json index 5a8bd1e838..c3ea9d200b 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/export-decorated-class-without-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/export-decorated-class-without-plugin/options.json @@ -1,5 +1,6 @@ { "sourceType": "module", - "throws": "This experimental syntax requires enabling one of the following parser plugin(s): 'decorators, decorators-legacy' (1:7)", + "throws": + "This experimental syntax requires enabling one of the following parser plugin(s): 'decorators, decorators-legacy' (1:7)", "plugins": null } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/no-export-decorators-on-class/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/no-export-decorators-on-class/options.json index cb54fc7944..ddf4b1f47c 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/no-export-decorators-on-class/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/no-export-decorators-on-class/options.json @@ -1,4 +1,5 @@ { "sourceType": "module", - "throws": "Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead. (2:0)" + "throws": + "Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead. (2:0)" } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/no-object-methods/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/no-object-methods/options.json index 7dd4ed9e28..e885f2c017 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/no-object-methods/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/no-object-methods/options.json @@ -1,3 +1,4 @@ { - "throws": "Stage 2 decorators disallow object literal property decorators (2:2)" + "throws": + "Stage 2 decorators disallow object literal property decorators (2:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators-2/options.json b/packages/babel-parser/test/fixtures/experimental/decorators-2/options.json index 14ae2b56d3..6c9cc72327 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators-2/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators-2/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["decorators", { "decoratorsBeforeExport": false }] - ] + "plugins": [["decorators", { "decoratorsBeforeExport": false }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators-without-class/options.json b/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators-without-class/options.json index 61c2c23daa..bf5a1cc8a7 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators-without-class/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators-without-class/options.json @@ -1,4 +1,5 @@ { - "throws": "You can only use decorators on an export when exporting a class (2:0)", + "throws": + "You can only use decorators on an export when exporting a class (2:0)", "sourceType": "module" } diff --git a/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators/options.json b/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators/options.json index 61c2c23daa..bf5a1cc8a7 100644 --- a/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators/options.json +++ b/packages/babel-parser/test/fixtures/experimental/decorators/no-export-decorators/options.json @@ -1,4 +1,5 @@ { - "throws": "You can only use decorators on an export when exporting a class (2:0)", + "throws": + "You can only use decorators on an export when exporting a class (2:0)", "sourceType": "module" } diff --git a/packages/babel-parser/test/fixtures/experimental/do-expressions/options.json b/packages/babel-parser/test/fixtures/experimental/do-expressions/options.json index 294598f215..c3943b1e75 100644 --- a/packages/babel-parser/test/fixtures/experimental/do-expressions/options.json +++ b/packages/babel-parser/test/fixtures/experimental/do-expressions/options.json @@ -1,3 +1,3 @@ { "plugins": ["doExpressions"] -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/experimental/do-expressions/with-jsx/options.json b/packages/babel-parser/test/fixtures/experimental/do-expressions/with-jsx/options.json index e74b82b101..8c6f67aa6a 100644 --- a/packages/babel-parser/test/fixtures/experimental/do-expressions/with-jsx/options.json +++ b/packages/babel-parser/test/fixtures/experimental/do-expressions/with-jsx/options.json @@ -1,3 +1,3 @@ { "plugins": ["jsx", "doExpressions"] -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/experimental/dynamic-import/no-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/dynamic-import/no-plugin/options.json index 8036724bee..09561b2d68 100644 --- a/packages/babel-parser/test/fixtures/experimental/dynamic-import/no-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/dynamic-import/no-plugin/options.json @@ -1,4 +1,5 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'dynamicImport' (1:0)", + "throws": + "This experimental syntax requires enabling the parser plugin: 'dynamicImport' (1:0)", "plugins": [] } diff --git a/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-declaration/options.json b/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-declaration/options.json index 991da279e5..51cc8d68ea 100644 --- a/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-declaration/options.json +++ b/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-declaration/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'functionSent' (2:11)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'functionSent' (2:11)" } diff --git a/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-expression/options.json b/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-expression/options.json index eee5abbf1f..ec48aeabce 100644 --- a/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-expression/options.json +++ b/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-function-keyword-expression/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'functionSent' (2:12)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'functionSent' (2:12)" } diff --git a/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-inside-generator/options.json b/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-inside-generator/options.json index 9ce89a133d..3cb65d1733 100644 --- a/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-inside-generator/options.json +++ b/packages/babel-parser/test/fixtures/experimental/function-sent/disabled-inside-generator/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'functionSent' (2:18)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'functionSent' (2:18)" } diff --git a/packages/babel-parser/test/fixtures/experimental/import-meta/without-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/import-meta/without-plugin/options.json index 50ce42c71f..f53f788ae5 100644 --- a/packages/babel-parser/test/fixtures/experimental/import-meta/without-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/import-meta/without-plugin/options.json @@ -1,4 +1,5 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'importMeta' (1:7)", + "throws": + "This experimental syntax requires enabling the parser plugin: 'importMeta' (1:7)", "plugins": [] -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/and-and-equals-no-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/and-and-equals-no-plugin/options.json index 5b674fdee4..dca714007e 100644 --- a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/and-and-equals-no-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/and-and-equals-no-plugin/options.json @@ -1,4 +1,5 @@ { "plugins": [], - "throws": "This experimental syntax requires enabling the parser plugin: 'logicalAssignment' (1:2)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'logicalAssignment' (1:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/mallet-no-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/mallet-no-plugin/options.json index 5b674fdee4..dca714007e 100644 --- a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/mallet-no-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/mallet-no-plugin/options.json @@ -1,4 +1,5 @@ { "plugins": [], - "throws": "This experimental syntax requires enabling the parser plugin: 'logicalAssignment' (1:2)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'logicalAssignment' (1:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-null-coalesce-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-null-coalesce-plugin/options.json index 3cb238ee4a..4aab2b254e 100644 --- a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-null-coalesce-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-null-coalesce-plugin/options.json @@ -1,4 +1,5 @@ { "plugins": ["logicalAssignment"], - "throws": "This experimental syntax requires enabling the parser plugin: 'nullishCoalescingOperator' (1:2)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'nullishCoalescingOperator' (1:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-plugin/options.json index f5e977775d..a1cf5c9fda 100644 --- a/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/logical-assignment-operator/qq-equals-no-plugin/options.json @@ -1,4 +1,5 @@ { "plugins": ["nullishCoalescingOperator"], - "throws": "This experimental syntax requires enabling the parser plugin: 'logicalAssignment' (1:2)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'logicalAssignment' (1:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/and-nullish/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/and-nullish/options.json index e70662682b..1bb4736991 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/and-nullish/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/and-nullish/options.json @@ -1,4 +1,3 @@ { "plugins": ["nullishCoalescingOperator"] } - \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/associativity/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/associativity/options.json index e70662682b..1bb4736991 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/associativity/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/associativity/options.json @@ -1,4 +1,3 @@ { "plugins": ["nullishCoalescingOperator"] } - \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/multiline/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/multiline/options.json index e70662682b..1bb4736991 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/multiline/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/multiline/options.json @@ -1,4 +1,3 @@ { "plugins": ["nullishCoalescingOperator"] } - \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/no-plugin-error/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/no-plugin-error/options.json index 9ae9a3d8a5..0904e05d8c 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/no-plugin-error/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/no-plugin-error/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'nullishCoalescingOperator' (1:4)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'nullishCoalescingOperator' (1:4)" } diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-and/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-and/options.json index e70662682b..1bb4736991 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-and/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-and/options.json @@ -1,4 +1,3 @@ { "plugins": ["nullishCoalescingOperator"] } - \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-or/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-or/options.json index e70662682b..1bb4736991 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-or/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/nullish-or/options.json @@ -1,4 +1,3 @@ { "plugins": ["nullishCoalescingOperator"] } - \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/or-nullish/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/or-nullish/options.json index e70662682b..1bb4736991 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/or-nullish/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/or-nullish/options.json @@ -1,4 +1,3 @@ { "plugins": ["nullishCoalescingOperator"] } - \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/with-pipeline/options.json b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/with-pipeline/options.json index 7a167840fb..790c3f234b 100644 --- a/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/with-pipeline/options.json +++ b/packages/babel-parser/test/fixtures/experimental/nullish-coalescing-operator/with-pipeline/options.json @@ -1,3 +1,6 @@ { - "plugins": ["nullishCoalescingOperator", ["pipelineOperator", { "proposal": "minimal" }]] + "plugins": [ + "nullishCoalescingOperator", + ["pipelineOperator", { "proposal": "minimal" }] + ] } diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/11/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/11/options.json index b70f9f128f..7c9cd8106f 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/11/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/11/options.json @@ -1,5 +1,5 @@ { "sourceType": "module", - "throws": "`foo` has already been exported. Exported identifiers must be unique. (2:23)" + "throws": + "`foo` has already been exported. Exported identifiers must be unique. (2:23)" } - diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/12/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/12/options.json index 21dc6a7cc6..566d196218 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/12/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/12/options.json @@ -1,5 +1,5 @@ { "sourceType": "module", - "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)" } - diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/13/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/13/options.json index 4c8f1eb7bd..eef913e6fd 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/13/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/13/options.json @@ -1,5 +1,5 @@ { "sourceType": "module", - "throws": "`foo` has already been exported. Exported identifiers must be unique. (2:30)" + "throws": + "`foo` has already been exported. Exported identifiers must be unique. (2:30)" } - diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/14/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/14/options.json index 4a117168dc..2c69619f71 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/14/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/14/options.json @@ -1,5 +1,5 @@ { "sourceType": "module", - "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)" } - diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/15/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/15/options.json index 4c8f1eb7bd..eef913e6fd 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/15/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/15/options.json @@ -1,5 +1,5 @@ { "sourceType": "module", - "throws": "`foo` has already been exported. Exported identifiers must be unique. (2:30)" + "throws": + "`foo` has already been exported. Exported identifiers must be unique. (2:30)" } - diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/7/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/7/options.json index 09b3275eae..eef8a7af38 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/7/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/7/options.json @@ -1,3 +1,4 @@ { - "throws": "The rest element has to be the last element when destructuring (1:10)" + "throws": + "The rest element has to be the last element when destructuring (1:10)" } diff --git a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/expression-rest-not-last-invalid/options.json b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/expression-rest-not-last-invalid/options.json index d2981263bf..87b6e1b20f 100644 --- a/packages/babel-parser/test/fixtures/experimental/object-rest-spread/expression-rest-not-last-invalid/options.json +++ b/packages/babel-parser/test/fixtures/experimental/object-rest-spread/expression-rest-not-last-invalid/options.json @@ -1,3 +1,4 @@ { - "throws": "The rest element has to be the last element when destructuring (1:2)" + "throws": + "The rest element has to be the last element when destructuring (1:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding-finally/options.json b/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding-finally/options.json index 0b022f9ea1..e89b07f66d 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding-finally/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding-finally/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'optionalCatchBinding' (4:6)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'optionalCatchBinding' (4:6)" } diff --git a/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding/options.json b/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding/options.json index 0b022f9ea1..e89b07f66d 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-catch-binding/no-plugin-no-binding/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'optionalCatchBinding' (4:6)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'optionalCatchBinding' (4:6)" } diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optioanl-chain-expression/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optioanl-chain-expression/options.json index ec2042c932..fd201c1bdb 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optioanl-chain-expression/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optioanl-chain-expression/options.json @@ -1,3 +1,3 @@ { - "plugins": ["optionalChaining"] -} \ No newline at end of file + "plugins": ["optionalChaining"] +} diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-constructor/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-constructor/options.json index ada2df9c64..10cef4d480 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-constructor/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-constructor/options.json @@ -1,4 +1,4 @@ { - "plugins": ["optionalChaining"], - "throws": "constructors in/after an Optional Chain are not allowed (1:7)" - } + "plugins": ["optionalChaining"], + "throws": "constructors in/after an Optional Chain are not allowed (1:7)" +} diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property-class/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property-class/options.json index 0bbb2f11ba..86849e8c46 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property-class/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property-class/options.json @@ -1,4 +1,4 @@ { - "plugins":["optionalChaining"], - "throws": "Unexpected token (3:20)" -} \ No newline at end of file + "plugins": ["optionalChaining"], + "throws": "Unexpected token (3:20)" +} diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property/options.json index 0bbb2f11ba..86849e8c46 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-super-property/options.json @@ -1,4 +1,4 @@ { - "plugins":["optionalChaining"], - "throws": "Unexpected token (3:20)" -} \ No newline at end of file + "plugins": ["optionalChaining"], + "throws": "Unexpected token (3:20)" +} diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-tagged-template-literals/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-tagged-template-literals/options.json index fb1568dfd1..631741b044 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-tagged-template-literals/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/optional-tagged-template-literals/options.json @@ -1,4 +1,4 @@ { - "plugins" : ["optionalChaining"], - "throws" : "Tagged Template Literals are not allowed in optionalChain (1:0)" -} \ No newline at end of file + "plugins": ["optionalChaining"], + "throws": "Tagged Template Literals are not allowed in optionalChain (1:0)" +} diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/parenthised-chain/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/parenthised-chain/options.json index f19632ef9d..fd201c1bdb 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/parenthised-chain/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/parenthised-chain/options.json @@ -1,3 +1,3 @@ { - "plugins": ["optionalChaining"] + "plugins": ["optionalChaining"] } diff --git a/packages/babel-parser/test/fixtures/experimental/optional-chaining/super-method-class/options.json b/packages/babel-parser/test/fixtures/experimental/optional-chaining/super-method-class/options.json index 1655838858..fd201c1bdb 100644 --- a/packages/babel-parser/test/fixtures/experimental/optional-chaining/super-method-class/options.json +++ b/packages/babel-parser/test/fixtures/experimental/optional-chaining/super-method-class/options.json @@ -1,3 +1,3 @@ { - "plugins":["optionalChaining"] -} \ No newline at end of file + "plugins": ["optionalChaining"] +} diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/invalid-proposal/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/invalid-proposal/options.json index 188385c5ab..b6e4db397e 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/invalid-proposal/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/invalid-proposal/options.json @@ -1,6 +1,5 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "invalid" }] - ], - "throws": "'pipelineOperator' requires 'proposal' option whose value should be one of: minimal" + "plugins": [["pipelineOperator", { "proposal": "invalid" }]], + "throws": + "'pipelineOperator' requires 'proposal' option whose value should be one of: minimal" } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/no-plugin/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/no-plugin/options.json index 5d8a6bb120..aaaa3350b6 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/no-plugin/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/no-plugin/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'pipelineOperator' (1:2)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'pipelineOperator' (1:2)" } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens-with-parend-args/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens-with-parend-args/options.json index b4e236359d..a281f6face 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens-with-parend-args/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens-with-parend-args/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ], + "plugins": [["pipelineOperator", { "proposal": "minimal" }]], "throws": "Unexpected token, expected \";\" (1:10)" } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens/options.json index 551ef0ba6c..c89b7d0c25 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-arrow-requires-parens/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ], + "plugins": [["pipelineOperator", { "proposal": "minimal" }]], "throws": "Unexpected token, expected \";\" (1:8)" } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-await-requires-parens/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-await-requires-parens/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-await-requires-parens/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-await-requires-parens/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await-f/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await-f/options.json index 126164b9ee..7f92d28237 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await-f/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await-f/options.json @@ -1,6 +1,5 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ], - "throws": "Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal (2:14)" + "plugins": [["pipelineOperator", { "proposal": "minimal" }]], + "throws": + "Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal (2:14)" } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await/options.json index 126164b9ee..7f92d28237 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-ban-await/options.json @@ -1,6 +1,5 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ], - "throws": "Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal (2:14)" + "plugins": [["pipelineOperator", { "proposal": "minimal" }]], + "throws": + "Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal (2:14)" } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-base/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-base/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-base/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-base/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-chain/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-chain/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-chain/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-chain/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-multiline/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-multiline/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-multiline/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-multiline/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-precedence/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-precedence/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-precedence/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-precedence/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow-parend-params/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow-parend-params/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow-parend-params/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow-parend-params/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow/options.json b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow/options.json index f96a57c748..a474f3dd50 100644 --- a/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow/options.json +++ b/packages/babel-parser/test/fixtures/experimental/pipeline-operator/proposal-minimal-with-arrow/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["pipelineOperator", { "proposal": "minimal" }] - ] + "plugins": [["pipelineOperator", { "proposal": "minimal" }]] } diff --git a/packages/babel-parser/test/fixtures/experimental/throw-expression/not-enabled/options.json b/packages/babel-parser/test/fixtures/experimental/throw-expression/not-enabled/options.json index 47934f7082..9b86aff459 100644 --- a/packages/babel-parser/test/fixtures/experimental/throw-expression/not-enabled/options.json +++ b/packages/babel-parser/test/fixtures/experimental/throw-expression/not-enabled/options.json @@ -1,3 +1,4 @@ { - "throws": "This experimental syntax requires enabling the parser plugin: 'throwExpressions' (2:3)" + "throws": + "This experimental syntax requires enabling the parser plugin: 'throwExpressions' (2:3)" } diff --git a/packages/babel-parser/test/fixtures/experimental/uncategorised/47/options.json b/packages/babel-parser/test/fixtures/experimental/uncategorised/47/options.json index de6bb29dad..cbe3cf4d61 100644 --- a/packages/babel-parser/test/fixtures/experimental/uncategorised/47/options.json +++ b/packages/babel-parser/test/fixtures/experimental/uncategorised/47/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "classProperties", - "decorators-legacy" - ] + "plugins": ["classProperties", "decorators-legacy"] } diff --git a/packages/babel-parser/test/fixtures/experimental/uncategorised/48/options.json b/packages/babel-parser/test/fixtures/experimental/uncategorised/48/options.json index de6bb29dad..cbe3cf4d61 100644 --- a/packages/babel-parser/test/fixtures/experimental/uncategorised/48/options.json +++ b/packages/babel-parser/test/fixtures/experimental/uncategorised/48/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "classProperties", - "decorators-legacy" - ] + "plugins": ["classProperties", "decorators-legacy"] } diff --git a/packages/babel-parser/test/fixtures/flow/class-private-property/options.json b/packages/babel-parser/test/fixtures/flow/class-private-property/options.json index af63e97c60..d533f640ef 100644 --- a/packages/babel-parser/test/fixtures/flow/class-private-property/options.json +++ b/packages/babel-parser/test/fixtures/flow/class-private-property/options.json @@ -1,4 +1,4 @@ { "sourceType": "module", - "plugins": [ "flow", "classPrivateProperties" ] -} \ No newline at end of file + "plugins": ["flow", "classPrivateProperties"] +} diff --git a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-declare-export-type/options.json b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-declare-export-type/options.json index 2f2a34e735..9201b1e542 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-declare-export-type/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-declare-export-type/options.json @@ -1,3 +1,4 @@ { - "throws": "`declare export type` is not supported. Use `export type` instead (1:15)" + "throws": + "`declare export type` is not supported. Use `export type` instead (1:15)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-const/options.json b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-const/options.json index 8466e2ca85..a0f1f54296 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-const/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-const/options.json @@ -1,3 +1,4 @@ { - "throws": "`declare export const` is not supported. Use `declare export var` instead (1:15)" + "throws": + "`declare export const` is not supported. Use `declare export var` instead (1:15)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-interface/options.json b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-interface/options.json index 3977f3c480..7dfccf9590 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-interface/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-interface/options.json @@ -1,3 +1,4 @@ { - "throws": "`declare export interface` is not supported. Use `export interface` instead (1:15)" + "throws": + "`declare export interface` is not supported. Use `export interface` instead (1:15)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-let/options.json b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-let/options.json index 745a711f11..22611154f1 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-let/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-let/options.json @@ -1,3 +1,4 @@ { - "throws": "`declare export let` is not supported. Use `declare export var` instead (1:15)" + "throws": + "`declare export let` is not supported. Use `declare export var` instead (1:15)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-module/8/options.json b/packages/babel-parser/test/fixtures/flow/declare-module/8/options.json index 32826163f1..774cdb5a2c 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-module/8/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-module/8/options.json @@ -1,3 +1,4 @@ { - "throws": "Only declares and type imports are allowed inside declare module (2:2)" + "throws": + "Only declares and type imports are allowed inside declare module (2:2)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-commonjs-module/options.json b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-commonjs-module/options.json index adfde32363..0d61c152b6 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-commonjs-module/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-commonjs-module/options.json @@ -1,3 +1,4 @@ { - "throws": "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module (1:55)" + "throws": + "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module (1:55)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-es-module/options.json b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-es-module/options.json index b40239a560..bf1bde22fc 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-es-module/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-es-module/options.json @@ -1,3 +1,4 @@ { - "throws": "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module (1:53)" + "throws": + "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module (1:53)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-import/options.json b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-import/options.json index c237bb99a7..ffd120e2cd 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-import/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-import/options.json @@ -1,3 +1,4 @@ { - "throws": "Imports within a `declare module` body must always be `import type` or `import typeof` (1:21)" + "throws": + "Imports within a `declare module` body must always be `import type` or `import typeof` (1:21)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-module-in-module/options.json b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-module-in-module/options.json index cd823bd7c4..ecaf35fa62 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-module/invalid-module-in-module/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-module/invalid-module-in-module/options.json @@ -1,3 +1,4 @@ { - "throws": "`declare module` cannot be used inside another `declare module` (1:27)" + "throws": + "`declare module` cannot be used inside another `declare module` (1:27)" } diff --git a/packages/babel-parser/test/fixtures/flow/declare-statements/class-multiple-extends-invalid/options.json b/packages/babel-parser/test/fixtures/flow/declare-statements/class-multiple-extends-invalid/options.json index 22fd395994..9cc0ebdae0 100644 --- a/packages/babel-parser/test/fixtures/flow/declare-statements/class-multiple-extends-invalid/options.json +++ b/packages/babel-parser/test/fixtures/flow/declare-statements/class-multiple-extends-invalid/options.json @@ -1,3 +1,3 @@ { - "throws": "Unexpected token, expected \"{\" (1:25)" + "throws": "Unexpected token, expected \"{\" (1:25)" } diff --git a/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-type-invalid/options.json b/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-type-invalid/options.json index 293efb5d9d..b67b9224d4 100644 --- a/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-type-invalid/options.json +++ b/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-type-invalid/options.json @@ -1,3 +1,3 @@ { - "throws": "Cannot overwrite primitive type string (1:10)" + "throws": "Cannot overwrite primitive type string (1:10)" } diff --git a/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-type-invalid/options.json b/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-type-invalid/options.json index 976b966edc..3eddc82b13 100644 --- a/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-type-invalid/options.json +++ b/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-type-invalid/options.json @@ -1,3 +1,3 @@ { - "throws": "Cannot overwrite primitive type string (1:21)" + "throws": "Cannot overwrite primitive type string (1:21)" } diff --git a/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-type-invalid/options.json b/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-type-invalid/options.json index 55b6b62222..6bf62df4a9 100644 --- a/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-type-invalid/options.json +++ b/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-type-invalid/options.json @@ -1,3 +1,3 @@ { - "throws": "Cannot overwrite primitive type string (1:12)" + "throws": "Cannot overwrite primitive type string (1:12)" } diff --git a/packages/babel-parser/test/fixtures/flow/optional-type/6/options.json b/packages/babel-parser/test/fixtures/flow/optional-type/6/options.json index fb2831d618..fd783ce26e 100644 --- a/packages/babel-parser/test/fixtures/flow/optional-type/6/options.json +++ b/packages/babel-parser/test/fixtures/flow/optional-type/6/options.json @@ -1,3 +1,4 @@ { - "throws": "A binding pattern parameter cannot be optional in an implementation signature. (1:11)" + "throws": + "A binding pattern parameter cannot be optional in an implementation signature. (1:11)" } diff --git a/packages/babel-parser/test/fixtures/flow/regression/issue-58-ambiguous/options.json b/packages/babel-parser/test/fixtures/flow/regression/issue-58-ambiguous/options.json index b1f344213d..59a47050c4 100644 --- a/packages/babel-parser/test/fixtures/flow/regression/issue-58-ambiguous/options.json +++ b/packages/babel-parser/test/fixtures/flow/regression/issue-58-ambiguous/options.json @@ -1,3 +1,4 @@ { - "throws": "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate. (4:4)" -} \ No newline at end of file + "throws": + "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate. (4:4)" +} diff --git a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-1/options.json b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-1/options.json index fcc81471ca..2151995904 100644 --- a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-1/options.json +++ b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-1/options.json @@ -1,3 +1,3 @@ { - "throws": "Invalid left-hand side in arrow function parameters (2:11)" -} \ No newline at end of file + "throws": "Invalid left-hand side in arrow function parameters (2:11)" +} diff --git a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-2/options.json b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-2/options.json index 26b1d53e8d..36a678e0e5 100644 --- a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-2/options.json +++ b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-2/options.json @@ -1,3 +1,3 @@ { - "throws": "Invalid left-hand side in arrow function parameters (2:8)" -} \ No newline at end of file + "throws": "Invalid left-hand side in arrow function parameters (2:8)" +} diff --git a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-3/options.json b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-3/options.json index 830b8f6bc7..2fc0696df3 100644 --- a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-3/options.json +++ b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-3/options.json @@ -1,3 +1,3 @@ { - "throws": "Invalid left-hand side in arrow function parameters (2:5)" -} \ No newline at end of file + "throws": "Invalid left-hand side in arrow function parameters (2:5)" +} diff --git a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-4/options.json b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-4/options.json index fcc81471ca..2151995904 100644 --- a/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-4/options.json +++ b/packages/babel-parser/test/fixtures/flow/regression/issue-58-failing-4/options.json @@ -1,3 +1,3 @@ { - "throws": "Invalid left-hand side in arrow function parameters (2:11)" -} \ No newline at end of file + "throws": "Invalid left-hand side in arrow function parameters (2:11)" +} diff --git a/packages/babel-parser/test/fixtures/flow/type-annotations/137/options.json b/packages/babel-parser/test/fixtures/flow/type-annotations/137/options.json index 786acad32a..f4cabf034a 100644 --- a/packages/babel-parser/test/fixtures/flow/type-annotations/137/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-annotations/137/options.json @@ -1,3 +1,4 @@ { - "throws": "Spread operator cannot appear in class or interface definitions (2:1)" + "throws": + "Spread operator cannot appear in class or interface definitions (2:1)" } diff --git a/packages/babel-parser/test/fixtures/flow/type-annotations/139/options.json b/packages/babel-parser/test/fixtures/flow/type-annotations/139/options.json index 835e923674..2b0782bcbc 100644 --- a/packages/babel-parser/test/fixtures/flow/type-annotations/139/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-annotations/139/options.json @@ -1,3 +1,3 @@ { - "throws": "Spread properties cannot have variance (3:1)" -} \ No newline at end of file + "throws": "Spread properties cannot have variance (3:1)" +} diff --git a/packages/babel-parser/test/fixtures/flow/type-annotations/invalid-line-terminator-arrow/options.json b/packages/babel-parser/test/fixtures/flow/type-annotations/invalid-line-terminator-arrow/options.json index a659adb24d..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/flow/type-annotations/invalid-line-terminator-arrow/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-annotations/invalid-line-terminator-arrow/options.json @@ -1,3 +1,3 @@ { - "throws": "Unexpected token (1:1)" + "throws": "Unexpected token (1:1)" } diff --git a/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-invalid/options.json b/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-invalid/options.json index 95ca28398b..aedf72ddb7 100644 --- a/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-invalid/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-invalid/options.json @@ -1,3 +1,4 @@ { - "throws": "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25` (1:20)" -} \ No newline at end of file + "throws": + "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25` (1:20)" +} diff --git a/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-2/options.json b/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-2/options.json index 036229c5b9..132b4a19ec 100644 --- a/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-2/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-2/options.json @@ -1,3 +1,4 @@ { - "throws": "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements (1:13)" + "throws": + "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements (1:13)" } diff --git a/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand/options.json b/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand/options.json index 7aa4274c71..4ee840273c 100644 --- a/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand/options.json @@ -1,3 +1,4 @@ { - "throws": "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements (1:15)" + "throws": + "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements (1:15)" } diff --git a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_error_without_jsx/options.json b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_error_without_jsx/options.json index cf72e7dfca..c349e4e399 100644 --- a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_error_without_jsx/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_error_without_jsx/options.json @@ -1,4 +1,5 @@ { "plugins": ["flow"], - "throws": "Expected an arrow function after this type parameter declaration (1:0)" + "throws": + "Expected an arrow function after this type parameter declaration (1:0)" } diff --git a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/options.json b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/options.json index ccabc4fdd6..66dd3748d6 100644 --- a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/options.json @@ -1,4 +1,3 @@ { "plugins": ["flow"] } - diff --git a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-missing/options.json b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-missing/options.json index 022607b817..3c2ac7c9b9 100644 --- a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-missing/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-missing/options.json @@ -1,3 +1,4 @@ { - "throws": "Type parameter declaration needs a default, since a preceding type parameter declaration has a default. (1:28)" + "throws": + "Type parameter declaration needs a default, since a preceding type parameter declaration has a default. (1:28)" } diff --git a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-getter/options.json b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-getter/options.json index fee1459767..0123986cbe 100644 --- a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-getter/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-getter/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \"(\" (2:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-setter/options.json b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-setter/options.json index fee1459767..0123986cbe 100644 --- a/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-setter/options.json +++ b/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-setter/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \"(\" (2:10)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/jsx/errors/adjacent-tags/options.json b/packages/babel-parser/test/fixtures/jsx/errors/adjacent-tags/options.json index 182a3a9016..a87c9c6538 100644 --- a/packages/babel-parser/test/fixtures/jsx/errors/adjacent-tags/options.json +++ b/packages/babel-parser/test/fixtures/jsx/errors/adjacent-tags/options.json @@ -1,3 +1,4 @@ { - "throws": "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...? (1:22)" + "throws": + "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...? (1:22)" } diff --git a/packages/babel-parser/test/fixtures/jsx/errors/attribute-arbitrary-expression/options.json b/packages/babel-parser/test/fixtures/jsx/errors/attribute-arbitrary-expression/options.json index 19a214000f..ed93e1882a 100644 --- a/packages/babel-parser/test/fixtures/jsx/errors/attribute-arbitrary-expression/options.json +++ b/packages/babel-parser/test/fixtures/jsx/errors/attribute-arbitrary-expression/options.json @@ -1,3 +1,4 @@ { - "throws": "JSX value should be either an expression or a quoted JSX text (1:9)" + "throws": + "JSX value should be either an expression or a quoted JSX text (1:9)" } diff --git a/packages/babel-parser/test/fixtures/jsx/errors/unicode-escape-in-identifier/options.json b/packages/babel-parser/test/fixtures/jsx/errors/unicode-escape-in-identifier/options.json index 04b967a2ee..b5b75f4187 100644 --- a/packages/babel-parser/test/fixtures/jsx/errors/unicode-escape-in-identifier/options.json +++ b/packages/babel-parser/test/fixtures/jsx/errors/unicode-escape-in-identifier/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token (1:1)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx/options.json b/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx/options.json index 6e5bbd52f8..aa8780ac51 100644 --- a/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx/options.json +++ b/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx/options.json @@ -1,3 +1,3 @@ { - "plugins": ["jsx", "typescript"] -} \ No newline at end of file + "plugins": ["jsx", "typescript"] +} diff --git a/packages/babel-parser/test/fixtures/typescript/class/parameter-properties-binding-patterns/options.json b/packages/babel-parser/test/fixtures/typescript/class/parameter-properties-binding-patterns/options.json index 67137f2107..63132875c9 100644 --- a/packages/babel-parser/test/fixtures/typescript/class/parameter-properties-binding-patterns/options.json +++ b/packages/babel-parser/test/fixtures/typescript/class/parameter-properties-binding-patterns/options.json @@ -1,3 +1,4 @@ { - "throws": "A parameter property may not be declared using a binding pattern. (2:23)" + "throws": + "A parameter property may not be declared using a binding pattern. (2:23)" } diff --git a/packages/babel-parser/test/fixtures/typescript/class/property-optional-definite-assignment-not-allowed/options.json b/packages/babel-parser/test/fixtures/typescript/class/property-optional-definite-assignment-not-allowed/options.json index 626e94c744..cd6a9c1b1a 100644 --- a/packages/babel-parser/test/fixtures/typescript/class/property-optional-definite-assignment-not-allowed/options.json +++ b/packages/babel-parser/test/fixtures/typescript/class/property-optional-definite-assignment-not-allowed/options.json @@ -1,3 +1,3 @@ { "throws": "Unexpected token, expected \";\" (2:4)" -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/typescript/function/pattern-parameters/options.json b/packages/babel-parser/test/fixtures/typescript/function/pattern-parameters/options.json index fb2831d618..fd783ce26e 100644 --- a/packages/babel-parser/test/fixtures/typescript/function/pattern-parameters/options.json +++ b/packages/babel-parser/test/fixtures/typescript/function/pattern-parameters/options.json @@ -1,3 +1,4 @@ { - "throws": "A binding pattern parameter cannot be optional in an implementation signature. (1:11)" + "throws": + "A binding pattern parameter cannot be optional in an implementation signature. (1:11)" } diff --git a/packages/babel-parser/test/fixtures/typescript/regression/is-default-export/options.json b/packages/babel-parser/test/fixtures/typescript/regression/is-default-export/options.json index 21e26c84a8..009c01f8ac 100644 --- a/packages/babel-parser/test/fixtures/typescript/regression/is-default-export/options.json +++ b/packages/babel-parser/test/fixtures/typescript/regression/is-default-export/options.json @@ -1,3 +1,3 @@ { - "plugins": ["exportDefaultFrom", "typescript"] + "plugins": ["exportDefaultFrom", "typescript"] } diff --git a/packages/babel-parser/test/fixtures/typescript/type-arguments/new-false-positive-2/options.json b/packages/babel-parser/test/fixtures/typescript/type-arguments/new-false-positive-2/options.json index 07d136e203..9ce9658f7d 100644 --- a/packages/babel-parser/test/fixtures/typescript/type-arguments/new-false-positive-2/options.json +++ b/packages/babel-parser/test/fixtures/typescript/type-arguments/new-false-positive-2/options.json @@ -1,3 +1,3 @@ { - "throws": "Unexpected token (1:8)" -} \ No newline at end of file + "throws": "Unexpected token (1:8)" +} diff --git a/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/options.json b/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/options.json index b2578f32c4..aa8780ac51 100644 --- a/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/options.json +++ b/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/options.json @@ -1,3 +1,3 @@ { "plugins": ["jsx", "typescript"] -} \ No newline at end of file +} diff --git a/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment-not-allowed/options.json b/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment-not-allowed/options.json index 8cb567ee77..57893e4eee 100644 --- a/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment-not-allowed/options.json +++ b/packages/babel-parser/test/fixtures/typescript/variable-declarator/definite-assignment-not-allowed/options.json @@ -1,3 +1,3 @@ { "throws": "Complex binding patterns require an initialization value (1:6)" -} \ No newline at end of file +} diff --git a/packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/options.json b/packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/options.json index b47c0d3f87..9b2aa21198 100644 --- a/packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/options.json +++ b/packages/babel-plugin-external-helpers/test/fixtures/opts/whitelist/options.json @@ -1,8 +1,11 @@ { "plugins": [ - ["external-helpers", { - "whitelist": ["createClass"] - }], + [ + "external-helpers", + { + "whitelist": ["createClass"] + } + ], "transform-classes" ] } diff --git a/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/for-await/async-function-no-transform/options.json b/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/for-await/async-function-no-transform/options.json index 5adee4863d..7812af170d 100644 --- a/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/for-await/async-function-no-transform/options.json +++ b/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/for-await/async-function-no-transform/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "external-helpers", - "proposal-async-generator-functions" - ] + "plugins": ["external-helpers", "proposal-async-generator-functions"] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/compile-to-class/constructor-collision-ignores-types-loose/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/compile-to-class/constructor-collision-ignores-types-loose/options.json index 9b2fcd6e21..8dcbd70928 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/compile-to-class/constructor-collision-ignores-types-loose/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/compile-to-class/constructor-collision-ignores-types-loose/options.json @@ -1,3 +1,6 @@ { - "plugins": ["transform-typescript", ["proposal-class-properties", {"loose": true }]] + "plugins": [ + "transform-typescript", + ["proposal-class-properties", { "loose": true }] + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/nested-class/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/nested-class/options.json index e0264b98ba..0326c24fae 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/nested-class/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/nested-class/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-classes"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-classes" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/foobar/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/foobar/options.json index b207aefdde..002b4aa0d5 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/foobar/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/foobar/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/native-classes/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/native-classes/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/native-classes/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/native-classes/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/non-block-arrow-func/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/non-block-arrow-func/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/non-block-arrow-func/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/non-block-arrow-func/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/options.json index ad77e9a210..524cdc3142 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-classes", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-classes", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/reevaluated/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/reevaluated/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/reevaluated/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/reevaluated/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-export/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-export/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-export/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-export/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-infer-name/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-infer-name/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-infer-name/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-infer-name/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-inherited/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-inherited/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-inherited/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-inherited/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-undefined/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-undefined/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-undefined/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-undefined/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static/options.json index f14606ac1b..7498668b52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", { "loose": true }], "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/instance/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/instance/options.json index da21c5605a..9682dda0a9 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/instance/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/instance/options.json @@ -1,3 +1,10 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-classes", "transform-block-scoping", "syntax-class-properties", "transform-exponentiation-operator"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-classes", + "transform-block-scoping", + "syntax-class-properties", + "transform-exponentiation-operator" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/native-classes/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/native-classes/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/native-classes/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/native-classes/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/non-block-arrow-func/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/non-block-arrow-func/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/non-block-arrow-func/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/non-block-arrow-func/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/options.json index 9aefe6206b..d19c255940 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-classes", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-classes", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/reevaluated/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/reevaluated/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/reevaluated/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/reevaluated/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T2983/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T2983/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T2983/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T2983/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T6719/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T6719/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T6719/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T6719/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T7364/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T7364/options.json index 70ad9aef82..b30203b661 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T7364/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/regression-T7364/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties", "transform-async-to-generator"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties", + "transform-async-to-generator" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-export/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-export/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-export/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-export/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-infer-name/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-infer-name/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-infer-name/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-infer-name/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-inherited/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-inherited/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-inherited/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-inherited/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-undefined/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-undefined/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-undefined/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-undefined/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static/options.json index c9f60de72d..afaaa89647 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/private/static/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-static-this-without-transform/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-static-this-without-transform/options.json index f2532d47d9..49c2c86404 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-static-this-without-transform/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-static-this-without-transform/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-arrow-functions", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "transform-arrow-functions", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-this-without-transform/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-this-without-transform/options.json index 83a71b9161..451abead87 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-this-without-transform/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/arrow-this-without-transform/options.json @@ -1,4 +1,8 @@ { - "plugins": ["external-helpers", "transform-arrow-functions", "syntax-class-properties"], + "plugins": [ + "external-helpers", + "transform-arrow-functions", + "syntax-class-properties" + ], "throws": "Unable to transform arrow inside class property" } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/foobar/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/foobar/options.json index b7eb1d6c8a..f43ead744a 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/foobar/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/foobar/options.json @@ -1,6 +1,7 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", {"loose": true}]], - "presets": [ - "env" - ] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }] + ], + "presets": ["env"] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/options.json index de267e5044..524cdc3142 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", {"loose": true}], "transform-classes", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-classes", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/regression-T7364/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/regression-T7364/options.json index baedce5591..e53ef86354 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/regression-T7364/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public-loose/regression-T7364/options.json @@ -2,6 +2,6 @@ "plugins": [ "external-helpers", "transform-async-to-generator", - ["proposal-class-properties", {"loose": true}] + ["proposal-class-properties", { "loose": true }] ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-static-this-without-transform/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-static-this-without-transform/options.json index f2532d47d9..49c2c86404 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-static-this-without-transform/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-static-this-without-transform/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-arrow-functions", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "transform-arrow-functions", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-this-without-transform/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-this-without-transform/options.json index 83a71b9161..451abead87 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-this-without-transform/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/arrow-this-without-transform/options.json @@ -1,4 +1,8 @@ { - "plugins": ["external-helpers", "transform-arrow-functions", "syntax-class-properties"], + "plugins": [ + "external-helpers", + "transform-arrow-functions", + "syntax-class-properties" + ], "throws": "Unable to transform arrow inside class property" } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/foobar/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/foobar/options.json index 4c1b8e687e..5d764ec745 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/foobar/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/foobar/options.json @@ -1,6 +1,4 @@ { "plugins": ["external-helpers", "proposal-class-properties"], - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/native-classes/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/native-classes/options.json index c19c65ddf9..89a37faa03 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/native-classes/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/native-classes/options.json @@ -1,4 +1,9 @@ { "minNodeVersion": "6.0.0", - "plugins": ["external-helpers", "proposal-class-properties", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/options.json index 9aefe6206b..d19c255940 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/public/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/public/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-classes", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-classes", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6153/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6153/options.json index 77632408b3..0f5988fe52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6153/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6153/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-arrow-functions"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6154/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6154/options.json index af1fe1bf40..f79fa70719 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6154/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/6154/options.json @@ -1,8 +1,4 @@ { - "presets": [ - "env" - ], - "plugins": [ - "proposal-class-properties" - ] + "presets": ["env"], + "plugins": ["proposal-class-properties"] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/7371/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/7371/options.json index 77632408b3..0f5988fe52 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/7371/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/7371/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "proposal-class-properties", "transform-arrow-functions"] + "plugins": [ + "external-helpers", + "proposal-class-properties", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T2983/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T2983/options.json index 56e1d64791..524cdc3142 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T2983/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T2983/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", {"loose": true}], "transform-classes", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-classes", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T6719/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T6719/options.json index 56e1d64791..524cdc3142 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T6719/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T6719/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", ["proposal-class-properties", {"loose": true}], "transform-classes", "transform-block-scoping", "syntax-class-properties"] + "plugins": [ + "external-helpers", + ["proposal-class-properties", { "loose": true }], + "transform-classes", + "transform-block-scoping", + "syntax-class-properties" + ] } diff --git a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T7364/options.json b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T7364/options.json index baedce5591..e53ef86354 100644 --- a/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T7364/options.json +++ b/packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T7364/options.json @@ -2,6 +2,6 @@ "plugins": [ "external-helpers", "transform-async-to-generator", - ["proposal-class-properties", {"loose": true}] + ["proposal-class-properties", { "loose": true }] ] } diff --git a/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-decl-to-expression/options.json b/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-decl-to-expression/options.json index ea69269c5d..3269632a3f 100644 --- a/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-decl-to-expression/options.json +++ b/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-decl-to-expression/options.json @@ -1,4 +1,4 @@ { "presets": [], "plugins": [["proposal-decorators", { "legacy": true }]] -} \ No newline at end of file +} diff --git a/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/7030/options.json b/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/7030/options.json index b207aefdde..002b4aa0d5 100644 --- a/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/7030/options.json +++ b/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/7030/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/8512/options.json b/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/8512/options.json index 211ac2f514..92ce979119 100644 --- a/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/8512/options.json +++ b/packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/8512/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["proposal-decorators", { "legacy": true }] - ] + "plugins": [["proposal-decorators", { "legacy": true }]] } diff --git a/packages/babel-plugin-proposal-function-sent/test/fixtures/generator-kinds/async-generator/options.json b/packages/babel-plugin-proposal-function-sent/test/fixtures/generator-kinds/async-generator/options.json index f5009e557f..bf1a4ba1e0 100644 --- a/packages/babel-plugin-proposal-function-sent/test/fixtures/generator-kinds/async-generator/options.json +++ b/packages/babel-plugin-proposal-function-sent/test/fixtures/generator-kinds/async-generator/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "proposal-function-sent", "proposal-async-generator-functions" ] + "plugins": ["proposal-function-sent", "proposal-async-generator-functions"] } diff --git a/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing-without-other/options.json b/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing-without-other/options.json index e6559faadb..8507a894f7 100644 --- a/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing-without-other/options.json +++ b/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing-without-other/options.json @@ -1,3 +1,6 @@ { - "plugins": ["proposal-logical-assignment-operators", "syntax-nullish-coalescing-operator"] + "plugins": [ + "proposal-logical-assignment-operators", + "syntax-nullish-coalescing-operator" + ] } diff --git a/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing/options.json b/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing/options.json index e7a7bc2afe..f834cea898 100644 --- a/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing/options.json +++ b/packages/babel-plugin-proposal-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing/options.json @@ -1,3 +1,6 @@ { - "plugins": ["proposal-logical-assignment-operators", "proposal-nullish-coalescing-operator"] + "plugins": [ + "proposal-logical-assignment-operators", + "proposal-nullish-coalescing-operator" + ] } diff --git a/packages/babel-plugin-proposal-nullish-coalescing-operator/test/fixtures/nullish-coalescing/transform-loose/options.json b/packages/babel-plugin-proposal-nullish-coalescing-operator/test/fixtures/nullish-coalescing/transform-loose/options.json index be527140f4..3073b9b403 100644 --- a/packages/babel-plugin-proposal-nullish-coalescing-operator/test/fixtures/nullish-coalescing/transform-loose/options.json +++ b/packages/babel-plugin-proposal-nullish-coalescing-operator/test/fixtures/nullish-coalescing/transform-loose/options.json @@ -1,3 +1,3 @@ { - "plugins": [["proposal-nullish-coalescing-operator", {"loose":true}]] + "plugins": [["proposal-nullish-coalescing-operator", { "loose": true }]] } diff --git a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-rest/symbol-exec/options.json b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-rest/symbol-exec/options.json index 6e91f57cf5..9fd3882905 100644 --- a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-rest/symbol-exec/options.json +++ b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-rest/symbol-exec/options.json @@ -1,3 +1,3 @@ { - "plugins": [ "transform-destructuring", "proposal-object-rest-spread" ] + "plugins": ["transform-destructuring", "proposal-object-rest-spread"] } diff --git a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-spread/loose-mode/options.json b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-spread/loose-mode/options.json index 7f3c40b6a6..036ba18ea6 100644 --- a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-spread/loose-mode/options.json +++ b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-spread/loose-mode/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["proposal-object-rest-spread", { "loose": true }] - ] + "plugins": [["proposal-object-rest-spread", { "loose": true }]] } diff --git a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-7304/options.json b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-7304/options.json index e1a96432fa..f236fc3b4c 100644 --- a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-7304/options.json +++ b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-7304/options.json @@ -1,14 +1,15 @@ { "presets": [ - ["env", { - "shippedProposals": true, - "targets": { - "node": 8 - }, - "useBuiltIns": "usage" - }] + [ + "env", + { + "shippedProposals": true, + "targets": { + "node": 8 + }, + "useBuiltIns": "usage" + } + ] ], - "plugins": [ - "external-helpers" - ] + "plugins": ["external-helpers"] } diff --git a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-8323/options.json b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-8323/options.json index 0333615e14..f51a6dc18a 100644 --- a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-8323/options.json +++ b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-8323/options.json @@ -1,4 +1,4 @@ { - "presets": [ [ "env", { "targets": { "node": "8" } } ] ], - "plugins": [ [ "proposal-object-rest-spread", { "loose": true } ] ] + "presets": [["env", { "targets": { "node": "8" } }]], + "plugins": [["proposal-object-rest-spread", { "loose": true }]] } diff --git a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/options.json b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/options.json index 87c519b954..ba364f44b0 100644 --- a/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/options.json +++ b/packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "proposal-object-rest-spread", - "external-helpers" - ] + "plugins": ["proposal-object-rest-spread", "external-helpers"] } diff --git a/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/function-call-loose/options.json b/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/function-call-loose/options.json index 31050b6834..39ea3f99c7 100644 --- a/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/function-call-loose/options.json +++ b/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/function-call-loose/options.json @@ -1,3 +1,3 @@ { - "plugins": [["proposal-optional-chaining", {"loose": true}]] + "plugins": [["proposal-optional-chaining", { "loose": true }]] } diff --git a/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/memoize-loose/options.json b/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/memoize-loose/options.json index 31050b6834..39ea3f99c7 100644 --- a/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/memoize-loose/options.json +++ b/packages/babel-plugin-proposal-optional-chaining/test/fixtures/general/memoize-loose/options.json @@ -1,3 +1,3 @@ { - "plugins": [["proposal-optional-chaining", {"loose": true}]] + "plugins": [["proposal-optional-chaining", { "loose": true }]] } diff --git a/packages/babel-plugin-proposal-pipeline-operator/test/fixtures/pipeline-operator/options.json b/packages/babel-plugin-proposal-pipeline-operator/test/fixtures/pipeline-operator/options.json index 0a1dc4d010..ce2c6e0ddc 100644 --- a/packages/babel-plugin-proposal-pipeline-operator/test/fixtures/pipeline-operator/options.json +++ b/packages/babel-plugin-proposal-pipeline-operator/test/fixtures/pipeline-operator/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["proposal-pipeline-operator", { "proposal": "minimal" }] - ] + "plugins": [["proposal-pipeline-operator", { "proposal": "minimal" }]] } diff --git a/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/options.json b/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/options.json index 22a50010a4..09f2f73ab8 100644 --- a/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/options.json +++ b/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/with-unicode-flag/options.json @@ -1,7 +1,10 @@ { "plugins": [ - ["proposal-unicode-property-regex", { - "useUnicodeFlag": true - }] + [ + "proposal-unicode-property-regex", + { + "useUnicodeFlag": true + } + ] ] } diff --git a/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/options.json b/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/options.json index 755ed1dae5..a78ced443e 100644 --- a/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/options.json +++ b/packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/options.json @@ -1,7 +1,10 @@ { "plugins": [ - ["proposal-unicode-property-regex", { - "useUnicodeFlag": false - }] + [ + "proposal-unicode-property-regex", + { + "useUnicodeFlag": false + } + ] ] } diff --git a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/destructuring-parameters/options.json b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/destructuring-parameters/options.json index b8b142e856..f4a63e2537 100644 --- a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/destructuring-parameters/options.json +++ b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/destructuring-parameters/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-destructuring", "transform-parameters", "transform-arrow-functions"] + "plugins": [ + "transform-destructuring", + "transform-parameters", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/self-referential/options.json b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/self-referential/options.json index 476e663a3f..925d855b5e 100644 --- a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/self-referential/options.json +++ b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/self-referential/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", ["transform-arrow-functions", { "spec": false }], "transform-function-name"] + "plugins": [ + "external-helpers", + ["transform-arrow-functions", { "spec": false }], + "transform-function-name" + ] } diff --git a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-naming/options.json b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-naming/options.json index 942b61bd06..50c8c58f0c 100644 --- a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-naming/options.json +++ b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-naming/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-arrow-functions", { "spec": true }]] + "plugins": [ + "external-helpers", + ["transform-arrow-functions", { "spec": true }] + ] } diff --git a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-self-referential/options.json b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-self-referential/options.json index 660f9d7503..edcdc8224c 100644 --- a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-self-referential/options.json +++ b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec-self-referential/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", ["transform-arrow-functions", { "spec": true }], "transform-function-name"] + "plugins": [ + "external-helpers", + ["transform-arrow-functions", { "spec": true }], + "transform-function-name" + ] } diff --git a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec/options.json b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec/options.json index 942b61bd06..50c8c58f0c 100644 --- a/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec/options.json +++ b/packages/babel-plugin-transform-arrow-functions/test/fixtures/arrow-functions/spec/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-arrow-functions", { "spec": true }]] + "plugins": [ + "external-helpers", + ["transform-arrow-functions", { "spec": true }] + ] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator-spec/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator-spec/options.json index 6eae662831..cf84ec89ad 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator-spec/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator-spec/options.json @@ -1,8 +1,8 @@ { - "plugins": [ - ["transform-arrow-functions", { "spec": true }], - "transform-regenerator", - "transform-async-to-generator", - "external-helpers" - ] + "plugins": [ + ["transform-arrow-functions", { "spec": true }], + "transform-regenerator", + "transform-async-to-generator", + "external-helpers" + ] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator/options.json index d924af2adf..6d8f7fa0e0 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/async-iife-with-regenerator/options.json @@ -1,8 +1,8 @@ { - "plugins": [ - "transform-arrow-functions", - "transform-regenerator", - "transform-async-to-generator", - "external-helpers" - ] + "plugins": [ + "transform-arrow-functions", + "transform-regenerator", + "transform-async-to-generator", + "external-helpers" + ] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/function-arity/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/function-arity/options.json index 2373e1598f..93f5d722d8 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/function-arity/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/function-arity/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-async-to-generator", - "external-helpers" - ] -} \ No newline at end of file + "plugins": ["transform-async-to-generator", "external-helpers"] +} diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-super/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-super/options.json index 791b275929..93f5d722d8 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-super/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-super/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-async-to-generator", - "external-helpers" - ] + "plugins": ["transform-async-to-generator", "external-helpers"] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-import/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-import/options.json index 84679ca3cf..0d67235e87 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-import/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-import/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-async-to-generator" - ] + "plugins": ["transform-async-to-generator"] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-nested/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-nested/options.json index 84679ca3cf..0d67235e87 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-nested/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise-nested/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-async-to-generator" - ] + "plugins": ["transform-async-to-generator"] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise/options.json index 84679ca3cf..0d67235e87 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/shadowed-promise/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-async-to-generator" - ] + "plugins": ["transform-async-to-generator"] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/bluebird-coroutines/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/bluebird-coroutines/options.json index f178c0253e..a5852f1fd4 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/bluebird-coroutines/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/bluebird-coroutines/options.json @@ -1,9 +1,12 @@ { "plugins": [ "external-helpers", - ["transform-async-to-generator", { - "module": "bluebird", - "method": "coroutine" - }] + [ + "transform-async-to-generator", + { + "module": "bluebird", + "method": "coroutine" + } + ] ] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/export-async/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/export-async/options.json index f8294ae93a..b6ae56ff6d 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/export-async/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/export-async/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-modules-commonjs", "transform-async-to-generator"] + "plugins": [ + "external-helpers", + "transform-modules-commonjs", + "transform-async-to-generator" + ] } diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/gh-6923/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/gh-6923/options.json index 6f43f7581b..e1a1dd1ff2 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/gh-6923/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/gh-6923/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["env", { - "targets": { - "chrome": "62", - "edge": "15", - "firefox": "52", - "safari": "11" + [ + "env", + { + "targets": { + "chrome": "62", + "edge": "15", + "firefox": "52", + "safari": "11" + } } - }] + ] ] -} \ No newline at end of file +} diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/options.json b/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/options.json index 6b5744a918..54b64ad0fb 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/options.json +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "external-helpers", - "transform-async-to-generator" - ] + "plugins": ["external-helpers", "transform-async-to-generator"] } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/.fail/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/.fail/options.json index 98d224a2a3..8f3a07a363 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/.fail/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/.fail/options.json @@ -1,4 +1,9 @@ { - "plugins": ["transform-block-scoping", "transform-parameters", "transform-destructuring", "transform-modules-commonjs"], + "plugins": [ + "transform-block-scoping", + "transform-parameters", + "transform-destructuring", + "transform-modules-commonjs" + ], "throws": "is not defined - temporal dead zone" } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/exec/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/exec/options.json index effa53fbb0..cca3c79215 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/exec/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/exec/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-for-of", "transform-arrow-functions", "transform-destructuring", "transform-block-scoping"] + "plugins": [ + "transform-for-of", + "transform-arrow-functions", + "transform-destructuring", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/general/hoisting/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/general/hoisting/options.json index 86250d3fcd..c1b2fe494b 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/general/hoisting/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/general/hoisting/options.json @@ -1,3 +1,9 @@ { - "plugins": ["transform-block-scoping", "syntax-jsx", "transform-react-jsx", "transform-block-scoped-functions", "transform-for-of"] + "plugins": [ + "transform-block-scoping", + "syntax-jsx", + "transform-react-jsx", + "transform-block-scoped-functions", + "transform-for-of" + ] } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/general/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/general/options.json index 4e3ea80c6b..d480b6d0ab 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/general/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/general/options.json @@ -1,3 +1,9 @@ { - "plugins": ["transform-block-scoping", "syntax-jsx", "transform-react-jsx", "transform-block-scoped-functions", "transform-arrow-functions"] + "plugins": [ + "transform-block-scoping", + "syntax-jsx", + "transform-react-jsx", + "transform-block-scoped-functions", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/pass/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/pass/options.json index 3d39d4c9ac..a08731896b 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/pass/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/pass/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-block-scoping", "transform-parameters", "transform-destructuring", "transform-modules-commonjs"] + "plugins": [ + "transform-block-scoping", + "transform-parameters", + "transform-destructuring", + "transform-modules-commonjs" + ] } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/block-ref-function-call/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/block-ref-function-call/options.json index d121887b64..7a63bc19c6 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/block-ref-function-call/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/block-ref-function-call/options.json @@ -1,3 +1,3 @@ { - "throws": "f is not defined - temporal dead zone" + "throws": "f is not defined - temporal dead zone" } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/destructured-self-reference/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/destructured-self-reference/options.json index 3aaa2434ab..e727ad851d 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/destructured-self-reference/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/destructured-self-reference/options.json @@ -1,3 +1,3 @@ { - "throws": "d is not defined - temporal dead zone" + "throws": "d is not defined - temporal dead zone" } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/options.json index e2bba884ad..07942e513e 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-block-scoping",{"tdz": true}]] + "plugins": [["transform-block-scoping", { "tdz": true }]] } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/self-reference/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/self-reference/options.json index 1ed16a0c18..9bf6222fbc 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/self-reference/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/self-reference/options.json @@ -1,3 +1,3 @@ { - "throws": "x is not defined - temporal dead zone" + "throws": "x is not defined - temporal dead zone" } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/shadow-outer-var/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/shadow-outer-var/options.json index 57b4f10104..c97e0b72d0 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/shadow-outer-var/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/shadow-outer-var/options.json @@ -1,3 +1,3 @@ { - "throws": "a is not defined - temporal dead zone" + "throws": "a is not defined - temporal dead zone" } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/simple-reference/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/simple-reference/options.json index 8a451235db..7983b36175 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/simple-reference/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/tdz/simple-reference/options.json @@ -1,3 +1,3 @@ { - "throws": "i is not defined - temporal dead zone" + "throws": "i is not defined - temporal dead zone" } diff --git a/packages/babel-plugin-transform-block-scoping/test/fixtures/throwIfClosureRequired/for-const-closure/options.json b/packages/babel-plugin-transform-block-scoping/test/fixtures/throwIfClosureRequired/for-const-closure/options.json index 30a935bce7..99d9938cc1 100644 --- a/packages/babel-plugin-transform-block-scoping/test/fixtures/throwIfClosureRequired/for-const-closure/options.json +++ b/packages/babel-plugin-transform-block-scoping/test/fixtures/throwIfClosureRequired/for-const-closure/options.json @@ -1,4 +1,5 @@ { "plugins": [["transform-block-scoping", { "throwIfClosureRequired": true }]], - "throws": "Compiling let/const in this block would add a closure (throwIfClosureRequired)." + "throws": + "Compiling let/const in this block would add a closure (throwIfClosureRequired)." } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/exec/options.json b/packages/babel-plugin-transform-classes/test/fixtures/exec/options.json index cee9d5b8a7..055fdcded2 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/exec/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/exec/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-classes", "transform-block-scoping", "transform-typeof-symbol"] + "plugins": [ + "transform-classes", + "transform-block-scoping", + "transform-typeof-symbol" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/imported_babel-plugin-transform-builtin-classes/options.json b/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/imported_babel-plugin-transform-builtin-classes/options.json index 0dfc820234..5d03380e6f 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/imported_babel-plugin-transform-builtin-classes/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/imported_babel-plugin-transform-builtin-classes/options.json @@ -1,3 +1,3 @@ { - "plugins": ["transform-classes","transform-block-scoping"] + "plugins": ["transform-classes", "transform-block-scoping"] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/super-called/options.json b/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/super-called/options.json index 0dfc820234..5d03380e6f 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/super-called/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/super-called/options.json @@ -1,3 +1,3 @@ { - "plugins": ["transform-classes","transform-block-scoping"] + "plugins": ["transform-classes", "transform-block-scoping"] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/wrap-native-super/options.json b/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/wrap-native-super/options.json index bc16727e57..55e74be7ce 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/wrap-native-super/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/extend-builtins/wrap-native-super/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-classes","transform-block-scoping","external-helpers"] + "plugins": [ + "transform-classes", + "transform-block-scoping", + "external-helpers" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/get-set-loose/options.json b/packages/babel-plugin-transform-classes/test/fixtures/get-set-loose/options.json index a5decfd973..2b25ef710b 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/get-set-loose/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/get-set-loose/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-classes", {"loose": true}]] + "plugins": [["transform-classes", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/loose-classCallCheck/options.json b/packages/babel-plugin-transform-classes/test/fixtures/loose-classCallCheck/options.json index 5c81b3488d..b5a4d55d5b 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/loose-classCallCheck/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/loose-classCallCheck/options.json @@ -1,7 +1,10 @@ { "plugins": [ - ["transform-classes", { - "loose": true - }] + [ + "transform-classes", + { + "loose": true + } + ] ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/loose/method-return-type-annotation/options.json b/packages/babel-plugin-transform-classes/test/fixtures/loose/method-return-type-annotation/options.json index f61933a17e..1f9617ec39 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/loose/method-return-type-annotation/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/loose/method-return-type-annotation/options.json @@ -1,3 +1,10 @@ { - "plugins": ["external-helpers", "transform-function-name", ["transform-classes", { "loose": true }], "transform-spread", "transform-block-scoping", "syntax-flow"] + "plugins": [ + "external-helpers", + "transform-function-name", + ["transform-classes", { "loose": true }], + "transform-spread", + "transform-block-scoping", + "syntax-flow" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/regression/T6755/options.json b/packages/babel-plugin-transform-classes/test/fixtures/regression/T6755/options.json index 12ccccf683..2b25ef710b 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/regression/T6755/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/regression/T6755/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["transform-classes", { "loose": true }] - ] + "plugins": [["transform-classes", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/regression/T7010/options.json b/packages/babel-plugin-transform-classes/test/fixtures/regression/T7010/options.json index 2c628e9f43..aec48c2b7d 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/regression/T7010/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/regression/T7010/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-classes", - "external-helpers" - ] + "plugins": ["transform-classes", "external-helpers"] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/method-return-type-annotation/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/method-return-type-annotation/options.json index ab9705ebc4..208e8b0ff0 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/method-return-type-annotation/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/method-return-type-annotation/options.json @@ -1,3 +1,10 @@ { - "plugins": ["external-helpers", "transform-function-name", "transform-classes", "transform-spread", "transform-block-scoping", "syntax-flow"] + "plugins": [ + "external-helpers", + "transform-function-name", + "transform-classes", + "transform-spread", + "transform-block-scoping", + "syntax-flow" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/name-method-collision/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/name-method-collision/options.json index 072488946a..143e6342c2 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/name-method-collision/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/name-method-collision/options.json @@ -1,3 +1,10 @@ { - "plugins": ["external-helpers", "transform-function-name", "transform-classes", "transform-spread", "transform-block-scoping", "transform-modules-commonjs"] + "plugins": [ + "external-helpers", + "transform-function-name", + "transform-classes", + "transform-spread", + "transform-block-scoping", + "transform-modules-commonjs" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/options.json index c2c6be1e6b..8d402a794c 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", "transform-function-name", "transform-classes", "transform-spread", "transform-block-scoping"] + "plugins": [ + "external-helpers", + "transform-function-name", + "transform-classes", + "transform-spread", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json index 2ff7004be5..99308b2423 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json @@ -1,3 +1,4 @@ { - "throws": "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'." + "throws": + "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'." } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-2/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-2/options.json index 111b0a6091..93725c3c0e 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-2/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-2/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-classes", "transform-block-scoping"] + "plugins": [ + "external-helpers", + "transform-classes", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-3/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-3/options.json index 111b0a6091..93725c3c0e 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-3/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda-3/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-classes", "transform-block-scoping"] + "plugins": [ + "external-helpers", + "transform-classes", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda/options.json index 111b0a6091..93725c3c0e 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-in-lambda/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-classes", "transform-block-scoping"] + "plugins": [ + "external-helpers", + "transform-classes", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-computed-properties/test/fixtures/loose/options.json b/packages/babel-plugin-transform-computed-properties/test/fixtures/loose/options.json index 323353b457..4a3f9912c7 100644 --- a/packages/babel-plugin-transform-computed-properties/test/fixtures/loose/options.json +++ b/packages/babel-plugin-transform-computed-properties/test/fixtures/loose/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-computed-properties", { "loose": true }]] + "plugins": [ + "external-helpers", + ["transform-computed-properties", { "loose": true }] + ] } diff --git a/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/issue-5628/options.json b/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/issue-5628/options.json index 2d4a820338..4e36a37876 100644 --- a/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/issue-5628/options.json +++ b/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/issue-5628/options.json @@ -1,3 +1,12 @@ { - "plugins": ["external-helpers", "transform-arrow-functions", "transform-destructuring", "transform-spread", "transform-parameters", "transform-block-scoping", "proposal-object-rest-spread", "transform-regenerator"] + "plugins": [ + "external-helpers", + "transform-arrow-functions", + "transform-destructuring", + "transform-spread", + "transform-parameters", + "transform-block-scoping", + "proposal-object-rest-spread", + "transform-regenerator" + ] } diff --git a/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/options.json b/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/options.json index 61c6a85c26..0a58a1e00d 100644 --- a/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/options.json +++ b/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/options.json @@ -1,3 +1,11 @@ { - "plugins": ["external-helpers", "transform-destructuring", "transform-spread", "transform-parameters", "transform-block-scoping", "proposal-object-rest-spread", "transform-regenerator"] + "plugins": [ + "external-helpers", + "transform-destructuring", + "transform-spread", + "transform-parameters", + "transform-block-scoping", + "proposal-object-rest-spread", + "transform-regenerator" + ] } diff --git a/packages/babel-plugin-transform-duplicate-keys/test/fixtures/combination/options.json b/packages/babel-plugin-transform-duplicate-keys/test/fixtures/combination/options.json index 492e90417d..62e2b15a57 100644 --- a/packages/babel-plugin-transform-duplicate-keys/test/fixtures/combination/options.json +++ b/packages/babel-plugin-transform-duplicate-keys/test/fixtures/combination/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-duplicate-keys", "transform-computed-properties"] + "plugins": [ + "external-helpers", + "transform-duplicate-keys", + "transform-computed-properties" + ] } diff --git a/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-2/options.json b/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-2/options.json index 384e6d0f25..76e3f90b12 100644 --- a/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-2/options.json +++ b/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-2/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-flow-comments" - ] + "plugins": ["transform-flow-comments"] } diff --git a/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-3/options.json b/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-3/options.json index 967b6754da..5320a9ef86 100644 --- a/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-3/options.json +++ b/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values-3/options.json @@ -1,6 +1,6 @@ { "plugins": [ "transform-flow-comments", - ["proposal-class-properties", {"loose": true}] + ["proposal-class-properties", { "loose": true }] ] } diff --git a/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values/options.json b/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values/options.json index 9f385a20d2..1aab50afbd 100644 --- a/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values/options.json +++ b/packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/class-prop-values/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-flow-comments", - "syntax-class-properties" - ] + "plugins": ["transform-flow-comments", "syntax-class-properties"] } diff --git a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/arrow-type-declaration/options.json b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/arrow-type-declaration/options.json index 8352026a9b..d42eaa2130 100644 --- a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/arrow-type-declaration/options.json +++ b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/arrow-type-declaration/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-flow-strip-types" - ] + "plugins": ["transform-flow-strip-types"] } diff --git a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/class-prop-values/options.json b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/class-prop-values/options.json index e4f98ec829..56245d91c6 100644 --- a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/class-prop-values/options.json +++ b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/class-prop-values/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-flow-strip-types", - "syntax-class-properties" - ] + "plugins": ["transform-flow-strip-types", "syntax-class-properties"] } diff --git a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/requireDirective/true-throws-if-found-with-directive/options.json b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/requireDirective/true-throws-if-found-with-directive/options.json index 09a51e3ba5..7eaa14b1a1 100644 --- a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/requireDirective/true-throws-if-found-with-directive/options.json +++ b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/requireDirective/true-throws-if-found-with-directive/options.json @@ -1,3 +1,4 @@ { - "throws": "A @flow directive is required when using Flow annotations with the `requireDirective` option." + "throws": + "A @flow directive is required when using Flow annotations with the `requireDirective` option." } diff --git a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-type-annotations/options.json b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-type-annotations/options.json index 5abfa483e5..8bbb3f309f 100644 --- a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-type-annotations/options.json +++ b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-type-annotations/options.json @@ -1 +1 @@ -{ "plugins": [ "transform-flow-strip-types", "syntax-class-properties" ] } \ No newline at end of file +{ "plugins": ["transform-flow-strip-types", "syntax-class-properties"] } diff --git a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-typeapp-call/options.json b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-typeapp-call/options.json index 06f4fa1ede..81c1ea3a22 100644 --- a/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-typeapp-call/options.json +++ b/packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-typeapp-call/options.json @@ -1,3 +1,7 @@ { - "plugins": ["syntax-jsx", "syntax-optional-chaining", "transform-flow-strip-types"] + "plugins": [ + "syntax-jsx", + "syntax-optional-chaining", + "transform-flow-strip-types" + ] } diff --git a/packages/babel-plugin-transform-for-of/test/fixtures/error/invalid-option/options.json b/packages/babel-plugin-transform-for-of/test/fixtures/error/invalid-option/options.json index bdd6772e84..c18fd74438 100644 --- a/packages/babel-plugin-transform-for-of/test/fixtures/error/invalid-option/options.json +++ b/packages/babel-plugin-transform-for-of/test/fixtures/error/invalid-option/options.json @@ -1,4 +1,5 @@ { - "plugins": [["transform-for-of", { "assumeArray": true, "loose": true}]], - "throws": "The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of" + "plugins": [["transform-for-of", { "assumeArray": true, "loose": true }]], + "throws": + "The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of" } diff --git a/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-amd/options.json b/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-amd/options.json index 9277b9005c..89a0601dc9 100644 --- a/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-amd/options.json +++ b/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-amd/options.json @@ -1,7 +1,11 @@ { - "plugins": [["transform-for-of", { - "assumeArray": true - }], + "plugins": [ + [ + "transform-for-of", + { + "assumeArray": true + } + ], ["transform-modules-amd"] ] } diff --git a/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-commonjs/options.json b/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-commonjs/options.json index 867a058d6a..855454080e 100644 --- a/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-commonjs/options.json +++ b/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/for-of-import-commonjs/options.json @@ -1,7 +1,11 @@ { - "plugins": [["transform-for-of", { - "assumeArray": true - }], + "plugins": [ + [ + "transform-for-of", + { + "assumeArray": true + } + ], ["transform-modules-commonjs"] ] } diff --git a/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/options.json b/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/options.json index 676ed1a7e9..0d441c779e 100644 --- a/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/options.json +++ b/packages/babel-plugin-transform-for-of/test/fixtures/for-of-as-array/options.json @@ -1,6 +1,10 @@ { - "plugins": [["transform-for-of", { - "assumeArray": true - }] + "plugins": [ + [ + "transform-for-of", + { + "assumeArray": true + } + ] ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-amd/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-amd/options.json index c4fc8e0664..206e143728 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-amd/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-amd/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-function-name", "transform-shorthand-properties", "transform-arrow-functions", "transform-modules-amd"] + "plugins": [ + "transform-function-name", + "transform-shorthand-properties", + "transform-arrow-functions", + "transform-modules-amd" + ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-es6/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-es6/options.json index f5aa31ca62..787f790f01 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-es6/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-es6/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-function-name", "transform-shorthand-properties", "transform-arrow-functions"] + "plugins": [ + "transform-function-name", + "transform-shorthand-properties", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-system/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-system/options.json index 60615c6e98..49317a23c6 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-system/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-system/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-function-name", "transform-shorthand-properties", "transform-arrow-functions", "transform-modules-systemjs"] + "plugins": [ + "transform-function-name", + "transform-shorthand-properties", + "transform-arrow-functions", + "transform-modules-systemjs" + ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-umd/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-umd/options.json index dfcd11cc72..af6f07082f 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-umd/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming-module-umd/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-function-name", "transform-shorthand-properties", "transform-arrow-functions", "transform-modules-umd"] + "plugins": [ + "transform-function-name", + "transform-shorthand-properties", + "transform-arrow-functions", + "transform-modules-umd" + ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming/options.json index 213eefa445..a1a9cf3f9b 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/export-default-arrow-renaming/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-function-name", "transform-shorthand-properties", "transform-arrow-functions", "transform-modules-commonjs"] + "plugins": [ + "transform-function-name", + "transform-shorthand-properties", + "transform-arrow-functions", + "transform-modules-commonjs" + ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform-spec/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform-spec/options.json index e49c12c03d..7f38a61694 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform-spec/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform-spec/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-function-name", [ "transform-arrow-functions", { "spec": true } ]] + "plugins": [ + "external-helpers", + "transform-function-name", + ["transform-arrow-functions", { "spec": true }] + ] } diff --git a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform/options.json b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform/options.json index 1e8e10b3d6..1392ef3ae7 100644 --- a/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform/options.json +++ b/packages/babel-plugin-transform-function-name/test/fixtures/function-name/with-arrow-functions-transform/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-function-name", "transform-arrow-functions"] + "plugins": [ + "external-helpers", + "transform-function-name", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-jscript/test/fixtures/jscript/options.json b/packages/babel-plugin-transform-jscript/test/fixtures/jscript/options.json index acc7a10d6e..9010bda65f 100644 --- a/packages/babel-plugin-transform-jscript/test/fixtures/jscript/options.json +++ b/packages/babel-plugin-transform-jscript/test/fixtures/jscript/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", "transform-block-scoping", "transform-classes", "transform-jscript", "transform-arrow-functions"] + "plugins": [ + "external-helpers", + "transform-block-scoping", + "transform-classes", + "transform-jscript", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-export-from/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-export-from/options.json index fcacbf0317..4a28969bfe 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-export-from/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-export-from/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-modules-amd", { "noInterop": true }]] + "plugins": [ + "external-helpers", + ["transform-modules-amd", { "noInterop": true }] + ] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-import-default-only/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-import-default-only/options.json index fcacbf0317..4a28969bfe 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-import-default-only/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/amd/noInterop-import-default-only/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-modules-amd", { "noInterop": true }]] + "plugins": [ + "external-helpers", + ["transform-modules-amd", { "noInterop": true }] + ] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/get-module-name-option/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/get-module-name-option/options.json index be939b1999..918617aab9 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/get-module-name-option/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/get-module-name-option/options.json @@ -2,8 +2,5 @@ "sourceType": "module", "moduleIds": true, "moduleId": "my custom module name", - "plugins": [ - "external-helpers", - ["transform-modules-amd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-amd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/module-name/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/module-name/options.json index c72a7c5942..c231826eaf 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/module-name/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/module-name/options.json @@ -1,8 +1,5 @@ { "sourceType": "module", "moduleIds": true, - "plugins": [ - "external-helpers", - ["transform-modules-amd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-amd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-export-from/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-export-from/options.json index 97d5cf98f8..b8c7153c97 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-export-from/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-export-from/options.json @@ -1,9 +1,12 @@ { "plugins": [ "external-helpers", - ["transform-modules-amd", { - "loose": true, - "noInterop": true - }] + [ + "transform-modules-amd", + { + "loose": true, + "noInterop": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-import-default-only/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-import-default-only/options.json index 97d5cf98f8..b8c7153c97 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-import-default-only/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/noInterop-import-default-only/options.json @@ -1,9 +1,12 @@ { "plugins": [ "external-helpers", - ["transform-modules-amd", { - "loose": true, - "noInterop": true - }] + [ + "transform-modules-amd", + { + "loose": true, + "noInterop": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/options.json b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/options.json index 9597d1c3f2..5570cb0e3f 100644 --- a/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/options.json +++ b/packages/babel-plugin-transform-modules-amd/test/fixtures/loose/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "external-helpers", - ["transform-modules-amd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-amd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/disable-strict-mode/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/disable-strict-mode/options.json index 316544afb3..a30f3a8390 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/disable-strict-mode/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/disable-strict-mode/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-modules-commonjs", { "strictMode": false }]] + "plugins": [ + "external-helpers", + ["transform-modules-commonjs", { "strictMode": false }] + ] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop/multi-load/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop/multi-load/options.json index 86fc5ff5a4..d456a31683 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop/multi-load/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop/multi-load/options.json @@ -1,7 +1,3 @@ { - "plugins": [ - "transform-modules-commonjs", - "transform-runtime", - "./plugin" - ] + "plugins": ["transform-modules-commonjs", "transform-runtime", "./plugin"] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/copy-getters-setters-star/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/copy-getters-setters-star/options.json index fd06b45cf2..8920c8f09f 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/copy-getters-setters-star/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/copy-getters-setters-star/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["transform-modules-commonjs", { "mjsStrictNamespace": false }] - ] + "plugins": [["transform-modules-commonjs", { "mjsStrictNamespace": false }]] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/module-exports/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/module-exports/options.json index f022b433fb..de02fc6cc1 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/module-exports/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/module-exports/options.json @@ -1,8 +1,3 @@ { - "plugins": [ - [ - "transform-modules-commonjs", - { "allowCommonJSExports": false } - ] - ] + "plugins": [["transform-modules-commonjs", { "allowCommonJSExports": false }]] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/options.json index 8b5e8767af..81e5ce1243 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/misc/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-modules-commonjs" - ] + "plugins": ["transform-modules-commonjs"] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/noInterop/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/noInterop/options.json index 3b46be214b..b44830bf61 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/noInterop/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/noInterop/options.json @@ -1,3 +1,6 @@ { - "plugins": ["external-helpers", ["transform-modules-commonjs", { "noInterop": true }]] + "plugins": [ + "external-helpers", + ["transform-modules-commonjs", { "noInterop": true }] + ] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/T7165/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/T7165/options.json index 71479330ea..ca258de59a 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/T7165/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/T7165/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-block-scoping", - "transform-modules-commonjs" - ] + "plugins": ["transform-block-scoping", "transform-modules-commonjs"] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/lazy-7176/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/lazy-7176/options.json index 4d4cb95420..cf7a7ac366 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/lazy-7176/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/regression/lazy-7176/options.json @@ -1,6 +1,6 @@ { "plugins": [ - ["transform-modules-commonjs", {"lazy": true}], + ["transform-modules-commonjs", { "lazy": true }], "external-helpers" ] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/export-all/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/export-all/options.json index 71479330ea..ca258de59a 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/export-all/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/export-all/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-block-scoping", - "transform-modules-commonjs" - ] + "plugins": ["transform-block-scoping", "transform-modules-commonjs"] } diff --git a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/options.json b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/options.json index 1654d4e359..caedc022ef 100644 --- a/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/options.json +++ b/packages/babel-plugin-transform-modules-commonjs/test/fixtures/strict/options.json @@ -2,6 +2,9 @@ "plugins": [ "external-helpers", "syntax-object-rest-spread", - ["transform-modules-commonjs", { "strict": true, "mjsStrictNamespace": false }] + [ + "transform-modules-commonjs", + { "strict": true, "mjsStrictNamespace": false } + ] ] } diff --git a/packages/babel-plugin-transform-modules-systemjs/test/fixtures/dynamic-import/options.json b/packages/babel-plugin-transform-modules-systemjs/test/fixtures/dynamic-import/options.json index d9d5e3ac62..7513a834e4 100644 --- a/packages/babel-plugin-transform-modules-systemjs/test/fixtures/dynamic-import/options.json +++ b/packages/babel-plugin-transform-modules-systemjs/test/fixtures/dynamic-import/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "syntax-dynamic-import", "syntax-import-meta", "transform-modules-systemjs"] + "plugins": [ + "external-helpers", + "syntax-dynamic-import", + "syntax-import-meta", + "transform-modules-systemjs" + ] } diff --git a/packages/babel-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-const-destructuring-object-rest/options.json b/packages/babel-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-const-destructuring-object-rest/options.json index e0c8a716c7..09137adf8d 100644 --- a/packages/babel-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-const-destructuring-object-rest/options.json +++ b/packages/babel-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-const-destructuring-object-rest/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-modules-systemjs", "syntax-object-rest-spread"] + "plugins": [ + "external-helpers", + "transform-modules-systemjs", + "syntax-object-rest-spread" + ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/get-module-name-option/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/get-module-name-option/options.json index b053905b03..039bece2c3 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/get-module-name-option/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/get-module-name-option/options.json @@ -2,8 +2,5 @@ "sourceType": "module", "moduleIds": true, "moduleId": "my custom module name", - "plugins": [ - "external-helpers", - ["transform-modules-umd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-false-with-overrides/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-false-with-overrides/options.json index d1283677d8..35718196f4 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-false-with-overrides/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-false-with-overrides/options.json @@ -1,13 +1,16 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "foo-bar": "fooBAR", - "./mylib/foo-bar": "mylib.fooBar", - "fizzbuzz": "fizz.buzz" - }, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "foo-bar": "fooBAR", + "./mylib/foo-bar": "mylib.fooBar", + "fizzbuzz": "fizz.buzz" + }, + "loose": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true-with-overrides/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true-with-overrides/options.json index f035809469..5206c894ed 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true-with-overrides/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true-with-overrides/options.json @@ -1,14 +1,17 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "foo-bar": "fooBAR", - "./mylib/foo-bar": "mylib.fooBar", - "fizzbuzz": "fizz.buzz" - }, - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "foo-bar": "fooBAR", + "./mylib/foo-bar": "mylib.fooBar", + "fizzbuzz": "fizz.buzz" + }, + "exactGlobals": true, + "loose": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true/options.json index b0038cc813..3ac6242c2e 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/imports-exact-globals-true/options.json @@ -1,9 +1,12 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "exactGlobals": true, + "loose": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-namespace/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-namespace/options.json index c65dd5d94e..81f94c6a3f 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-namespace/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-namespace/options.json @@ -1,13 +1,16 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "my custom module name": "foo.bar" - }, - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "my custom module name": "foo.bar" + }, + "exactGlobals": true, + "loose": true + } + ] ], "moduleId": "my custom module name" } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-very-nested-namespace/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-very-nested-namespace/options.json index cfe7588ad5..c41e884c8f 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-very-nested-namespace/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global-in-very-nested-namespace/options.json @@ -1,13 +1,16 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "my custom module name": "foo.bar.baz.qux" - }, - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "my custom module name": "foo.bar.baz.qux" + }, + "exactGlobals": true, + "loose": true + } + ] ], "moduleId": "my custom module name" } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global/options.json index cb7f46a5ca..02190d5d1d 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id-with-overridden-global/options.json @@ -1,13 +1,16 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "my custom module name": "baz" - }, - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "my custom module name": "baz" + }, + "exactGlobals": true, + "loose": true + } + ] ], "moduleId": "my custom module name" } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id/options.json index 895e18b863..ffec5e61b8 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-id/options.json @@ -1,8 +1,5 @@ { "sourceType": "module", "moduleId": "MyLib", - "plugins": [ - "external-helpers", - ["transform-modules-umd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name-with-overridden-global/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name-with-overridden-global/options.json index 83141a3a9b..745ff7a7ea 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name-with-overridden-global/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name-with-overridden-global/options.json @@ -1,13 +1,16 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "umd/module-name-with-overridden-global/expected": "baz" - }, - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "umd/module-name-with-overridden-global/expected": "baz" + }, + "exactGlobals": true, + "loose": true + } + ] ], "moduleIds": true } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name/options.json index ab68188b07..6ee8c312f9 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/module-name/options.json @@ -1,8 +1,5 @@ { "sourceType": "module", "moduleIds": true, - "plugins": [ - "external-helpers", - ["transform-modules-umd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/options.json index 5adcd9509c..4558224b4d 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "external-helpers", - ["transform-modules-umd", { "loose": true }] - ] + "plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-export-name/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-export-name/options.json index 4ca1bb3aaa..3b9f778ff8 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-export-name/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-export-name/options.json @@ -1,12 +1,15 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "actual": "baz" - }, - "exactGlobals": true, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "actual": "baz" + }, + "exactGlobals": true, + "loose": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-import-name/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-import-name/options.json index b6bc2d2586..d7bd8e05b2 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-import-name/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/loose/override-import-name/options.json @@ -1,11 +1,14 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "es6-promise": "Promise" - }, - "loose": true - }] + [ + "transform-modules-umd", + { + "globals": { + "es6-promise": "Promise" + }, + "loose": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-false-with-overrides/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-false-with-overrides/options.json index b5e7fbec60..9150394dc9 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-false-with-overrides/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-false-with-overrides/options.json @@ -1,12 +1,15 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "foo-bar": "fooBAR", - "./mylib/foo-bar": "mylib.fooBar", - "fizzbuzz": "fizz.buzz" + [ + "transform-modules-umd", + { + "globals": { + "foo-bar": "fooBAR", + "./mylib/foo-bar": "mylib.fooBar", + "fizzbuzz": "fizz.buzz" + } } - }] + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true-with-overrides/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true-with-overrides/options.json index c5be69b192..291cf1a9f0 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true-with-overrides/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true-with-overrides/options.json @@ -1,13 +1,16 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "foo-bar": "fooBAR", - "./mylib/foo-bar": "mylib.fooBar", - "fizzbuzz": "fizz.buzz" - }, - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "globals": { + "foo-bar": "fooBAR", + "./mylib/foo-bar": "mylib.fooBar", + "fizzbuzz": "fizz.buzz" + }, + "exactGlobals": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true/options.json index 0155b429f0..37d2c6f3de 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/imports-exact-globals-true/options.json @@ -1,8 +1,11 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "exactGlobals": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-namespace/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-namespace/options.json index 268451f559..bfb7432560 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-namespace/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-namespace/options.json @@ -1,12 +1,15 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "my custom module name": "foo.bar" - }, - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "globals": { + "my custom module name": "foo.bar" + }, + "exactGlobals": true + } + ] ], "moduleId": "my custom module name" } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-very-nested-namespace/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-very-nested-namespace/options.json index 9d933e14aa..13f94a5fe6 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-very-nested-namespace/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global-in-very-nested-namespace/options.json @@ -1,12 +1,15 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "my custom module name": "foo.bar.baz.qux" - }, - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "globals": { + "my custom module name": "foo.bar.baz.qux" + }, + "exactGlobals": true + } + ] ], "moduleId": "my custom module name" } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global/options.json index 7ff6be6934..13966c9b1a 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-id-with-overridden-global/options.json @@ -1,12 +1,15 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "my custom module name": "baz" - }, - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "globals": { + "my custom module name": "baz" + }, + "exactGlobals": true + } + ] ], "moduleId": "my custom module name" } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-name-with-overridden-global/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-name-with-overridden-global/options.json index 8f52e708b1..369639e804 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-name-with-overridden-global/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/module-name-with-overridden-global/options.json @@ -1,12 +1,15 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "umd/module-name-with-overridden-global/expected": "baz" - }, - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "globals": { + "umd/module-name-with-overridden-global/expected": "baz" + }, + "exactGlobals": true + } + ] ], "moduleIds": true } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-export-name/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-export-name/options.json index ecacc2971d..779b17b7ea 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-export-name/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-export-name/options.json @@ -1,11 +1,14 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { - "actual": "baz" - }, - "exactGlobals": true - }] + [ + "transform-modules-umd", + { + "globals": { + "actual": "baz" + }, + "exactGlobals": true + } + ] ] } diff --git a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-import-name/options.json b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-import-name/options.json index b0885c00c5..4805fd1648 100644 --- a/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-import-name/options.json +++ b/packages/babel-plugin-transform-modules-umd/test/fixtures/umd/override-import-name/options.json @@ -1,10 +1,13 @@ { "plugins": [ "external-helpers", - ["transform-modules-umd", { - "globals": { + [ + "transform-modules-umd", + { + "globals": { "es6-promise": "Promise" } - }] + } + ] ] } diff --git a/packages/babel-plugin-transform-new-target/test/fixtures/general/class-properties/options.json b/packages/babel-plugin-transform-new-target/test/fixtures/general/class-properties/options.json index 62f4583367..fafe51d4fb 100644 --- a/packages/babel-plugin-transform-new-target/test/fixtures/general/class-properties/options.json +++ b/packages/babel-plugin-transform-new-target/test/fixtures/general/class-properties/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-new-target", "transform-arrow-functions", ["proposal-class-properties", {"loose": true}]] + "plugins": [ + "transform-new-target", + "transform-arrow-functions", + ["proposal-class-properties", { "loose": true }] + ] } diff --git a/packages/babel-plugin-transform-object-super/test/fixtures/object-super/options.json b/packages/babel-plugin-transform-object-super/test/fixtures/object-super/options.json index 57174b351e..6109d3e790 100644 --- a/packages/babel-plugin-transform-object-super/test/fixtures/object-super/options.json +++ b/packages/babel-plugin-transform-object-super/test/fixtures/object-super/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-object-super", "transform-shorthand-properties"] + "plugins": [ + "external-helpers", + "transform-object-super", + "transform-shorthand-properties" + ] } diff --git a/packages/babel-plugin-transform-parameters/test/fixtures/parameters/regression-4634/options.json b/packages/babel-plugin-transform-parameters/test/fixtures/parameters/regression-4634/options.json index 8782f08686..058bc43b27 100644 --- a/packages/babel-plugin-transform-parameters/test/fixtures/parameters/regression-4634/options.json +++ b/packages/babel-plugin-transform-parameters/test/fixtures/parameters/regression-4634/options.json @@ -1,3 +1,9 @@ { - "plugins": ["syntax-flow", "transform-flow-strip-types", "transform-parameters", "transform-destructuring", "transform-arrow-functions"] + "plugins": [ + "syntax-flow", + "transform-flow-strip-types", + "transform-parameters", + "transform-destructuring", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-arrow-functions/options.json b/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-arrow-functions/options.json index c1a83eb8fb..51a1d6759c 100644 --- a/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-arrow-functions/options.json +++ b/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-arrow-functions/options.json @@ -1,6 +1,6 @@ { "plugins": [ - ["proposal-class-properties", {"loose": true}], + ["proposal-class-properties", { "loose": true }], "external-helpers", "syntax-flow", "transform-parameters", diff --git a/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-async-arrow-functions/options.json b/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-async-arrow-functions/options.json index 367061ac52..a2a7a5798b 100644 --- a/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-async-arrow-functions/options.json +++ b/packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-async-arrow-functions/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "transform-parameters", "transform-async-to-generator", "transform-arrow-functions"] + "plugins": [ + "external-helpers", + "transform-parameters", + "transform-async-to-generator", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-parameters/test/fixtures/regression/4209/options.json b/packages/babel-plugin-transform-parameters/test/fixtures/regression/4209/options.json index 00f205c1f4..b677ef4810 100644 --- a/packages/babel-plugin-transform-parameters/test/fixtures/regression/4209/options.json +++ b/packages/babel-plugin-transform-parameters/test/fixtures/regression/4209/options.json @@ -1,3 +1,8 @@ { - "plugins": ["transform-parameters", "transform-classes", "transform-modules-commonjs", "transform-block-scoping"] + "plugins": [ + "transform-parameters", + "transform-classes", + "transform-modules-commonjs", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/default-assignment-with-types/options.json b/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/default-assignment-with-types/options.json index 2b03e13029..9fae0859ab 100644 --- a/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/default-assignment-with-types/options.json +++ b/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/default-assignment-with-types/options.json @@ -1,6 +1,6 @@ { "plugins": [ "transform-flow-strip-types", - ["transform-parameters", { "loose": true } ] + ["transform-parameters", { "loose": true }] ] } diff --git a/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/options.json b/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/options.json index 1205784cd1..aa8f6cf317 100644 --- a/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/options.json +++ b/packages/babel-plugin-transform-parameters/test/fixtures/use-loose-option/options.json @@ -3,7 +3,7 @@ "proposal-class-properties", "external-helpers", "syntax-flow", - ["transform-parameters", { "loose": true } ], + ["transform-parameters", { "loose": true }], "transform-block-scoping", "transform-spread", "transform-classes", diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/async-function/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/async-function/options.json index e85df790bc..65bce83086 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/async-function/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/async-function/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-async-to-generator", "transform-react-constant-elements", "syntax-jsx"] + "plugins": [ + "transform-async-to-generator", + "transform-react-constant-elements", + "syntax-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/class-assign-unreferenced-param-deopt/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/class-assign-unreferenced-param-deopt/options.json index 3f36f45dbb..d0289c551e 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/class-assign-unreferenced-param-deopt/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/class-assign-unreferenced-param-deopt/options.json @@ -1,3 +1,7 @@ { - "plugins": [["proposal-class-properties", {"loose": true}], "transform-react-constant-elements", "syntax-jsx"] + "plugins": [ + ["proposal-class-properties", { "loose": true }], + "transform-react-constant-elements", + "syntax-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/inline-elements/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/inline-elements/options.json index 533a4539e5..019738130a 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/inline-elements/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/inline-elements/options.json @@ -1,3 +1,7 @@ { - "plugins": ["transform-react-constant-elements", "transform-react-inline-elements", "syntax-jsx"] + "plugins": [ + "transform-react-constant-elements", + "transform-react-inline-elements", + "syntax-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression-this/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression-this/options.json index ae2e4d6195..9045ec477f 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression-this/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression-this/options.json @@ -1,3 +1,7 @@ { - "plugins": ["syntax-jsx", "transform-react-constant-elements", ["proposal-class-properties", {"loose": true}]] + "plugins": [ + "syntax-jsx", + "transform-react-constant-elements", + ["proposal-class-properties", { "loose": true }] + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression/options.json index ae2e4d6195..9045ec477f 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/member-expression/options.json @@ -1,3 +1,7 @@ { - "plugins": ["syntax-jsx", "transform-react-constant-elements", ["proposal-class-properties", {"loose": true}]] + "plugins": [ + "syntax-jsx", + "transform-react-constant-elements", + ["proposal-class-properties", { "loose": true }] + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-multi/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-multi/options.json index 159e5bbbe8..ded6f4943f 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-multi/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-multi/options.json @@ -1,4 +1,8 @@ { - - "plugins": ["transform-destructuring", "transform-parameters", "transform-react-constant-elements", "syntax-jsx"] + "plugins": [ + "transform-destructuring", + "transform-parameters", + "transform-react-constant-elements", + "syntax-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-rest/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-rest/options.json index e03716d5e2..1b0cc13a7a 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-rest/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-rest/options.json @@ -1,6 +1,11 @@ { - - "plugins": ["transform-destructuring", "transform-parameters", - "transform-spread", "syntax-object-rest-spread", - "transform-react-constant-elements", "syntax-jsx", "external-helpers"] + "plugins": [ + "transform-destructuring", + "transform-parameters", + "transform-spread", + "syntax-object-rest-spread", + "transform-react-constant-elements", + "syntax-jsx", + "external-helpers" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-spread-deopt/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-spread-deopt/options.json index e03716d5e2..1b0cc13a7a 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-spread-deopt/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure-spread-deopt/options.json @@ -1,6 +1,11 @@ { - - "plugins": ["transform-destructuring", "transform-parameters", - "transform-spread", "syntax-object-rest-spread", - "transform-react-constant-elements", "syntax-jsx", "external-helpers"] + "plugins": [ + "transform-destructuring", + "transform-parameters", + "transform-spread", + "syntax-object-rest-spread", + "transform-react-constant-elements", + "syntax-jsx", + "external-helpers" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure/options.json index 159e5bbbe8..ded6f4943f 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/parameter-destructure/options.json @@ -1,4 +1,8 @@ { - - "plugins": ["transform-destructuring", "transform-parameters", "transform-react-constant-elements", "syntax-jsx"] + "plugins": [ + "transform-destructuring", + "transform-parameters", + "transform-react-constant-elements", + "syntax-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-deopt/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-deopt/options.json index 61a6bd63f4..c1df201efa 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-deopt/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-deopt/options.json @@ -1,7 +1,9 @@ { - "plugins": [ - ["transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedNumber"]}], + [ + "transform-react-constant-elements", + { "allowMutablePropsOnTags": ["FormattedNumber"] } + ], "syntax-jsx" ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-member/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-member/options.json index f690dd8c34..350e923744 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-member/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist-member/options.json @@ -1,7 +1,9 @@ { - "plugins": [ - ["transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedMessage"]}], + [ + "transform-react-constant-elements", + { "allowMutablePropsOnTags": ["FormattedMessage"] } + ], "syntax-jsx" ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist/options.json index f690dd8c34..350e923744 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/pure-expression-whitelist/options.json @@ -1,7 +1,9 @@ { - "plugins": [ - ["transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedMessage"]}], + [ + "transform-react-constant-elements", + { "allowMutablePropsOnTags": ["FormattedMessage"] } + ], "syntax-jsx" ] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export-default/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export-default/options.json index 60d815dd9a..72ce72ca0b 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export-default/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export-default/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-react-jsx", - "transform-react-constant-elements" - ] + "plugins": ["transform-react-jsx", "transform-react-constant-elements"] } diff --git a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export/options.json b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export/options.json index 60d815dd9a..72ce72ca0b 100644 --- a/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export/options.json +++ b/packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-react-jsx", - "transform-react-constant-elements" - ] + "plugins": ["transform-react-jsx", "transform-react-constant-elements"] } diff --git a/packages/babel-plugin-transform-react-inline-elements/test/fixtures/options.json b/packages/babel-plugin-transform-react-inline-elements/test/fixtures/options.json index c0159ffbdb..ba074de5fb 100644 --- a/packages/babel-plugin-transform-react-inline-elements/test/fixtures/options.json +++ b/packages/babel-plugin-transform-react-inline-elements/test/fixtures/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "syntax-jsx", "transform-react-inline-elements", "transform-react-jsx"] + "plugins": [ + "external-helpers", + "syntax-jsx", + "transform-react-inline-elements", + "transform-react-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-comment-if-jsx-pragma-option-set/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-comment-if-jsx-pragma-option-set/options.json index e307cfbd7b..17c61ec6cf 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-comment-if-jsx-pragma-option-set/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-comment-if-jsx-pragma-option-set/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - ["transform-react-jsx", {"pragma": "foo.bar"}] - ] -} \ No newline at end of file + "plugins": [["transform-react-jsx", { "pragma": "foo.bar" }]] +} diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/optimisation.react.constant-elements/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/optimisation.react.constant-elements/options.json index 2bd190eedc..35f1579a97 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/optimisation.react.constant-elements/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/optimisation.react.constant-elements/options.json @@ -1,3 +1,8 @@ { - "plugins": ["external-helpers", "transform-react-constant-elements", "transform-classes", "syntax-jsx"] + "plugins": [ + "external-helpers", + "transform-react-constant-elements", + "transform-classes", + "syntax-jsx" + ] } diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/options.json index 5296f7058a..2266a21df9 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/options.json @@ -1,3 +1,9 @@ { - "plugins": ["external-helpers", "syntax-jsx", "transform-react-jsx", "transform-react-display-name", "transform-arrow-functions"] + "plugins": [ + "external-helpers", + "syntax-jsx", + "transform-react-jsx", + "transform-react-display-name", + "transform-arrow-functions" + ] } diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-disallow-xml-namespacing/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-disallow-xml-namespacing/options.json index 8285c733a0..2ff4f32134 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-disallow-xml-namespacing/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-disallow-xml-namespacing/options.json @@ -1,3 +1,4 @@ { - "throws": "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning." + "throws": + "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning." } diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-throw-error-namespaces-if-not-flag/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-throw-error-namespaces-if-not-flag/options.json index 261ae77277..ebcbfc2dc3 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-throw-error-namespaces-if-not-flag/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-throw-error-namespaces-if-not-flag/options.json @@ -8,5 +8,6 @@ } ] ], - "throws": "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning." + "throws": + "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning." } diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/throw-if-pragma-set-but-not-pragmafrag-and-frag-used/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/throw-if-pragma-set-but-not-pragmafrag-and-frag-used/options.json index b89035fd10..f461d24b6f 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/throw-if-pragma-set-but-not-pragmafrag-and-frag-used/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/throw-if-pragma-set-but-not-pragmafrag-and-frag-used/options.json @@ -1,3 +1,4 @@ { - "throws": "transform-react-jsx: pragma has been set but pragmafrag has not been set" + "throws": + "transform-react-jsx: pragma has been set but pragmafrag has not been set" } diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/useBuiltIns/assignment-invalid-option/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/useBuiltIns/assignment-invalid-option/options.json index 3baf37938e..e1d66421a3 100644 --- a/packages/babel-plugin-transform-react-jsx/test/fixtures/useBuiltIns/assignment-invalid-option/options.json +++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/useBuiltIns/assignment-invalid-option/options.json @@ -1,4 +1,5 @@ { "plugins": [["transform-react-jsx", { "useBuiltIns": "invalidOption" }]], - "throws": "transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)" + "throws": + "transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)" } diff --git a/packages/babel-plugin-transform-regenerator/test/fixtures/arrow-inside-generator/options.json b/packages/babel-plugin-transform-regenerator/test/fixtures/arrow-inside-generator/options.json index 2d12be1f55..9e14e1cefa 100644 --- a/packages/babel-plugin-transform-regenerator/test/fixtures/arrow-inside-generator/options.json +++ b/packages/babel-plugin-transform-regenerator/test/fixtures/arrow-inside-generator/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-regenerator" - ] + "plugins": ["transform-regenerator"] } diff --git a/packages/babel-plugin-transform-regenerator/test/fixtures/class-argument-scope/options.json b/packages/babel-plugin-transform-regenerator/test/fixtures/class-argument-scope/options.json index b207aefdde..002b4aa0d5 100644 --- a/packages/babel-plugin-transform-regenerator/test/fixtures/class-argument-scope/options.json +++ b/packages/babel-plugin-transform-regenerator/test/fixtures/class-argument-scope/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-plugin-transform-regenerator/test/fixtures/function-sent/options.json b/packages/babel-plugin-transform-regenerator/test/fixtures/function-sent/options.json index cf3901e90c..521191edd0 100644 --- a/packages/babel-plugin-transform-regenerator/test/fixtures/function-sent/options.json +++ b/packages/babel-plugin-transform-regenerator/test/fixtures/function-sent/options.json @@ -1,3 +1,8 @@ { - "plugins": ["syntax-function-sent", "transform-regenerator", "transform-parameters", "transform-block-scoping"] + "plugins": [ + "syntax-function-sent", + "transform-regenerator", + "transform-parameters", + "transform-block-scoping" + ] } diff --git a/packages/babel-plugin-transform-regenerator/test/fixtures/regression/4219/options.json b/packages/babel-plugin-transform-regenerator/test/fixtures/regression/4219/options.json index 5e6e8af760..5daf3cffc5 100644 --- a/packages/babel-plugin-transform-regenerator/test/fixtures/regression/4219/options.json +++ b/packages/babel-plugin-transform-regenerator/test/fixtures/regression/4219/options.json @@ -1,7 +1,7 @@ { - "plugins": [ - "transform-parameters", - "transform-spread", - "transform-regenerator" - ] + "plugins": [ + "transform-parameters", + "transform-spread", + "transform-regenerator" + ] } diff --git a/packages/babel-plugin-transform-regenerator/test/fixtures/regression/options.json b/packages/babel-plugin-transform-regenerator/test/fixtures/regression/options.json index b207aefdde..002b4aa0d5 100644 --- a/packages/babel-plugin-transform-regenerator/test/fixtures/regression/options.json +++ b/packages/babel-plugin-transform-regenerator/test/fixtures/regression/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/options.json b/packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/options.json index 21fd7445e2..10db87c9fe 100644 --- a/packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/options.json +++ b/packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/options.json @@ -1,6 +1,4 @@ { - "plugins": [ - "transform-regenerator" - ], + "plugins": ["transform-regenerator"], "retainLines": true } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/modules/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/modules/options.json index f3b812fb39..b1cff64aee 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/modules/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/modules/options.json @@ -1,3 +1,6 @@ { - "plugins": [["transform-runtime", { "corejs": 2 }], "transform-modules-commonjs"] + "plugins": [ + ["transform-runtime", { "corejs": 2 }], + "transform-modules-commonjs" + ] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/no-helpers/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/no-helpers/options.json index d30944afcb..aaf9a14cac 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/no-helpers/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/no-helpers/options.json @@ -1,3 +1,6 @@ { - "plugins": [["transform-runtime", { "helpers": false, "corejs": 2 }], "transform-classes"] + "plugins": [ + ["transform-runtime", { "helpers": false, "corejs": 2 }], + "transform-classes" + ] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/symbol-iterator-in/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/symbol-iterator-in/options.json index e0ebc58869..5c04c77630 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/symbol-iterator-in/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/runtime-corejs2/symbol-iterator-in/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - ["transform-runtime", { "corejs": 2 }], - "transform-regenerator" - ] + "plugins": [["transform-runtime", { "corejs": 2 }], "transform-regenerator"] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/corejs-useES6Modules/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/corejs-useES6Modules/options.json index 95636c5bb4..63e7c90646 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/corejs-useES6Modules/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/corejs-useES6Modules/options.json @@ -1,3 +1,6 @@ { - "plugins": [["transform-runtime", { "corejs": 2, "useESModules": true }], "transform-classes"] + "plugins": [ + ["transform-runtime", { "corejs": 2, "useESModules": true }], + "transform-classes" + ] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs-auto/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs-auto/options.json index 68379236ea..ad753739a7 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs-auto/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs-auto/options.json @@ -3,5 +3,8 @@ "name": "babel-test", "supportsStaticESM": true }, - "plugins": [["transform-runtime", { "useESModules": "auto" }], "transform-classes"] + "plugins": [ + ["transform-runtime", { "useESModules": "auto" }], + "transform-classes" + ] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs/options.json index 5f363a2640..35cc8ccbfc 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-cjs/options.json @@ -3,5 +3,8 @@ "name": "babel-test", "supportsStaticESM": true }, - "plugins": [["transform-runtime", { "useESModules": true }], "transform-classes"] + "plugins": [ + ["transform-runtime", { "useESModules": true }], + "transform-classes" + ] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs-auto/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs-auto/options.json index 68379236ea..ad753739a7 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs-auto/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs-auto/options.json @@ -3,5 +3,8 @@ "name": "babel-test", "supportsStaticESM": true }, - "plugins": [["transform-runtime", { "useESModules": "auto" }], "transform-classes"] + "plugins": [ + ["transform-runtime", { "useESModules": "auto" }], + "transform-classes" + ] } diff --git a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs/options.json b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs/options.json index 5f363a2640..35cc8ccbfc 100644 --- a/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs/options.json +++ b/packages/babel-plugin-transform-runtime/test/fixtures/use-options/useESModules-mjs/options.json @@ -3,5 +3,8 @@ "name": "babel-test", "supportsStaticESM": true }, - "plugins": [["transform-runtime", { "useESModules": true }], "transform-classes"] + "plugins": [ + ["transform-runtime", { "useESModules": true }], + "transform-classes" + ] } diff --git a/packages/babel-plugin-transform-spread/test/fixtures/regression/6647/options.json b/packages/babel-plugin-transform-spread/test/fixtures/regression/6647/options.json index e9934ced59..000d1f70d2 100644 --- a/packages/babel-plugin-transform-spread/test/fixtures/regression/6647/options.json +++ b/packages/babel-plugin-transform-spread/test/fixtures/regression/6647/options.json @@ -1,3 +1,7 @@ { - "plugins": ["external-helpers", "transform-spread", "transform-modules-commonjs"] + "plugins": [ + "external-helpers", + "transform-spread", + "transform-modules-commonjs" + ] } diff --git a/packages/babel-plugin-transform-template-literals/test/fixtures/loose/options.json b/packages/babel-plugin-transform-template-literals/test/fixtures/loose/options.json index 96ed4bbec3..b49f4c0191 100644 --- a/packages/babel-plugin-transform-template-literals/test/fixtures/loose/options.json +++ b/packages/babel-plugin-transform-template-literals/test/fixtures/loose/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-template-literals", {"loose": true}]] + "plugins": [["transform-template-literals", { "loose": true }]] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/class/properties/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/class/properties/options.json index 43bd3d3759..14b2876dc1 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/class/properties/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/class/properties/options.json @@ -1,6 +1,3 @@ { - "plugins": [ - "transform-typescript", - ["syntax-decorators", { "legacy": true }] - ] + "plugins": ["transform-typescript", ["syntax-decorators", { "legacy": true }]] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/enum/const/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/enum/const/options.json index e64a9bc9fd..26f55acbbd 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/enum/const/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/enum/const/options.json @@ -1 +1 @@ -{ "throws": "'const' enums are not supported." } \ No newline at end of file +{ "throws": "'const' enums are not supported." } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/enum/non-foldable-constant/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/enum/non-foldable-constant/options.json index 32e95fb26a..f0cc17142b 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/enum/non-foldable-constant/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/enum/non-foldable-constant/options.json @@ -1,3 +1,3 @@ { - "throws": "Enum member must have initializer." + "throws": "Enum member must have initializer." } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/exports/export=/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/exports/export=/options.json index 9ba7cc5c5f..8d3baef962 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/exports/export=/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/exports/export=/options.json @@ -1,3 +1,4 @@ { - "throws": "`export =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `export ;`." + "throws": + "`export =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `export ;`." } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-preact-no/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-preact-no/options.json index 5bd8727ebb..7991464b9f 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-preact-no/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-preact-no/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-typescript", { "jsxPragma": "h", "isTSX": true }]] + "plugins": [["transform-typescript", { "jsxPragma": "h", "isTSX": true }]] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-2/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-2/options.json index 20970e7cd0..2c7aa7bce2 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-2/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-2/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-typescript", { "isTSX": true }]] + "plugins": [["transform-typescript", { "isTSX": true }]] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-3/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-3/options.json index 20970e7cd0..2c7aa7bce2 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-3/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no-3/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-typescript", { "isTSX": true }]] + "plugins": [["transform-typescript", { "isTSX": true }]] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no/options.json index 20970e7cd0..2c7aa7bce2 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/imports/elide-react-no/options.json @@ -1,3 +1,3 @@ { - "plugins": [["transform-typescript", { "isTSX": true }]] + "plugins": [["transform-typescript", { "isTSX": true }]] } diff --git a/packages/babel-plugin-transform-typescript/test/fixtures/imports/import=/options.json b/packages/babel-plugin-transform-typescript/test/fixtures/imports/import=/options.json index 596239c2e1..a8811f52ea 100644 --- a/packages/babel-plugin-transform-typescript/test/fixtures/imports/import=/options.json +++ b/packages/babel-plugin-transform-typescript/test/fixtures/imports/import=/options.json @@ -1,3 +1,4 @@ { - "throws": "`import =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `import from '';` alongside Typescript's --allowSyntheticDefaultImports option." + "throws": + "`import =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `import from '';` alongside Typescript's --allowSyntheticDefaultImports option." } diff --git a/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator-in/options.json b/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator-in/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator-in/options.json +++ b/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator-in/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator/options.json b/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator/options.json +++ b/packages/babel-preset-env/test/fixtures/dom-iterable/symbol-iterator/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/dom-iterable/yield-non-star/options.json b/packages/babel-preset-env/test/fixtures/dom-iterable/yield-non-star/options.json index d87fce3e6a..66d4ffba1a 100644 --- a/packages/babel-preset-env/test/fixtures/dom-iterable/yield-non-star/options.json +++ b/packages/babel-preset-env/test/fixtures/dom-iterable/yield-non-star/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "targets": { - "chrome": 55 - }, - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "targets": { + "chrome": 55 + }, + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/dom-iterable/yield-star/options.json b/packages/babel-preset-env/test/fixtures/dom-iterable/yield-star/options.json index d87fce3e6a..66d4ffba1a 100644 --- a/packages/babel-preset-env/test/fixtures/dom-iterable/yield-star/options.json +++ b/packages/babel-preset-env/test/fixtures/dom-iterable/yield-star/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "targets": { - "chrome": 55 - }, - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "targets": { + "chrome": 55 + }, + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/modules/auto-cjs/options.json b/packages/babel-preset-env/test/fixtures/modules/auto-cjs/options.json index e35c724b5a..f336d939f3 100644 --- a/packages/babel-preset-env/test/fixtures/modules/auto-cjs/options.json +++ b/packages/babel-preset-env/test/fixtures/modules/auto-cjs/options.json @@ -3,7 +3,5 @@ "name": "test-fixture", "supportsStaticESM": false }, - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-preset-env/test/fixtures/modules/auto-esm/options.json b/packages/babel-preset-env/test/fixtures/modules/auto-esm/options.json index a4e6bf5cde..c4294fee0e 100644 --- a/packages/babel-preset-env/test/fixtures/modules/auto-esm/options.json +++ b/packages/babel-preset-env/test/fixtures/modules/auto-esm/options.json @@ -3,7 +3,5 @@ "name": "test-fixture", "supportsStaticESM": true }, - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-preset-env/test/fixtures/modules/auto-unknown/options.json b/packages/babel-preset-env/test/fixtures/modules/auto-unknown/options.json index b207aefdde..002b4aa0d5 100644 --- a/packages/babel-preset-env/test/fixtures/modules/auto-unknown/options.json +++ b/packages/babel-preset-env/test/fixtures/modules/auto-unknown/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "env" - ] + "presets": ["env"] } diff --git a/packages/babel-preset-env/test/fixtures/plugin-options/filters-duplicates/options.json b/packages/babel-preset-env/test/fixtures/plugin-options/filters-duplicates/options.json index f8b18da618..de03c1982f 100644 --- a/packages/babel-preset-env/test/fixtures/plugin-options/filters-duplicates/options.json +++ b/packages/babel-preset-env/test/fixtures/plugin-options/filters-duplicates/options.json @@ -1,11 +1,14 @@ { "plugins": [ - ["../../../../lib/use-built-ins-entry-plugin", { - "polyfills": [ - "es6.typed.data-view", - "es6.typed.data-view", - "es6.reflect.apply" - ] - }] + [ + "../../../../lib/use-built-ins-entry-plugin", + { + "polyfills": [ + "es6.typed.data-view", + "es6.typed.data-view", + "es6.reflect.apply" + ] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-false/options.json b/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-false/options.json index e46957a874..122e5e85dd 100644 --- a/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-false/options.json +++ b/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-false/options.json @@ -1,8 +1,11 @@ { "plugins": [ - ["../../../../lib/use-built-ins-entry-plugin", { - "regenerator": false, - "polyfills": [] - }] + [ + "../../../../lib/use-built-ins-entry-plugin", + { + "regenerator": false, + "polyfills": [] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-true/options.json b/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-true/options.json index e274811992..f68b3a1f0e 100644 --- a/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-true/options.json +++ b/packages/babel-preset-env/test/fixtures/plugin-options/regenerator-true/options.json @@ -1,8 +1,11 @@ { "plugins": [ - ["../../../../lib/use-built-ins-entry-plugin", { - "regenerator": true, - "polyfills": [] - }] + [ + "../../../../lib/use-built-ins-entry-plugin", + { + "regenerator": true, + "polyfills": [] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/plugins-integration/issue-7527/options.json b/packages/babel-preset-env/test/fixtures/plugins-integration/issue-7527/options.json index 5506781ec8..26bf537b28 100644 --- a/packages/babel-preset-env/test/fixtures/plugins-integration/issue-7527/options.json +++ b/packages/babel-preset-env/test/fixtures/plugins-integration/issue-7527/options.json @@ -1,4 +1,4 @@ { "plugins": [], "presets": ["../../../../lib"] -} \ No newline at end of file +} diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/browserslist-config-ignore/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/browserslist-config-ignore/options.json index b90edbbf84..77edc18b65 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/browserslist-config-ignore/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/browserslist-config-ignore/options.json @@ -1,11 +1,15 @@ { "presets": [ - ["../../../../lib", { - "configPath": "../fixtures/preset-options-add-used-built-ins/browserslist-config-ignore", - "modules": false, - "targets": { "esmodules": true }, - "useBuiltIns": "usage", - "debug": true - }] + [ + "../../../../lib", + { + "configPath": + "../fixtures/preset-options-add-used-built-ins/browserslist-config-ignore", + "modules": false, + "targets": { "esmodules": true }, + "useBuiltIns": "usage", + "debug": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-false/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-false/options.json index 33eed36353..d7fc8663bd 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-false/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-false/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": false, - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": false, + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-class-methods/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-class-methods/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-class-methods/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-class-methods/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-instance-methods/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-instance-methods/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-instance-methods/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-evaluated-instance-methods/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods-native-support/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods-native-support/options.json index e41e024eb2..b1891c2b58 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods-native-support/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods-native-support/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false, - "targets": { - "chrome": 58 + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false, + "targets": { + "chrome": 58 + } } - }] + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-instance-methods/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-native-support/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-native-support/options.json index e41e024eb2..b1891c2b58 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-native-support/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used-native-support/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false, - "targets": { - "chrome": 58 + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false, + "targets": { + "chrome": 58 + } } - }] + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/builtins-used/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-with/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-with/options.json index e73fe7b3bb..c7849884df 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-with/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-with/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "node": "7" - }, - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "node": "7" + }, + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-without/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-without/options.json index 5fa73d0603..895761e20b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-without/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/for-of-destructure-without/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "node": "8" - }, - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "node": "8" + }, + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/no-builtins-used/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/no-builtins-used/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/no-builtins-used/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/no-builtins-used/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async-native-support/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async-native-support/options.json index 241b880ce4..708d581db6 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async-native-support/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async-native-support/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false, - "targets": { - "chrome": 55 + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false, + "targets": { + "chrome": 55 + } } - }] + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-async/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator-native-support/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator-native-support/options.json index ec40d7f000..455a456415 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator-native-support/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator-native-support/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false, - "targets": { - "node": 6 + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false, + "targets": { + "node": 6 + } } - }] + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/regenerator-used-generator/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/remove-babel-polyfill-import/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/remove-babel-polyfill-import/options.json index fa0e9434e2..0724294c9b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/remove-babel-polyfill-import/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/remove-babel-polyfill-import/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage", - "modules": false - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script-query/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script-query/options.json index a92e3abd7a..b9f676d131 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script-query/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script-query/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["../../../../lib", { - "modules": false, - "targets": { - "node": "4.0.0" - }, - "useBuiltIns": "usage", - "shippedProposals": true - }] + [ + "../../../../lib", + { + "modules": false, + "targets": { + "node": "4.0.0" + }, + "useBuiltIns": "usage", + "shippedProposals": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script/options.json index a92e3abd7a..b9f676d131 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/source-type-script/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["../../../../lib", { - "modules": false, - "targets": { - "node": "4.0.0" - }, - "useBuiltIns": "usage", - "shippedProposals": true - }] + [ + "../../../../lib", + { + "modules": false, + "targets": { + "node": "4.0.0" + }, + "useBuiltIns": "usage", + "shippedProposals": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/test-modules-transform/options.json b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/test-modules-transform/options.json index 18d3b5de7f..ebc91c6d0f 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/test-modules-transform/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options-add-used-built-ins/test-modules-transform/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage" - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/.use-builtins-all-exec/options.json b/packages/babel-preset-env/test/fixtures/preset-options/.use-builtins-all-exec/options.json index 18d3b5de7f..ebc91c6d0f 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/.use-builtins-all-exec/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/.use-builtins-all-exec/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "useBuiltIns": "usage" - }] + [ + "../../../../lib", + { + "useBuiltIns": "usage" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-config-with-false/options.json b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-config-with-false/options.json index d575e094d6..772ac0d056 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-config-with-false/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-config-with-false/options.json @@ -1,9 +1,13 @@ { "presets": [ - ["../../../../lib", { - "configPath": "../fixtures/preset-options/browserslist-config-ignore-with-false", - "modules": false, - "ignoreBrowserslistConfig": true - }] + [ + "../../../../lib", + { + "configPath": + "../fixtures/preset-options/browserslist-config-ignore-with-false", + "modules": false, + "ignoreBrowserslistConfig": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-package-with-false/options.json b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-package-with-false/options.json index d575e094d6..772ac0d056 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-package-with-false/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config-ignore-package-with-false/options.json @@ -1,9 +1,13 @@ { "presets": [ - ["../../../../lib", { - "configPath": "../fixtures/preset-options/browserslist-config-ignore-with-false", - "modules": false, - "ignoreBrowserslistConfig": true - }] + [ + "../../../../lib", + { + "configPath": + "../fixtures/preset-options/browserslist-config-ignore-with-false", + "modules": false, + "ignoreBrowserslistConfig": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config/options.json b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config/options.json index 1545c51ee9..ec82f53a37 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-config/options.json @@ -1,8 +1,12 @@ { "presets": [ - ["../../../../lib", { - "configPath": "packages/babel-preset-env/test/fixtures/preset-options/browserslist-config", - "modules": false - }] + [ + "../../../../lib", + { + "configPath": + "packages/babel-preset-env/test/fixtures/preset-options/browserslist-config", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package-ignore-with-targets/options.json b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package-ignore-with-targets/options.json index 4cbd932c33..d019d62723 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package-ignore-with-targets/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package-ignore-with-targets/options.json @@ -1,11 +1,15 @@ { "presets": [ - ["../../../../lib", { - "configPath": "../fixtures/preset-options/browserslist-package-ignore-with-array", - "targets": { - "chrome": 55 - }, - "modules": false - }] + [ + "../../../../lib", + { + "configPath": + "../fixtures/preset-options/browserslist-package-ignore-with-array", + "targets": { + "chrome": 55 + }, + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package/options.json b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package/options.json index 4df4752e3d..c5435b615a 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/browserslist-package/options.json @@ -1,8 +1,12 @@ { "presets": [ - ["../../../../lib", { - "configPath": "packages/babel-preset-env/test/fixtures/preset-options/browserslist-package", - "modules": false - }] + [ + "../../../../lib", + { + "configPath": + "packages/babel-preset-env/test/fixtures/preset-options/browserslist-package", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/core-js/options.json b/packages/babel-preset-env/test/fixtures/preset-options/core-js/options.json index 7c15d7db40..6053ab0e29 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/core-js/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/core-js/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 55 - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 55 + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/electron/options.json b/packages/babel-preset-env/test/fixtures/preset-options/electron/options.json index 2e2bef018a..0ebb752220 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/electron/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/electron/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "electron": "1.4" - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "electron": "1.4" + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/empty-options/options.json b/packages/babel-preset-env/test/fixtures/preset-options/empty-options/options.json index df639ff3c2..e58d228193 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/empty-options/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/empty-options/options.json @@ -1,5 +1,3 @@ { - "presets": [ - ["../../../../lib", {}] - ] + "presets": [["../../../../lib", {}]] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/exclude-built-ins/options.json b/packages/babel-preset-env/test/fixtures/preset-options/exclude-built-ins/options.json index 87ca44b84d..368eff47d4 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/exclude-built-ins/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/exclude-built-ins/options.json @@ -1,18 +1,21 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 63 - }, - "modules": false, - "useBuiltIns": "entry", - "exclude": [ - "es7.string.pad-start", - "es7.string.pad-end", - "web.timers", - "web.immediate", - "web.dom.iterable" - ] - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 63 + }, + "modules": false, + "useBuiltIns": "entry", + "exclude": [ + "es7.string.pad-start", + "es7.string.pad-end", + "web.timers", + "web.immediate", + "web.dom.iterable" + ] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/exclude-include/options.json b/packages/babel-preset-env/test/fixtures/preset-options/exclude-include/options.json index bf1f5a86c9..5835e72a36 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/exclude-include/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/exclude-include/options.json @@ -1,20 +1,20 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 55 - }, - "modules": false, - "useBuiltIns": "entry", - "exclude": [ - "transform-async-to-generator", - "transform-regenerator", - "es7.string.pad-start" - ], - "include": [ - "transform-arrow-functions", - "es6.map" - ] - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 55 + }, + "modules": false, + "useBuiltIns": "entry", + "exclude": [ + "transform-async-to-generator", + "transform-regenerator", + "es7.string.pad-start" + ], + "include": ["transform-arrow-functions", "es6.map"] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/exclude-regenerator/options.json b/packages/babel-preset-env/test/fixtures/preset-options/exclude-regenerator/options.json index 514d13251d..7e047ae37c 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/exclude-regenerator/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/exclude-regenerator/options.json @@ -1,9 +1,12 @@ { "presets": [ - ["../../../../lib", { - "modules": false, - "useBuiltIns": "entry", - "exclude": ["transform-regenerator"] - }] + [ + "../../../../lib", + { + "modules": false, + "useBuiltIns": "entry", + "exclude": ["transform-regenerator"] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/exclude/options.json b/packages/babel-preset-env/test/fixtures/preset-options/exclude/options.json index 7c6d3bfb0e..ffe95aded8 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/exclude/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/exclude/options.json @@ -1,12 +1,12 @@ { "presets": [ - ["../../../../lib", { - "modules": false, - "useBuiltIns": "usage", - "exclude": [ - "transform-async-to-generator", - "transform-regenerator" - ] - }] + [ + "../../../../lib", + { + "modules": false, + "useBuiltIns": "usage", + "exclude": ["transform-async-to-generator", "transform-regenerator"] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/force-all-transforms/options.json b/packages/babel-preset-env/test/fixtures/preset-options/force-all-transforms/options.json index 60a4f26eaa..bbb2830a6b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/force-all-transforms/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/force-all-transforms/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 55 - }, - "modules": false, - "useBuiltIns": "entry", - "forceAllTransforms": true - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 55 + }, + "modules": false, + "useBuiltIns": "entry", + "forceAllTransforms": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/ie-11-built-ins/options.json b/packages/babel-preset-env/test/fixtures/preset-options/ie-11-built-ins/options.json index cebe1cb0d4..be71dc8e11 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/ie-11-built-ins/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/ie-11-built-ins/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "ie": 11 - }, - "modules": false, - "useBuiltIns": "entry", - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "ie": 11 + }, + "modules": false, + "useBuiltIns": "entry", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/include-built-ins/options.json b/packages/babel-preset-env/test/fixtures/preset-options/include-built-ins/options.json index 74a59214cd..efae471651 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/include-built-ins/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/include-built-ins/options.json @@ -1,15 +1,15 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 55 - }, - "include": [ - "es6.map", - "es6.set" - ], - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 55 + }, + "include": ["es6.map", "es6.set"], + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/include/options.json b/packages/babel-preset-env/test/fixtures/preset-options/include/options.json index 4869b71a4c..615248481b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/include/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/include/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 61 - }, - "include": ["transform-classes"], - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 61 + }, + "include": ["transform-classes"], + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/ios-10/options.json b/packages/babel-preset-env/test/fixtures/preset-options/ios-10/options.json index 25d6c970e1..a9d6ca4f14 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/ios-10/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/ios-10/options.json @@ -1,10 +1,13 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "browsers": ["ios >= 10"] - }, - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "browsers": ["ios >= 10"] + }, + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/ios-6/options.json b/packages/babel-preset-env/test/fixtures/preset-options/ios-6/options.json index 38d936c33c..96778c122b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/ios-6/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/ios-6/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "browsers": ["ios >= 6"] - }, - "modules": false, - "useBuiltIns": "usage" - }] + [ + "../../../../lib", + { + "targets": { + "browsers": ["ios >= 6"] + }, + "modules": false, + "useBuiltIns": "usage" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/loose-typeof-symbol/options.json b/packages/babel-preset-env/test/fixtures/preset-options/loose-typeof-symbol/options.json index ad68441695..b3fcaf5a97 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/loose-typeof-symbol/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/loose-typeof-symbol/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "loose": true - }] + [ + "../../../../lib", + { + "loose": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/loose-with-typeof-symbol-includes/options.json b/packages/babel-preset-env/test/fixtures/preset-options/loose-with-typeof-symbol-includes/options.json index 6a0801273e..5831707fa9 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/loose-with-typeof-symbol-includes/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/loose-with-typeof-symbol-includes/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "loose": true, - "include": ["transform-typeof-symbol"] - }] + [ + "../../../../lib", + { + "loose": true, + "include": ["transform-typeof-symbol"] + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/modules-amd-loose/options.json b/packages/babel-preset-env/test/fixtures/preset-options/modules-amd-loose/options.json index 428a076dfb..b2a6393687 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/modules-amd-loose/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/modules-amd-loose/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "modules": "amd", - "loose": true - }] + [ + "../../../../lib", + { + "modules": "amd", + "loose": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/modules-cjs/options.json b/packages/babel-preset-env/test/fixtures/preset-options/modules-cjs/options.json index e77c229268..8ae14a642d 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/modules-cjs/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/modules-cjs/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": "cjs" - }] + [ + "../../../../lib", + { + "modules": "cjs" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/modules-commonjs/options.json b/packages/babel-preset-env/test/fixtures/preset-options/modules-commonjs/options.json index fa7dc2fe4c..7d1f12f2fc 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/modules-commonjs/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/modules-commonjs/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": "commonjs" - }] + [ + "../../../../lib", + { + "modules": "commonjs" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/modules-false/options.json b/packages/babel-preset-env/test/fixtures/preset-options/modules-false/options.json index 1f29c71c16..8700f8c4d6 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/modules-false/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/modules-false/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": false - }] + [ + "../../../../lib", + { + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/modules-systemjs/options.json b/packages/babel-preset-env/test/fixtures/preset-options/modules-systemjs/options.json index bf0180f31f..a441e7b82c 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/modules-systemjs/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/modules-systemjs/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": "systemjs" - }] + [ + "../../../../lib", + { + "modules": "systemjs" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/modules-umd/options.json b/packages/babel-preset-env/test/fixtures/preset-options/modules-umd/options.json index 2550ff91f1..18b39b6fa2 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/modules-umd/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/modules-umd/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": "umd" - }] + [ + "../../../../lib", + { + "modules": "umd" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/no-options/options.json b/packages/babel-preset-env/test/fixtures/preset-options/no-options/options.json index 84a75e8721..e6645e19b6 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/no-options/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/no-options/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "../../../../lib" - ] + "presets": ["../../../../lib"] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/no-transform/options.json b/packages/babel-preset-env/test/fixtures/preset-options/no-transform/options.json index c8b43a8de0..993ea7009f 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/no-transform/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/no-transform/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": "55" - }, - "modules": false, - "useBuiltIns": "usage" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": "55" + }, + "modules": false, + "useBuiltIns": "usage" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/safari-tp-browsers/options.json b/packages/babel-preset-env/test/fixtures/preset-options/safari-tp-browsers/options.json index 99be2bf1a3..1a2ac1b59d 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/safari-tp-browsers/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/safari-tp-browsers/options.json @@ -1,11 +1,13 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "browsers": "safari tp" - }, - "shippedProposals": true - } - ] + [ + "../../../../lib", + { + "targets": { + "browsers": "safari tp" + }, + "shippedProposals": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/safari-tp/options.json b/packages/babel-preset-env/test/fixtures/preset-options/safari-tp/options.json index 03d076914c..aa7229719b 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/safari-tp/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/safari-tp/options.json @@ -1,10 +1,13 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "safari": "tp" - }, - "shippedProposals": true - }] + [ + "../../../../lib", + { + "targets": { + "safari": "tp" + }, + "shippedProposals": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-entry/options.json b/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-entry/options.json index 8a799417be..c5b86606ca 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-entry/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-entry/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "shippedProposals": true, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "shippedProposals": true, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-usage/options.json b/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-usage/options.json index c67678705d..1f13f288b9 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-usage/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals-use-builtins-usage/options.json @@ -1,9 +1,12 @@ { "sourceType": "module", "presets": [ - ["../../../../lib", { - "shippedProposals": true, - "useBuiltIns": "usage" - }] + [ + "../../../../lib", + { + "shippedProposals": true, + "useBuiltIns": "usage" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals/options.json b/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals/options.json index 897e16fb7c..0b8df73444 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/shippedProposals/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "shippedProposals": true - }] + [ + "../../../../lib", + { + "shippedProposals": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/spec/options.json b/packages/babel-preset-env/test/fixtures/preset-options/spec/options.json index 8aefcdc8ed..7d73fcdc98 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/spec/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/spec/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "spec": true - }] + [ + "../../../../lib", + { + "spec": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/targets-as-object/options.json b/packages/babel-preset-env/test/fixtures/preset-options/targets-as-object/options.json index ad464f5e61..7a0a4baf72 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/targets-as-object/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/targets-as-object/options.json @@ -1,10 +1,13 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": "55" - }, - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "chrome": "55" + }, + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/targets-as-string/options.json b/packages/babel-preset-env/test/fixtures/preset-options/targets-as-string/options.json index 3f0564700a..e212d72717 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/targets-as-string/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/targets-as-string/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "targets": "chrome 55", - "modules": false - }] + [ + "../../../../lib", + { + "targets": "chrome 55", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-all/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-all/options.json index 21eec2f1a1..315805ef81 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-all/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-all/options.json @@ -1,8 +1,11 @@ { "presets": [ - ["../../../../lib", { - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-48/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-48/options.json index c975d957a6..24aed40ad1 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-48/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-48/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 48 - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 48 + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-49/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-49/options.json index 0570d4dc43..c1d306666c 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-49/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-49/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 49 - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 49 + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-66/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-66/options.json index 11ae07972e..70efcddddc 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-66/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chrome-66/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": "66" - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": "66" + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chromeandroid/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chromeandroid/options.json index 9a973f7d8f..463fc50978 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chromeandroid/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-chromeandroid/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "browsers": "chromeandroid 59" - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "browsers": "chromeandroid 59" + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-ie-9/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-ie-9/options.json index 9f6cf02b9a..cb0e9069ff 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-ie-9/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-ie-9/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "ie": 9 - }, - "modules": false, - "useBuiltIns": "entry", - "modules": false - }] + [ + "../../../../lib", + { + "targets": { + "ie": 9 + }, + "modules": false, + "useBuiltIns": "entry", + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-import/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-import/options.json index 7c15d7db40..6053ab0e29 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-import/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-import/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": 55 - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": 55 + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node-web/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node-web/options.json index 1d3af8c462..594b2443f2 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node-web/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node-web/options.json @@ -1,13 +1,16 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": "55", - "node": "7.6" - }, - "modules": false, - "useBuiltIns": "entry", - "forceAllTransforms": true - }] + [ + "../../../../lib", + { + "targets": { + "chrome": "55", + "node": "7.6" + }, + "modules": false, + "useBuiltIns": "entry", + "forceAllTransforms": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node/options.json index 339ba8f3a6..f4e793dddf 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-node/options.json @@ -1,12 +1,15 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "node": "7.6" - }, - "modules": false, - "useBuiltIns": "entry", - "forceAllTransforms": true - }] + [ + "../../../../lib", + { + "targets": { + "node": "7.6" + }, + "modules": false, + "useBuiltIns": "entry", + "forceAllTransforms": true + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-require/options.json b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-require/options.json index a31ebe2f8e..1e2b3ea2c1 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-require/options.json +++ b/packages/babel-preset-env/test/fixtures/preset-options/use-builtins-require/options.json @@ -1,11 +1,14 @@ { "presets": [ - ["../../../../lib", { - "targets": { - "chrome": "55" - }, - "modules": false, - "useBuiltIns": "entry" - }] + [ + "../../../../lib", + { + "targets": { + "chrome": "55" + }, + "modules": false, + "useBuiltIns": "entry" + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/sanity/block-scoping-for-of/options.json b/packages/babel-preset-env/test/fixtures/sanity/block-scoping-for-of/options.json index 1f29c71c16..8700f8c4d6 100644 --- a/packages/babel-preset-env/test/fixtures/sanity/block-scoping-for-of/options.json +++ b/packages/babel-preset-env/test/fixtures/sanity/block-scoping-for-of/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": false - }] + [ + "../../../../lib", + { + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/sanity/check-es2015-constants/options.json b/packages/babel-preset-env/test/fixtures/sanity/check-es2015-constants/options.json index 25bb3f6508..88523b8c6f 100644 --- a/packages/babel-preset-env/test/fixtures/sanity/check-es2015-constants/options.json +++ b/packages/babel-preset-env/test/fixtures/sanity/check-es2015-constants/options.json @@ -1,6 +1,4 @@ { - "presets": [ - ["../../../../lib"] - ], + "presets": [["../../../../lib"]], "throws": "\"one\" is read-only" } diff --git a/packages/babel-preset-env/test/fixtures/sanity/regex-dot-all/options.json b/packages/babel-preset-env/test/fixtures/sanity/regex-dot-all/options.json index 1f29c71c16..8700f8c4d6 100644 --- a/packages/babel-preset-env/test/fixtures/sanity/regex-dot-all/options.json +++ b/packages/babel-preset-env/test/fixtures/sanity/regex-dot-all/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": false - }] + [ + "../../../../lib", + { + "modules": false + } + ] ] } diff --git a/packages/babel-preset-env/test/fixtures/sanity/transform-duplicate-keys/options.json b/packages/babel-preset-env/test/fixtures/sanity/transform-duplicate-keys/options.json index 1f29c71c16..8700f8c4d6 100644 --- a/packages/babel-preset-env/test/fixtures/sanity/transform-duplicate-keys/options.json +++ b/packages/babel-preset-env/test/fixtures/sanity/transform-duplicate-keys/options.json @@ -1,7 +1,10 @@ { "presets": [ - ["../../../../lib", { - "modules": false - }] + [ + "../../../../lib", + { + "modules": false + } + ] ] } diff --git a/packages/babel-preset-flow/test/fixtures/flow/options.json b/packages/babel-preset-flow/test/fixtures/flow/options.json index a896013492..4285ecfa9a 100644 --- a/packages/babel-preset-flow/test/fixtures/flow/options.json +++ b/packages/babel-preset-flow/test/fixtures/flow/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "flow" - ] + "presets": ["flow"] } diff --git a/packages/babel-preset-react/test/fixtures/preset-options/development/options.json b/packages/babel-preset-react/test/fixtures/preset-options/development/options.json index 5ce6ee2080..20fb8a7d4b 100644 --- a/packages/babel-preset-react/test/fixtures/preset-options/development/options.json +++ b/packages/babel-preset-react/test/fixtures/preset-options/development/options.json @@ -1,5 +1,3 @@ { - "presets": [ - ["react", { "development": true }] - ] + "presets": [["react", { "development": true }]] } diff --git a/packages/babel-preset-react/test/fixtures/preset-options/empty-options/options.json b/packages/babel-preset-react/test/fixtures/preset-options/empty-options/options.json index 2f5fa2457b..33f84fa2ea 100644 --- a/packages/babel-preset-react/test/fixtures/preset-options/empty-options/options.json +++ b/packages/babel-preset-react/test/fixtures/preset-options/empty-options/options.json @@ -1,5 +1,3 @@ { - "presets": [ - ["react", {}] - ] + "presets": [["react", {}]] } diff --git a/packages/babel-preset-react/test/fixtures/preset-options/no-options/options.json b/packages/babel-preset-react/test/fixtures/preset-options/no-options/options.json index 2e9146fee1..12d195e58b 100644 --- a/packages/babel-preset-react/test/fixtures/preset-options/no-options/options.json +++ b/packages/babel-preset-react/test/fixtures/preset-options/no-options/options.json @@ -1,5 +1,3 @@ { - "presets": [ - "react" - ] + "presets": ["react"] } diff --git a/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json b/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json index d0b66c6872..e91f37cda8 100644 --- a/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json +++ b/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json @@ -1,8 +1,4 @@ { - "presets": [ - ["flow", {}, "before"], - "typescript", - ["flow", {}, "after"] - ], + "presets": [["flow", {}, "before"], "typescript", ["flow", {}, "after"]], "throws": "enum is a reserved word (1:0)" } diff --git a/packages/babel-preset-typescript/test/fixtures/flow-compat/options.json b/packages/babel-preset-typescript/test/fixtures/flow-compat/options.json index 751ac537f6..2901adef57 100644 --- a/packages/babel-preset-typescript/test/fixtures/flow-compat/options.json +++ b/packages/babel-preset-typescript/test/fixtures/flow-compat/options.json @@ -1,7 +1,3 @@ { - "presets": [ - ["flow", {}, "before"], - "typescript", - ["flow", {}, "after"] - ] + "presets": [["flow", {}, "before"], "typescript", ["flow", {}, "after"]] } diff --git a/packages/babel-preset-typescript/test/fixtures/flow-compat/ts-invalid/options.json b/packages/babel-preset-typescript/test/fixtures/flow-compat/ts-invalid/options.json index 8d8c5f54b6..8401da8eb4 100644 --- a/packages/babel-preset-typescript/test/fixtures/flow-compat/ts-invalid/options.json +++ b/packages/babel-preset-typescript/test/fixtures/flow-compat/ts-invalid/options.json @@ -1,8 +1,4 @@ { - "presets": [ - ["flow", {}, "before"], - "typescript", - ["flow", {}, "after"] - ], + "presets": [["flow", {}, "before"], "typescript", ["flow", {}, "after"]], "throws": "Unexpected token (1:12)" } diff --git a/packages/babel-preset-typescript/test/fixtures/flow-compat/tsx-invalid/options.json b/packages/babel-preset-typescript/test/fixtures/flow-compat/tsx-invalid/options.json index 8d8c5f54b6..8401da8eb4 100644 --- a/packages/babel-preset-typescript/test/fixtures/flow-compat/tsx-invalid/options.json +++ b/packages/babel-preset-typescript/test/fixtures/flow-compat/tsx-invalid/options.json @@ -1,8 +1,4 @@ { - "presets": [ - ["flow", {}, "before"], - "typescript", - ["flow", {}, "after"] - ], + "presets": [["flow", {}, "before"], "typescript", ["flow", {}, "after"]], "throws": "Unexpected token (1:12)" } diff --git a/packages/babel-preset-typescript/test/fixtures/jsx-compat/options.json b/packages/babel-preset-typescript/test/fixtures/jsx-compat/options.json index 936cecb47c..a356e87115 100644 --- a/packages/babel-preset-typescript/test/fixtures/jsx-compat/options.json +++ b/packages/babel-preset-typescript/test/fixtures/jsx-compat/options.json @@ -1,7 +1,3 @@ { - "presets": [ - ["react", {}, "before"], - "typescript", - ["react", {}, "after"] - ] + "presets": [["react", {}, "before"], "typescript", ["react", {}, "after"]] } diff --git a/packages/babel-preset-typescript/test/fixtures/jsx-compat/ts-invalid/options.json b/packages/babel-preset-typescript/test/fixtures/jsx-compat/ts-invalid/options.json index c157cc517b..345e1f87c9 100644 --- a/packages/babel-preset-typescript/test/fixtures/jsx-compat/ts-invalid/options.json +++ b/packages/babel-preset-typescript/test/fixtures/jsx-compat/ts-invalid/options.json @@ -1,8 +1,4 @@ { - "presets": [ - ["react", {}, "before"], - "typescript", - ["react", {}, "after"] - ], + "presets": [["react", {}, "before"], "typescript", ["react", {}, "after"]], "throws": "Unexpected token, expected \"\" (1:6)" } diff --git a/packages/babel-traverse/test/fixtures/rename/property-rename-with-export/options.json b/packages/babel-traverse/test/fixtures/rename/property-rename-with-export/options.json index 0eae94b9f5..26c88b8271 100644 --- a/packages/babel-traverse/test/fixtures/rename/property-rename-with-export/options.json +++ b/packages/babel-traverse/test/fixtures/rename/property-rename-with-export/options.json @@ -1,5 +1,3 @@ { - "plugins": [ - "transform-function-name" - ] + "plugins": ["transform-function-name"] }