From 87a79d9cd056413b7691962868be201b4ee7b9a5 Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Fri, 6 Sep 2024 12:02:46 +0000 Subject: [PATCH] test(transformer): add trailing line breaks to conformance fixtures (#5537) Currently whether conformance fixture files have trailing line breaks is inconsistent - some have them, some don't. Make all of them have a trailing line break. --- .../test/fixtures/use-this-inside-blocks/input.js | 2 +- .../test/fixtures/use-this-inside-blocks/output.js | 2 +- .../test/fixtures/try-catch-shadow/input.js | 2 +- .../test/fixtures/try-catch-shadow/output.js | 2 +- .../refresh/can-handle-implicit-arrow-returns/input.jsx | 2 +- .../refresh/can-handle-implicit-arrow-returns/output.js | 2 +- .../does-not-consider-require-like-methods-to-be-hocs/input.jsx | 2 +- .../fixtures/refresh/does-not-get-tripped-by-iifes/input.jsx | 2 +- .../input.jsx | 2 +- .../input.jsx | 2 +- .../output.js | 2 +- .../input.jsx | 2 +- .../test/fixtures/refresh/ignores-complex-definitions/input.jsx | 2 +- .../ignores-higher-order-functions-that-are-not-hocs/input.jsx | 2 +- .../test/fixtures/refresh/ignores-hoc-definitions/input.jsx | 2 +- .../refresh/ignores-unnamed-function-declarations/input.jsx | 2 +- .../refresh/ignores-unnamed-function-declarations/output.js | 2 +- .../input.jsx | 2 +- .../options.json | 2 +- .../refresh/includes-custom-hooks-into-the-signatures/input.jsx | 2 +- .../refresh/only-registers-pascal-case-functions/input.jsx | 2 +- .../refresh/only-registers-pascal-case-functions/output.js | 2 +- .../registers-capitalized-identifiers-in-hoc-calls/input.jsx | 2 +- .../input.jsx | 2 +- .../input.jsx | 2 +- .../output.js | 2 +- .../registers-likely-hocs-with-inline-functions-1/input.jsx | 2 +- .../registers-likely-hocs-with-inline-functions-2/input.jsx | 2 +- .../registers-likely-hocs-with-inline-functions-2/output.js | 2 +- .../registers-likely-hocs-with-inline-functions-3/input.jsx | 2 +- .../input.jsx | 2 +- .../output.js | 2 +- .../input.jsx | 2 +- .../refresh/registers-top-level-function-declarations/input.jsx | 2 +- .../refresh/registers-top-level-function-declarations/output.js | 2 +- .../input.jsx | 2 +- .../input.jsx | 2 +- .../refresh/supports-typescript-namespace-syntax/input.tsx | 2 +- .../refresh/supports-typescript-namespace-syntax/output.ts | 2 +- .../input.jsx | 2 +- .../input.jsx | 2 +- .../test/fixtures/computed-constant-value/output.js | 2 +- .../test/fixtures/elimination-declare/input.ts | 2 +- .../test/fixtures/elimination-declare/output.js | 2 +- .../test/fixtures/enum-member-reference/output.js | 2 +- .../test/fixtures/export-elimination/input.ts | 2 +- .../test/fixtures/export-elimination/output.ts | 2 +- .../test/fixtures/redeclarations/input.ts | 2 +- .../test/fixtures/redeclarations/output.js | 1 - .../test/fixtures/all-regex-plugins-enabled-by-targets/input.js | 2 +- .../fixtures/all-regex-plugins-enabled-by-targets/output.js | 2 +- .../tests/regexp/test/fixtures/igm/input.js | 2 +- .../tests/regexp/test/fixtures/igm/options.json | 2 +- .../tests/regexp/test/fixtures/igm/output.js | 2 +- .../tests/regexp/test/fixtures/transform-dotall-regex/input.js | 2 +- .../tests/regexp/test/fixtures/transform-dotall-regex/output.js | 2 +- .../tests/regexp/test/fixtures/transform-sticky-regex/input.js | 2 +- .../tests/regexp/test/fixtures/transform-unicode-regex/input.js | 2 +- .../regexp/test/fixtures/transform-unicode-sets-regex/output.js | 2 +- 59 files changed, 58 insertions(+), 59 deletions(-) diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/input.js b/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/input.js index 56bbc2c6851bc..ad9f1332c9e54 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/input.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/input.js @@ -1,4 +1,4 @@ function foo() { { let f = () => this; } { let f2 = () => this; } -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/output.js index 189f758562f1a..081da1e1183b0 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-arrow-functions/test/fixtures/use-this-inside-blocks/output.js @@ -10,4 +10,4 @@ function foo() { return _this; }; } -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/input.js b/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/input.js index 41ada5aa08765..91738a17357ac 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/input.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/input.js @@ -3,4 +3,4 @@ try { throw 0; } catch { console.log(_unused); -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/output.js index 2c90680df6d8d..5b4b775938524 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-optional-catch-binding/test/fixtures/try-catch-shadow/output.js @@ -3,4 +3,4 @@ try { throw 0; } catch (_unused2) { console.log(_unused); -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/input.jsx index b45dbe7683553..ce54d010ffbad 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/input.jsx @@ -3,4 +3,4 @@ export const Foo = () => useContext(X); module.exports = () => useContext(X); const Bar = () => useContext(X); const Baz = memo(() => useContext(X)); -const Qux = () => (0, useContext(X)); \ No newline at end of file +const Qux = () => (0, useContext(X)); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/output.js index 51263c7e327b2..bf2d4b49ca4f1 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/can-handle-implicit-arrow-returns/output.js @@ -35,4 +35,4 @@ $RefreshReg$(_c, "Foo"); $RefreshReg$(_c2, "Bar"); $RefreshReg$(_c3, "Baz$memo"); $RefreshReg$(_c4, "Baz"); -$RefreshReg$(_c5, "Qux"); \ No newline at end of file +$RefreshReg$(_c5, "Qux"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-consider-require-like-methods-to-be-hocs/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-consider-require-like-methods-to-be-hocs/input.jsx index d55ce48f47911..6489fd2d682c8 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-consider-require-like-methods-to-be-hocs/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-consider-require-like-methods-to-be-hocs/input.jsx @@ -18,4 +18,4 @@ export default function App() { ); -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-get-tripped-by-iifes/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-get-tripped-by-iifes/input.jsx index 089c664700653..95bb0f1604e36 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-get-tripped-by-iifes/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/does-not-get-tripped-by-iifes/input.jsx @@ -2,4 +2,4 @@ while (item) { (item => { useFoo(); })(item); -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-declarations-calling-hooks/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-declarations-calling-hooks/input.jsx index 4a8b072c8b307..0afdc8ac877dd 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-declarations-calling-hooks/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-declarations-calling-hooks/input.jsx @@ -2,4 +2,4 @@ export default function App() { const [foo, setFoo] = useState(0); React.useEffect(() => {}); return

{foo}

; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/input.jsx index 95c88048f02d1..681bb28c9459f 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/input.jsx @@ -24,4 +24,4 @@ function hoc() { }; } -export let C = hoc(); \ No newline at end of file +export let C = hoc(); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/output.js index dba04069c6236..3a8f74e62c774 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-signatures-for-function-expressions-calling-hooks/output.js @@ -39,4 +39,4 @@ $RefreshReg$(_c2, "A$React.memo"); $RefreshReg$(_c3, "A"); $RefreshReg$(_c4, "B$React.memo$React.forwardRef"); $RefreshReg$(_c5, "B$React.memo"); -$RefreshReg$(_c6, "B"); \ No newline at end of file +$RefreshReg$(_c6, "B"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx index ae402c002909b..d06e653ec6bc4 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx @@ -11,4 +11,4 @@ export default function App() { React.useState(); useThePlatform(); return

{bar}{baz}

; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-complex-definitions/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-complex-definitions/input.jsx index bd4daf1e61b18..c66bc3cc3405d 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-complex-definitions/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-complex-definitions/input.jsx @@ -9,4 +9,4 @@ let C = () => () => { }; let D = bar && (() => { return

Hi

; -}); \ No newline at end of file +}); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-higher-order-functions-that-are-not-hocs/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-higher-order-functions-that-are-not-hocs/input.jsx index 1697a276ca95c..9ee945c95e465 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-higher-order-functions-that-are-not-hocs/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-higher-order-functions-that-are-not-hocs/input.jsx @@ -4,4 +4,4 @@ const throttledAlert = throttle(function() { const TooComplex = (function() { return hello })(() => {}); if (cond) { const Foo = thing(() => {}); -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-hoc-definitions/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-hoc-definitions/input.jsx index c08c8660ac999..c9028bf5ce9b8 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-hoc-definitions/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-hoc-definitions/input.jsx @@ -14,4 +14,4 @@ function withRouter() { const handleClick = () => {}; return

Hi

; } -}; \ No newline at end of file +}; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/input.jsx index 421474fe3c0e7..6ab80bc8d76f7 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/input.jsx @@ -1 +1 @@ -export default function() {} \ No newline at end of file +export default function() {} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/output.js index 421474fe3c0e7..6ab80bc8d76f7 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/ignores-unnamed-function-declarations/output.js @@ -1 +1 @@ -export default function() {} \ No newline at end of file +export default function() {} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/input.jsx index 2adf1cfda72fe..8cef8d8eebe39 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/input.jsx @@ -5,4 +5,4 @@ import {useFancyState} from './hooks'; export default function App() { const bar = useFancyState(); return

{bar}

; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/options.json b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/options.json index 41d36d77150ed..c4115d11d670b 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/options.json +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures-when-commonjs-target-is-used/options.json @@ -10,4 +10,4 @@ "transform-modules-commonjs" ] ] -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures/input.jsx index a7274ad7eef5e..abcbe68531df0 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/includes-custom-hooks-into-the-signatures/input.jsx @@ -11,4 +11,4 @@ const useFancyEffect = () => { export default function App() { const bar = useFancyState(); return

{bar}

; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/input.jsx index 5206a2ea76378..490c7f8fc5907 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/input.jsx @@ -1,3 +1,3 @@ function hello() { return 2 * 2; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/output.js index 5206a2ea76378..490c7f8fc5907 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/only-registers-pascal-case-functions/output.js @@ -1,3 +1,3 @@ function hello() { return 2 * 2; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-capitalized-identifiers-in-hoc-calls/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-capitalized-identifiers-in-hoc-calls/input.jsx index 7929fdb34ab5e..bb6b54835535c 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-capitalized-identifiers-in-hoc-calls/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-capitalized-identifiers-in-hoc-calls/input.jsx @@ -4,4 +4,4 @@ function Foo() { export default hoc(Foo); export const A = hoc(Foo); -const B = hoc(Foo); \ No newline at end of file +const B = hoc(Foo); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx index 9208808c6ce4c..ab226b6a2f067 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx @@ -27,4 +27,4 @@ function Foo() { const B = hoc(A); // This is currently registered as a false positive: const NotAComponent = wow(A); -// We could avoid it but it also doesn't hurt. \ No newline at end of file +// We could avoid it but it also doesn't hurt. diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx index 12b02ebb14cbe..f745fbd903cea 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx @@ -37,4 +37,4 @@ React.createContext(Store); const B = hoc(A); // This is currently registered as a false positive: const NotAComponent = wow(A); -// We could avoid it but it also doesn't hurt. \ No newline at end of file +// We could avoid it but it also doesn't hurt. diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/output.js index f731e51d6bb09..77b8130cde4fe 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-identifiers-used-in-react-create-element-at-definition-site/output.js @@ -29,4 +29,4 @@ $RefreshReg$(_c3, "StyledFactory2"); $RefreshReg$(_c4, "StyledFactory3"); $RefreshReg$(_c5, "Foo"); $RefreshReg$(_c6, "B"); -$RefreshReg$(_c7, "NotAComponent"); \ No newline at end of file +$RefreshReg$(_c7, "NotAComponent"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-1/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-1/input.jsx index 0f68d2db05e13..2412f36b52e75 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-1/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-1/input.jsx @@ -6,4 +6,4 @@ const B = memo(React.forwardRef(() => { })); export default React.memo(forwardRef((props, ref) => { return

Foo

; -})); \ No newline at end of file +})); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/input.jsx index 20aa196d47bb6..ca0283401bb9f 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/input.jsx @@ -1,3 +1,3 @@ export default React.memo(forwardRef(function (props, ref) { return

Foo

; -})); \ No newline at end of file +})); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/output.js index 6148fce4645c6..06bd373352804 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-2/output.js @@ -5,4 +5,4 @@ export default _c3 = React.memo(_c2 = forwardRef(_c = function(props, ref) { var _c, _c2, _c3; $RefreshReg$(_c, "%default%$React.memo$forwardRef"); $RefreshReg$(_c2, "%default%$React.memo"); -$RefreshReg$(_c3, "%default%"); \ No newline at end of file +$RefreshReg$(_c3, "%default%"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-3/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-3/input.jsx index bc646b5b624aa..6a0c013be64eb 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-3/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-likely-hocs-with-inline-functions-3/input.jsx @@ -1,3 +1,3 @@ export default React.memo(forwardRef(function Named(props, ref) { return

Foo

; -})); \ No newline at end of file +})); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/input.jsx index f76b06ca29de4..5e60090942341 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/input.jsx @@ -15,4 +15,4 @@ const NotAComp = 'hi'; export { Baz, NotAComp }; export function sum() {} -export const Bad = 42; \ No newline at end of file +export const Bad = 42; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/output.js index f81fa11b93d66..438d336371d2e 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-function-declarations/output.js @@ -24,4 +24,4 @@ var _c, _c2, _c3; $RefreshReg$(_c, "Hello"); $RefreshReg$(_c2, "Bar"); -$RefreshReg$(_c3, "Baz"); \ No newline at end of file +$RefreshReg$(_c3, "Baz"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-named-arrow-functions/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-named-arrow-functions/input.jsx index 5913c23561eec..9b300ec517b16 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-named-arrow-functions/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-exported-named-arrow-functions/input.jsx @@ -9,4 +9,4 @@ export default () => { // This one should be ignored. // You should name your components. return ; -}; \ No newline at end of file +}; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/input.jsx index 62e99f5afdce5..05414dc6a33bd 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/input.jsx @@ -5,4 +5,4 @@ function Hello() { function Bar() { return ; -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/output.js index be4ca90c05950..806a74bac5d94 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-function-declarations/output.js @@ -20,4 +20,4 @@ _c2 = Bar; var _c, _c2; $RefreshReg$(_c, "Hello"); -$RefreshReg$(_c2, "Bar"); \ No newline at end of file +$RefreshReg$(_c2, "Bar"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-arrow-functions/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-arrow-functions/input.jsx index 11f8cd8285b03..8f621564847a0 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-arrow-functions/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-arrow-functions/input.jsx @@ -7,4 +7,4 @@ const Bar = () => { return ; }; var Baz = () =>
; -var sum = () => {}; \ No newline at end of file +var sum = () => {}; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-function-expressions/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-function-expressions/input.jsx index 03ad5077ccca0..2de72c0233053 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-function-expressions/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/registers-top-level-variable-declarations-with-function-expressions/input.jsx @@ -9,4 +9,4 @@ const Bar = function Baz() { }; function sum() {} let Baz = 10; -var Qux; \ No newline at end of file +var Qux; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx index dcd54f8394dd3..24305cb96927d 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/input.tsx @@ -12,4 +12,4 @@ namespace Foo { namespace NotExported { export const E = () => {}; } -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/output.ts b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/output.ts index 9669ed9bc8676..aa983f96406ea 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/output.ts +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/supports-typescript-namespace-syntax/output.ts @@ -22,4 +22,4 @@ var _c, _c2, _c3, _c4; $RefreshReg$(_c, "Foo$Bar$A"); $RefreshReg$(_c2, "Foo$Bar$B"); $RefreshReg$(_c3, "Foo$C"); -$RefreshReg$(_c4, "Foo$D"); \ No newline at end of file +$RefreshReg$(_c4, "Foo$D"); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-custom-identifiers-for-refresh-reg-and-refresh-sig/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-custom-identifiers-for-refresh-reg-and-refresh-sig/input.jsx index 7e871cb8dc04d..c7476d92142ef 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-custom-identifiers-for-refresh-reg-and-refresh-sig/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-custom-identifiers-for-refresh-reg-and-refresh-sig/input.jsx @@ -1,4 +1,4 @@ export default function Bar () { useContext(X) return -}; \ No newline at end of file +}; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-original-function-declaration-if-it-get-reassigned/input.jsx b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-original-function-declaration-if-it-get-reassigned/input.jsx index 82a86d5fbd52d..f714958503472 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-original-function-declaration-if-it-get-reassigned/input.jsx +++ b/tasks/transform_conformance/tests/babel-plugin-transform-react-jsx/test/fixtures/refresh/uses-original-function-declaration-if-it-get-reassigned/input.jsx @@ -1,4 +1,4 @@ function Hello() { return

Hi

; } -Hello = connect(Hello); \ No newline at end of file +Hello = connect(Hello); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/output.js index 58f370ac797a2..a5ad2e5026267 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/computed-constant-value/output.js @@ -25,4 +25,4 @@ var D = /*#__PURE__*/function (D) { D[D["b"] = NaN] = "b"; D[D["c"] = -1] = "c"; return D; -}(D || {}); \ No newline at end of file +}(D || {}); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/input.ts b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/input.ts index 3ef5553b39053..31ec41c873632 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/input.ts +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/input.ts @@ -4,4 +4,4 @@ export declare class ReactiveMarker { private [ReactiveMarkerSymbol]?: void } -export declare const A = 1 \ No newline at end of file +export declare const A = 1 diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/output.js index 8cec2e9ced0d3..cb0ff5c3b541f 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/elimination-declare/output.js @@ -1 +1 @@ -export {}; \ No newline at end of file +export {}; diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/enum-member-reference/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/enum-member-reference/output.js index 8dcfa9feeba4b..a963366508ed9 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/enum-member-reference/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/enum-member-reference/output.js @@ -4,4 +4,4 @@ var Foo = function(Foo) { Foo[Foo['b'] = 10] = 'b'; Foo[Foo['c'] = Foo.b + x] = 'c'; return Foo; -}(Foo || {}); \ No newline at end of file +}(Foo || {}); diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts index 65b1e6efb0b52..ea0cd8d051f99 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/input.ts @@ -14,4 +14,4 @@ type T = number; function T(): T { return 123; } -export { T } \ No newline at end of file +export { T } diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/output.ts b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/output.ts index 6e60c70871b10..c15ddb40633e6 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/output.ts +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/export-elimination/output.ts @@ -12,4 +12,4 @@ export { Im, Ok, Foo, Bar, Func, Name }; function T() { return 123; } -export { T } \ No newline at end of file +export { T } diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/input.ts b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/input.ts index 71e25715aa552..353b051df4520 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/input.ts +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/input.ts @@ -12,4 +12,4 @@ export { T } import { B } from './b'; const B: B = 0; type B = number; -export { B } \ No newline at end of file +export { B } diff --git a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/output.js b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/output.js index cd77114c9598b..7917f4efd4c9e 100644 --- a/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/output.js +++ b/tasks/transform_conformance/tests/babel-plugin-transform-typescript/test/fixtures/redeclarations/output.js @@ -9,4 +9,3 @@ export { T }; // CASE 3: redeclaration of VariableDeclaration and TypeAlias const B = 0; export { B }; - diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/input.js b/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/input.js index 450f6d384ba54..31519d315e94c 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/input.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/input.js @@ -21,4 +21,4 @@ d1 = /\p{Emoji}/u f1 = /y/d // ES2024 // RegExpSetNotation -g1 = /[\p{White_Space}&&\p{ASCII}]/v \ No newline at end of file +g1 = /[\p{White_Space}&&\p{ASCII}]/v diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/output.js b/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/output.js index 8226e9420d3b4..c430be659e84f 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/output.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/all-regex-plugins-enabled-by-targets/output.js @@ -9,4 +9,4 @@ c1 = new RegExp("(?b)", ""); c2 = new RegExp("((?d)){4}", ""); d1 = new RegExp("\\p{Emoji}", "u"); f1 = new RegExp("y", "d"); -g1 = new RegExp("[\\p{White_Space}&&\\p{ASCII}]", "v"); \ No newline at end of file +g1 = new RegExp("[\\p{White_Space}&&\\p{ASCII}]", "v"); diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/igm/input.js b/tasks/transform_conformance/tests/regexp/test/fixtures/igm/input.js index c994ef95d528c..2bcf92fdf30f8 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/igm/input.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/igm/input.js @@ -1 +1 @@ -a1 = /a.b/igm; \ No newline at end of file +a1 = /a.b/igm; diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/igm/options.json b/tasks/transform_conformance/tests/regexp/test/fixtures/igm/options.json index c871da605e38c..ec3370903d9ee 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/igm/options.json +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/igm/options.json @@ -6,4 +6,4 @@ } }] ] -} \ No newline at end of file +} diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/igm/output.js b/tasks/transform_conformance/tests/regexp/test/fixtures/igm/output.js index c994ef95d528c..2bcf92fdf30f8 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/igm/output.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/igm/output.js @@ -1 +1 @@ -a1 = /a.b/igm; \ No newline at end of file +a1 = /a.b/igm; diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/input.js b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/input.js index e529a74bf2ac9..e18925a75bb4d 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/input.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/input.js @@ -1 +1 @@ -a1 = /a.b/s \ No newline at end of file +a1 = /a.b/s diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/output.js b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/output.js index 15fdf4bdc57e9..d8e8983d266d4 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/output.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-dotall-regex/output.js @@ -1 +1 @@ -a1 = new RegExp("a.b", "s"); \ No newline at end of file +a1 = new RegExp("a.b", "s"); diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-sticky-regex/input.js b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-sticky-regex/input.js index 5ef23ff8beb04..697f1c9e30862 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-sticky-regex/input.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-sticky-regex/input.js @@ -1 +1 @@ -x1 = /./y \ No newline at end of file +x1 = /./y diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-regex/input.js b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-regex/input.js index eb14085e948a9..b7f15eee860d3 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-regex/input.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-regex/input.js @@ -1 +1 @@ -x2 = /./u \ No newline at end of file +x2 = /./u diff --git a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-sets-regex/output.js b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-sets-regex/output.js index de413b03d2c08..ffd632c5f4abf 100644 --- a/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-sets-regex/output.js +++ b/tasks/transform_conformance/tests/regexp/test/fixtures/transform-unicode-sets-regex/output.js @@ -1 +1 @@ -g1 = new RegExp("[\\p{White_Space}&&\\p{ASCII}]", "v"); \ No newline at end of file +g1 = new RegExp("[\\p{White_Space}&&\\p{ASCII}]", "v");