diff --git a/crates/oxc_isolated_declarations/tests/fixtures/arrow-function-return-type.ts b/crates/oxc_isolated_declarations/tests/fixtures/arrow-function-return-type.ts index a188069a3..5367a3ac6 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/arrow-function-return-type.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/arrow-function-return-type.ts @@ -8,4 +8,4 @@ const B = () => { return B }; const C = function () {} -const D = () => `${''}`; \ No newline at end of file +const D = () => `${''}`; diff --git a/crates/oxc_isolated_declarations/tests/fixtures/as-const.ts b/crates/oxc_isolated_declarations/tests/fixtures/as-const.ts index b9638532c..6f1fbe554 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/as-const.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/as-const.ts @@ -13,4 +13,4 @@ const F = { b: `b` }, array: [`a`, , { b: `\n` }], -} as const \ No newline at end of file +} as const diff --git a/crates/oxc_isolated_declarations/tests/fixtures/async-function.ts b/crates/oxc_isolated_declarations/tests/fixtures/async-function.ts index b1a8d9a6a..0087316ed 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/async-function.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/async-function.ts @@ -25,4 +25,4 @@ class AsyncClassBad { async method() { return 42; } -} \ No newline at end of file +} diff --git a/crates/oxc_isolated_declarations/tests/fixtures/declare-global.ts b/crates/oxc_isolated_declarations/tests/fixtures/declare-global.ts index fd994c73d..490fbc14e 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/declare-global.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/declare-global.ts @@ -8,4 +8,4 @@ declare global { } } -export {} \ No newline at end of file +export {} diff --git a/crates/oxc_isolated_declarations/tests/fixtures/eliminate-imports.ts b/crates/oxc_isolated_declarations/tests/fixtures/eliminate-imports.ts index eccce3d1e..a6bdc391e 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/eliminate-imports.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/eliminate-imports.ts @@ -8,4 +8,4 @@ export const bar: (this: ThisType2) => void = function() {} import { type InferType1, type InferType2 } from 'infer'; -export type F = X extends infer U extends InferType2 ? U : never \ No newline at end of file +export type F = X extends infer U extends InferType2 ? U : never diff --git a/crates/oxc_isolated_declarations/tests/fixtures/empty-export.ts b/crates/oxc_isolated_declarations/tests/fixtures/empty-export.ts index 4d1ef02d3..0b8a0adab 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/empty-export.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/empty-export.ts @@ -1,4 +1,4 @@ type A = string; export function a(): A { return "" -} \ No newline at end of file +} diff --git a/crates/oxc_isolated_declarations/tests/fixtures/empty-export2.ts b/crates/oxc_isolated_declarations/tests/fixtures/empty-export2.ts index 17abd4438..ad8031ab4 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/empty-export2.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/empty-export2.ts @@ -1 +1 @@ -import * as a from "mod"; \ No newline at end of file +import * as a from "mod"; diff --git a/crates/oxc_isolated_declarations/tests/fixtures/expando-function.ts b/crates/oxc_isolated_declarations/tests/fixtures/expando-function.ts index c36a527cd..64ed1b43d 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/expando-function.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/expando-function.ts @@ -31,4 +31,4 @@ namespace qux { qux.woo = 42; -export default qux; \ No newline at end of file +export default qux; diff --git a/crates/oxc_isolated_declarations/tests/fixtures/function-overloads.ts b/crates/oxc_isolated_declarations/tests/fixtures/function-overloads.ts index e33f9a36e..959f4bb35 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/function-overloads.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/function-overloads.ts @@ -4,4 +4,4 @@ function a(a: any): any {} function b(a: number): number {}; -function b(a: string): string {}; \ No newline at end of file +function b(a: string): string {}; diff --git a/crates/oxc_isolated_declarations/tests/fixtures/function-parameters.ts b/crates/oxc_isolated_declarations/tests/fixtures/function-parameters.ts index 6dd3b10dd..e22af6aac 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/function-parameters.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/function-parameters.ts @@ -25,4 +25,4 @@ export function fooBad([a, b] = [1, 2]): number { export const fooBad2 = ({a, b} = { a: 1, b: 2 }): number => { return 2; -} \ No newline at end of file +} diff --git a/crates/oxc_isolated_declarations/tests/fixtures/generator.ts b/crates/oxc_isolated_declarations/tests/fixtures/generator.ts index 2666ea029..b99e25e4c 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/generator.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/generator.ts @@ -22,4 +22,4 @@ class GeneratorClassBad { yield 50; return 42; } -} \ No newline at end of file +} diff --git a/crates/oxc_isolated_declarations/tests/fixtures/infer-expression.ts b/crates/oxc_isolated_declarations/tests/fixtures/infer-expression.ts index a86119773..1ac3f1092 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/infer-expression.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/infer-expression.ts @@ -15,4 +15,4 @@ const unaryB = -1_2n; // UnaryExpression const unaryC = +"str" const unaryD = typeof "str" -const unaryE = {E: -"str"} as const \ No newline at end of file +const unaryE = {E: -"str"} as const diff --git a/crates/oxc_isolated_declarations/tests/fixtures/infer-return-type.ts b/crates/oxc_isolated_declarations/tests/fixtures/infer-return-type.ts index 2a489ed8e..4f0730d59 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/infer-return-type.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/infer-return-type.ts @@ -29,4 +29,4 @@ function qux() { function quux() { return `${''}` } -// Inferred type is string \ No newline at end of file +// Inferred type is string diff --git a/crates/oxc_isolated_declarations/tests/fixtures/infer-template-literal.ts b/crates/oxc_isolated_declarations/tests/fixtures/infer-template-literal.ts index dca3f8568..004941dfa 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/infer-template-literal.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/infer-template-literal.ts @@ -11,4 +11,4 @@ export let GOOD = `useCssV${v}ars` export const BAD = `useCssV${v}ars` -export let BAD2 = `useCssV${v}ars` as const \ No newline at end of file +export let BAD2 = `useCssV${v}ars` as const diff --git a/crates/oxc_isolated_declarations/tests/fixtures/mapped-types.ts b/crates/oxc_isolated_declarations/tests/fixtures/mapped-types.ts index adcdd2418..ab48648b2 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/mapped-types.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/mapped-types.ts @@ -3,4 +3,4 @@ import {T} from 'bar' export interface I { prop: {[key in K]: T} -} \ No newline at end of file +} diff --git a/crates/oxc_isolated_declarations/tests/fixtures/non-exported-binding-elements.ts b/crates/oxc_isolated_declarations/tests/fixtures/non-exported-binding-elements.ts index 22f6d6a80..97568f620 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/non-exported-binding-elements.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/non-exported-binding-elements.ts @@ -9,4 +9,4 @@ const { c, d } = { c: 1, d: 2 }; const [ e ] = [4]; export { c, d, e } -export const { f, g } = { f: 5, g: 6 }; \ No newline at end of file +export const { f, g } = { f: 5, g: 6 }; diff --git a/crates/oxc_isolated_declarations/tests/fixtures/set-get-accessor.ts b/crates/oxc_isolated_declarations/tests/fixtures/set-get-accessor.ts index 5884d615f..4edaf9099 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/set-get-accessor.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/set-get-accessor.ts @@ -23,4 +23,4 @@ class ClsBad { } set a(v) { } -} \ No newline at end of file +} diff --git a/crates/oxc_linter/fixtures/import/constants/index.js b/crates/oxc_linter/fixtures/import/constants/index.js index 2d7500a68..c447eb427 100644 --- a/crates/oxc_linter/fixtures/import/constants/index.js +++ b/crates/oxc_linter/fixtures/import/constants/index.js @@ -1 +1 @@ -export const FOO = 'FOO' \ No newline at end of file +export const FOO = 'FOO' diff --git a/crates/oxc_linter/fixtures/import/deep-deprecated.js b/crates/oxc_linter/fixtures/import/deep-deprecated.js index 8e9a62780..81c396ea9 100644 --- a/crates/oxc_linter/fixtures/import/deep-deprecated.js +++ b/crates/oxc_linter/fixtures/import/deep-deprecated.js @@ -1,2 +1,2 @@ import * as deepDep from './deprecated' -export { deepDep } \ No newline at end of file +export { deepDep } diff --git a/crates/oxc_linter/fixtures/import/deep-es7/d.js b/crates/oxc_linter/fixtures/import/deep-es7/d.js index 6a539d942..ec19d1ab8 100644 --- a/crates/oxc_linter/fixtures/import/deep-es7/d.js +++ b/crates/oxc_linter/fixtures/import/deep-es7/d.js @@ -1 +1 @@ -export const e = "e" \ No newline at end of file +export const e = "e" diff --git a/crates/oxc_linter/fixtures/import/deep/a.js b/crates/oxc_linter/fixtures/import/deep/a.js index 655f0d64e..8a73b228f 100644 --- a/crates/oxc_linter/fixtures/import/deep/a.js +++ b/crates/oxc_linter/fixtures/import/deep/a.js @@ -1,2 +1,2 @@ import * as b from './b' -export { b } \ No newline at end of file +export { b } diff --git a/crates/oxc_linter/fixtures/import/deep/c.js b/crates/oxc_linter/fixtures/import/deep/c.js index 37dd47636..4bb6ca663 100644 --- a/crates/oxc_linter/fixtures/import/deep/c.js +++ b/crates/oxc_linter/fixtures/import/deep/c.js @@ -1,2 +1,2 @@ import * as d from './d' -export { d } \ No newline at end of file +export { d } diff --git a/crates/oxc_linter/fixtures/import/deep/d.js b/crates/oxc_linter/fixtures/import/deep/d.js index 6a539d942..ec19d1ab8 100644 --- a/crates/oxc_linter/fixtures/import/deep/d.js +++ b/crates/oxc_linter/fixtures/import/deep/d.js @@ -1 +1 @@ -export const e = "e" \ No newline at end of file +export const e = "e" diff --git a/crates/oxc_linter/fixtures/import/deep/default.js b/crates/oxc_linter/fixtures/import/deep/default.js index b22c17c8a..163a6b15a 100644 --- a/crates/oxc_linter/fixtures/import/deep/default.js +++ b/crates/oxc_linter/fixtures/import/deep/default.js @@ -1,2 +1,2 @@ import * as b from './b' -export default b \ No newline at end of file +export default b diff --git a/crates/oxc_linter/fixtures/import/empty-folder/anchor.txt b/crates/oxc_linter/fixtures/import/empty-folder/anchor.txt index d56c5fb2e..e6a5e9f91 100644 --- a/crates/oxc_linter/fixtures/import/empty-folder/anchor.txt +++ b/crates/oxc_linter/fixtures/import/empty-folder/anchor.txt @@ -1 +1 @@ -no js here! \ No newline at end of file +no js here! diff --git a/crates/oxc_linter/fixtures/import/issue-195/Users.js b/crates/oxc_linter/fixtures/import/issue-195/Users.js index 7419b8c97..79ecdc9d9 100644 --- a/crates/oxc_linter/fixtures/import/issue-195/Users.js +++ b/crates/oxc_linter/fixtures/import/issue-195/Users.js @@ -1 +1 @@ -export default "Users" \ No newline at end of file +export default "Users" diff --git a/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/bar.js b/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/bar.js index 3ec93603a..1f811269f 100644 --- a/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/bar.js +++ b/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/bar.js @@ -1,2 +1,2 @@ // bar.js -export { default as foo } from './foo' \ No newline at end of file +export { default as foo } from './foo' diff --git a/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/foo.js b/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/foo.js index ba097965e..6b252a4d4 100644 --- a/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/foo.js +++ b/crates/oxc_linter/fixtures/import/issue-370-commonjs-namespace/foo.js @@ -1,2 +1,2 @@ // foo.js -module.exports = { foo: 'foo' } \ No newline at end of file +module.exports = { foo: 'foo' } diff --git a/crates/oxc_linter/fixtures/import/issue210.config.js b/crates/oxc_linter/fixtures/import/issue210.config.js index 26f3534d7..d6749a5ec 100644 --- a/crates/oxc_linter/fixtures/import/issue210.config.js +++ b/crates/oxc_linter/fixtures/import/issue210.config.js @@ -1,3 +1,3 @@ exports.parserOptions = { sourceType: 'module', -} \ No newline at end of file +} diff --git a/crates/oxc_linter/fixtures/import/issue210.js b/crates/oxc_linter/fixtures/import/issue210.js index db18fa2de..729b4988d 100644 --- a/crates/oxc_linter/fixtures/import/issue210.js +++ b/crates/oxc_linter/fixtures/import/issue210.js @@ -1 +1 @@ -export { test } from './issue210.js' \ No newline at end of file +export { test } from './issue210.js' diff --git a/crates/oxc_linter/fixtures/import/jsx/bar/baz.jsx b/crates/oxc_linter/fixtures/import/jsx/bar/baz.jsx index ab0eb07e9..17c49d161 100644 --- a/crates/oxc_linter/fixtures/import/jsx/bar/baz.jsx +++ b/crates/oxc_linter/fixtures/import/jsx/bar/baz.jsx @@ -13,4 +13,4 @@ export function Baz2() { Baz2 ); -} \ No newline at end of file +} diff --git a/crates/oxc_linter/fixtures/import/jsx/bar/index.js b/crates/oxc_linter/fixtures/import/jsx/bar/index.js index 2d36b837e..ca9a1e772 100644 --- a/crates/oxc_linter/fixtures/import/jsx/bar/index.js +++ b/crates/oxc_linter/fixtures/import/jsx/bar/index.js @@ -1,2 +1,2 @@ export * from "./baz.jsx"; -export { Qux1, Qux2 } from "./qux.jsx"; \ No newline at end of file +export { Qux1, Qux2 } from "./qux.jsx"; diff --git a/crates/oxc_linter/fixtures/import/jsx/bar/qux.jsx b/crates/oxc_linter/fixtures/import/jsx/bar/qux.jsx index 9325207d7..bdbb1396d 100644 --- a/crates/oxc_linter/fixtures/import/jsx/bar/qux.jsx +++ b/crates/oxc_linter/fixtures/import/jsx/bar/qux.jsx @@ -13,4 +13,4 @@ export function Qux2() {

