diff --git a/apps/oxlint/conformance/snapshot.md b/apps/oxlint/conformance/snapshot.md index 3559de5f96de8..dc267b286087c 100644 --- a/apps/oxlint/conformance/snapshot.md +++ b/apps/oxlint/conformance/snapshot.md @@ -2239,10 +2239,10 @@ Fail: 3 / 78 (3.8%) ``` TSError: Octal literals are not allowed. Use the syntax '0o1'. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-location > invalid @@ -2269,10 +2269,10 @@ TSError: Octal literals are not allowed. Use the syntax '0o1'. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-location > invalid @@ -2299,10 +2299,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) ### `dot-notation` @@ -2331,10 +2331,10 @@ Fail: 6 / 69 (8.7%) ``` TSError: Octal literals are not allowed. Use the syntax '0o1'. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-notation > invalid @@ -2358,10 +2358,10 @@ TSError: Octal literals are not allowed. Use the syntax '0o1'. ``` TSError: Octal literals are not allowed. Use the syntax '0o1234567'. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-notation > invalid @@ -2385,10 +2385,10 @@ TSError: Octal literals are not allowed. Use the syntax '0o1234567'. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-notation > invalid @@ -2412,10 +2412,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-notation > invalid @@ -2439,10 +2439,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### dot-notation > invalid @@ -34272,10 +34272,10 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34366,10 +34366,10 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34496,10 +34496,10 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34517,10 +34517,10 @@ TSError: Identifier expected. ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34538,10 +34538,10 @@ TSError: Identifier expected. ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34856,10 +34856,10 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34876,10 +34876,10 @@ TSError: Identifier expected. ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34896,10 +34896,10 @@ TSError: Identifier expected. ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34917,10 +34917,10 @@ TSError: Identifier expected. ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -34938,10 +34938,10 @@ TSError: Identifier expected. ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > valid @@ -59657,10 +59657,10 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > invalid @@ -59839,10 +59839,10 @@ AssertionError [ERR_ASSERTION]: Should have 2 errors but had 3: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > invalid @@ -59931,10 +59931,10 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > invalid @@ -60083,10 +60083,10 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 2: [ ``` TSError: Identifier expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### indent > invalid @@ -72097,10 +72097,10 @@ AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-extra-parens > valid @@ -72114,10 +72114,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-extra-parens > valid @@ -72131,10 +72131,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-extra-parens > valid @@ -72148,10 +72148,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-extra-parens > valid @@ -72295,10 +72295,10 @@ Error: Custom parsers are not supported ``` TSError: Octal literals are not allowed. Use the syntax '0o123'. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-extra-parens > invalid @@ -72321,10 +72321,10 @@ TSError: Octal literals are not allowed. Use the syntax '0o123'. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-extra-parens > invalid @@ -72347,10 +72347,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) ### `no-global-assign` @@ -163091,10 +163091,10 @@ Fail: 3 / 192 (1.6%) ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-whitespace-before-property > invalid @@ -163121,10 +163121,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Decimals with leading zeros are not allowed. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### no-whitespace-before-property > invalid @@ -163151,10 +163151,10 @@ TSError: Decimals with leading zeros are not allowed. ``` TSError: Octal literals are not allowed. Use the syntax '0o5'. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) ### `padding-line-between-statements` @@ -174015,10 +174015,10 @@ const test = Object.assign({ ...bar }, { ``` TSError: Property assignment expected. - at B (apps/oxlint/dist/ts_eslint.cjs) - at d (apps/oxlint/dist/ts_eslint.cjs) - at a (apps/oxlint/dist/ts_eslint.cjs) - at C (apps/oxlint/dist/ts_eslint.cjs) + at createError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js:577:12) + at convertError (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/convert.js:52:41) + at astConverter (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js:15:42) + at parseWithNodeMapsInternal (node_modules/.pnpm/@typescript-eslint+typescript-estree@8.48.1_typescript@5.9.3/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:81:66) #### prefer-object-spread > invalid diff --git a/apps/oxlint/src-js/plugins/tokens.ts b/apps/oxlint/src-js/plugins/tokens.ts index c7ca66f11378a..bd02cd38dfd65 100644 --- a/apps/oxlint/src-js/plugins/tokens.ts +++ b/apps/oxlint/src-js/plugins/tokens.ts @@ -153,11 +153,14 @@ export function initTokens() { // Lazy-load TS-ESLint. // `./ts_eslint.cjs` is path to the bundle in `dist` directory, as well as relative path in `src-js`, // so is valid both in bundled `dist` output, and in unit tests. + // In conformance build, use `@typescript-eslint/typescript-estree` package directly. + // TODO: Use `ts_eslint.cjs` bundle in conformance build too, once all parse errors are fixed. if (tsEslintParse === null) { const require = createRequire(import.meta.url); - tsEslintParse = ( - require("./ts_eslint.cjs") as typeof import("@typescript-eslint/typescript-estree") - ).parse; + const mod = ( + CONFORMANCE ? require("@typescript-eslint/typescript-estree") : require("./ts_eslint.cjs") + ) as typeof import("@typescript-eslint/typescript-estree"); + tsEslintParse = mod.parse; } // Our types differ a little from TS-ESLint's