Qux1

);; -} \ No newline at end of file +} diff --git a/crates/oxc_linter/fixtures/import/jsx/re-export.js b/crates/oxc_linter/fixtures/import/jsx/re-export.js index 70f8509aa..78aefeed1 100644 --- a/crates/oxc_linter/fixtures/import/jsx/re-export.js +++ b/crates/oxc_linter/fixtures/import/jsx/re-export.js @@ -1 +1 @@ -export * from './named.jsx' \ No newline at end of file +export * from './named.jsx' diff --git a/crates/oxc_linter/fixtures/import/named-trampoline.js b/crates/oxc_linter/fixtures/import/named-trampoline.js index 9db079cdd..cf4907438 100644 --- a/crates/oxc_linter/fixtures/import/named-trampoline.js +++ b/crates/oxc_linter/fixtures/import/named-trampoline.js @@ -1,2 +1,2 @@ export bar from './bar' -export foo from './default-export' \ No newline at end of file +export foo from './default-export' diff --git a/crates/oxc_linter/fixtures/import/narcissist.js b/crates/oxc_linter/fixtures/import/narcissist.js index c75ba12c2..626482bdc 100644 --- a/crates/oxc_linter/fixtures/import/narcissist.js +++ b/crates/oxc_linter/fixtures/import/narcissist.js @@ -1,2 +1,2 @@ export const me = 'awesome' -export { me as soGreat } from './narcissist' \ No newline at end of file +export { me as soGreat } from './narcissist' diff --git a/crates/oxc_linter/fixtures/import/no-unused-modules/file-destructured-2.js b/crates/oxc_linter/fixtures/import/no-unused-modules/file-destructured-2.js index 06dc48a9d..675374b97 100644 --- a/crates/oxc_linter/fixtures/import/no-unused-modules/file-destructured-2.js +++ b/crates/oxc_linter/fixtures/import/no-unused-modules/file-destructured-2.js @@ -1 +1 @@ -import { destructured } from './file-destructured-1'; \ No newline at end of file +import { destructured } from './file-destructured-1'; diff --git a/crates/oxc_linter/fixtures/import/no-unused-modules/file-p.js b/crates/oxc_linter/fixtures/import/no-unused-modules/file-p.js index 60f3fbae4..1e44affe5 100644 --- a/crates/oxc_linter/fixtures/import/no-unused-modules/file-p.js +++ b/crates/oxc_linter/fixtures/import/no-unused-modules/file-p.js @@ -1 +1 @@ -import { h3 as h0 } from './file-h' \ No newline at end of file +import { h3 as h0 } from './file-h' diff --git a/crates/oxc_linter/fixtures/import/node_modules/es6-module/index.js b/crates/oxc_linter/fixtures/import/node_modules/es6-module/index.js index 7212fb678..21ec276fc 100644 --- a/crates/oxc_linter/fixtures/import/node_modules/es6-module/index.js +++ b/crates/oxc_linter/fixtures/import/node_modules/es6-module/index.js @@ -1 +1 @@ -export const foo = 'bar' \ No newline at end of file +export const foo = 'bar' diff --git a/crates/oxc_linter/fixtures/import/node_modules/eslint-import-resolver-foo/index.js b/crates/oxc_linter/fixtures/import/node_modules/eslint-import-resolver-foo/index.js index d194dba0d..93f6f473a 100644 --- a/crates/oxc_linter/fixtures/import/node_modules/eslint-import-resolver-foo/index.js +++ b/crates/oxc_linter/fixtures/import/node_modules/eslint-import-resolver-foo/index.js @@ -1 +1 @@ -../../foo-bar-resolver-v2.js \ No newline at end of file +../../foo-bar-resolver-v2.js diff --git a/crates/oxc_linter/fixtures/import/oxc/indirect-export.js b/crates/oxc_linter/fixtures/import/oxc/indirect-export.js index 345b2d126..075c9213b 100644 --- a/crates/oxc_linter/fixtures/import/oxc/indirect-export.js +++ b/crates/oxc_linter/fixtures/import/oxc/indirect-export.js @@ -1,2 +1,2 @@ import { a } from '../named-exports' -export { a } \ No newline at end of file +export { a } diff --git a/crates/oxc_linter/fixtures/import/test-module/index.js b/crates/oxc_linter/fixtures/import/test-module/index.js index 2d4eab380..04afba423 100644 --- a/crates/oxc_linter/fixtures/import/test-module/index.js +++ b/crates/oxc_linter/fixtures/import/test-module/index.js @@ -1 +1 @@ -export function someThing() {} \ No newline at end of file +export function someThing() {} diff --git a/crates/oxc_linter/fixtures/import/test.giffy b/crates/oxc_linter/fixtures/import/test.giffy index abadbacd0..911143c4e 100644 --- a/crates/oxc_linter/fixtures/import/test.giffy +++ b/crates/oxc_linter/fixtures/import/test.giffy @@ -1 +1 @@ -boo! \ No newline at end of file +boo! diff --git a/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/index.tsx b/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/index.tsx index 124b1745d..a5f847942 100644 --- a/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/index.tsx +++ b/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/index.tsx @@ -1,3 +1,3 @@ import App from './App'; -export const x = App \ No newline at end of file +export const x = App diff --git a/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/magic/test.js b/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/magic/test.js index a6d74afd9..9b2b3eea4 100644 --- a/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/magic/test.js +++ b/crates/oxc_linter/fixtures/import/unused-modules-reexport-crash/src/magic/test.js @@ -4,4 +4,4 @@ export function hello() { export function unused() { console.log('im unused!!'); -} \ No newline at end of file +} diff --git a/crates/oxc_linter/fixtures/import/webpack.empty.config.js b/crates/oxc_linter/fixtures/import/webpack.empty.config.js index 7c6d6c73d..4ba52ba2c 100644 --- a/crates/oxc_linter/fixtures/import/webpack.empty.config.js +++ b/crates/oxc_linter/fixtures/import/webpack.empty.config.js @@ -1 +1 @@ -module.exports = {} \ No newline at end of file +module.exports = {} diff --git a/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.jsx b/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.jsx index 425799304..b1ab99780 100644 --- a/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.jsx +++ b/crates/oxc_semantic/tests/fixtures/oxc/jsx/element-name.jsx @@ -1,2 +1,2 @@ let Component = () =>
; - \ No newline at end of file + diff --git a/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.jsx b/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.jsx index 1fcb119f0..bd8346f6e 100644 --- a/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.jsx +++ b/crates/oxc_semantic/tests/fixtures/oxc/jsx/member-expression.jsx @@ -1,3 +1,3 @@ let A = {}; -; \ No newline at end of file +; diff --git a/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.ts b/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.ts index 424ff3dfb..a78dc78c8 100644 --- a/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.ts +++ b/crates/oxc_semantic/tests/fixtures/typescript-eslint/catch/scope.ts @@ -5,4 +5,4 @@ try { } const unresolved = e; -const dontReference2 = a; \ No newline at end of file +const dontReference2 = a; diff --git a/tasks/coverage/misc/fail/oxc-1942-1.ts b/tasks/coverage/misc/fail/oxc-1942-1.ts index 9924545d0..a16f44686 100644 --- a/tasks/coverage/misc/fail/oxc-1942-1.ts +++ b/tasks/coverage/misc/fail/oxc-1942-1.ts @@ -2,4 +2,4 @@ class Foo { get x: () => { return 5; } -} \ No newline at end of file +} diff --git a/tasks/coverage/misc/fail/oxc-1942-2.ts b/tasks/coverage/misc/fail/oxc-1942-2.ts index f02bec397..c0bbba2a4 100644 --- a/tasks/coverage/misc/fail/oxc-1942-2.ts +++ b/tasks/coverage/misc/fail/oxc-1942-2.ts @@ -1,3 +1,3 @@ class Foo { set x: (v: number) => {} -} \ No newline at end of file +} diff --git a/tasks/coverage/misc/fail/oxc-2394.ts b/tasks/coverage/misc/fail/oxc-2394.ts index 2ec2ad975..5dad81f5f 100644 --- a/tasks/coverage/misc/fail/oxc-2394.ts +++ b/tasks/coverage/misc/fail/oxc-2394.ts @@ -59,4 +59,4 @@ export type LocalInterface = & import("pkg", { with: {} }).ImportInterface; export const a = (null as any as import("pkg", { with: {} }).RequireInterface); -export const b = (null as any as import("pkg", { with: {} }).ImportInterface); \ No newline at end of file +export const b = (null as any as import("pkg", { with: {} }).ImportInterface); diff --git a/tasks/coverage/misc/fail/oxc-4212-1.ts b/tasks/coverage/misc/fail/oxc-4212-1.ts index 410c8083c..6ff818c29 100644 --- a/tasks/coverage/misc/fail/oxc-4212-1.ts +++ b/tasks/coverage/misc/fail/oxc-4212-1.ts @@ -1 +1 @@ -class a { const enum b(); } \ No newline at end of file +class a { const enum b(); } diff --git a/tasks/coverage/misc/fail/oxc-5036.js b/tasks/coverage/misc/fail/oxc-5036.js index 483d9ad19..6a8cce709 100644 --- a/tasks/coverage/misc/fail/oxc-5036.js +++ b/tasks/coverage/misc/fail/oxc-5036.js @@ -1,3 +1,3 @@ Test: { Test: console.log('Test'); -} \ No newline at end of file +} diff --git a/tasks/coverage/misc/pass/oxc-2394.ts b/tasks/coverage/misc/pass/oxc-2394.ts index 5dd1fce22..f3ab5bd83 100644 --- a/tasks/coverage/misc/pass/oxc-2394.ts +++ b/tasks/coverage/misc/pass/oxc-2394.ts @@ -1 +1 @@ -type A = import("foo", {with: {type: "json"}}) \ No newline at end of file +type A = import("foo", {with: {type: "json"}}) diff --git a/tasks/coverage/misc/pass/oxc-3443.tsx b/tasks/coverage/misc/pass/oxc-3443.tsx index 89e2d84a2..2ff50242a 100644 --- a/tasks/coverage/misc/pass/oxc-3443.tsx +++ b/tasks/coverage/misc/pass/oxc-3443.tsx @@ -1,2 +1,2 @@ const A = () => {}; -const B = () => {}; \ No newline at end of file +const B = () => {}; diff --git a/tasks/coverage/src/runtime/runtime.js b/tasks/coverage/src/runtime/runtime.js index ae858ed69..e8cf21261 100644 --- a/tasks/coverage/src/runtime/runtime.js +++ b/tasks/coverage/src/runtime/runtime.js @@ -142,4 +142,4 @@ process.on('unhandledRejection', () => { // Don't exit when a test does this }) -server.listen(32055, () => {}); \ No newline at end of file +server.listen(32055, () => {});