Fix: github commit action #251
Errors 386, Warnings 14
Found 386 errors and 14 warnings
Annotations
Check failure on line 8 in code/code-format-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 8 in code/code-format-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 18 in code/code-format-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
15 | const outputBundle = bundle[bundles[0]]
16 |
> 17 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
18 | outputBundle.code.replace(/\r\n/g, '\n')
19 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
20 | },
Check failure on line 8 in code/code-icons-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 8 in code/code-icons-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 18 in code/code-icons-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
15 | const outputBundle = bundle[bundles[0]]
16 |
> 17 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
18 | outputBundle.code.replace(/\r\n/g, '\n')
19 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
20 | },
Check failure on line 7 in code/code-lint-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
4 | import json from '@rollup/plugin-json'
5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
| ^
7 | import { fileURLToPath } from 'node:url'
8 |
9 | const wrapOutput = () => ({
Check failure on line 7 in code/code-lint-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
4 | import json from '@rollup/plugin-json'
5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
| ^
7 | import { fileURLToPath } from 'node:url'
8 |
9 | const wrapOutput = () => ({
Check failure on line 18 in code/code-lint-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
15 | const outputBundle = bundle[bundles[0]]
16 |
> 17 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
18 | outputBundle.code.replace(/\r\n/g, '\n')
19 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
20 | },
Check failure on line 8 in code/code-schematics-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 | import replace from '@rollup/plugin-replace'
9 |
10 | const wrapOutput = () => ({
Check failure on line 8 in code/code-schematics-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 | import replace from '@rollup/plugin-replace'
9 |
10 | const wrapOutput = () => ({
Check failure on line 19 in code/code-schematics-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
16 | const outputBundle = bundle[bundles[0]]
17 |
> 18 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
19 | outputBundle.code.replace(/\r\n/g, '\n')
20 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
21 | },
Check failure on line 8 in code/code-service-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 8 in code/code-service-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 18 in code/code-service-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
15 | const outputBundle = bundle[bundles[0]]
16 |
> 17 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
18 | outputBundle.code.replace(/\r\n/g, '\n')
19 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
20 | },
Check failure on line 8 in code/code-test-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 8 in code/code-test-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
5 | import json from '@rollup/plugin-json'
6 | import esbuild from 'rollup-plugin-esbuild'
> 7 | import { brotliCompressSync } from 'node:zlib'
| ^
8 |
9 | const wrapOutput = () => ({
10 | name: 'wrap-output',
Check failure on line 18 in code/code-test-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
15 | const outputBundle = bundle[bundles[0]]
16 |
> 17 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
18 | outputBundle.code.replace(/\r\n/g, '\n')
19 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
20 | },
Check failure on line 7 in code/code-typescript-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
4 | import json from '@rollup/plugin-json'
5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
| ^
7 | import { fileURLToPath } from 'node:url'
8 |
9 | const wrapOutput = () => ({
Check failure on line 7 in code/code-typescript-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
4 | import json from '@rollup/plugin-json'
5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
| ^
7 | import { fileURLToPath } from 'node:url'
8 |
9 | const wrapOutput = () => ({
Check failure on line 18 in code/code-typescript-worker/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
15 | const outputBundle = bundle[bundles[0]]
16 |
> 17 | outputBundle.code = `import { brotliDecompressSync } from 'node:zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
18 | outputBundle.code.replace(/\r\n/g, '\n')
19 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
20 | },
Check failure on line 7 in yarn/plugin-pnp-patch/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
4 | import { join } from 'node:path'
5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
| ^
7 |
8 | const wrapOutput = () => ({
9 | name: 'wrap-output',
Check failure on line 7 in yarn/plugin-pnp-patch/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
4 | import { join } from 'node:path'
5 | import esbuild from 'rollup-plugin-esbuild'
> 6 | import { brotliCompressSync } from 'node:zlib'
| ^
7 |
8 | const wrapOutput = () => ({
9 | name: 'wrap-output',
Check failure on line 17 in yarn/plugin-pnp-patch/rollup.config.mjs
github-actions / Lint
(n/no-sync): Unexpected sync method: 'brotliCompressSync'.
Unexpected sync method: 'brotliCompressSync'.
Raw output
14 | const outputBundle = bundle[bundles[0]]
15 |
> 16 | outputBundle.code = `import { brotliDecompressSync } from 'zlib';\n\nlet hook: string | undefined;\n\nexport const getContent = (): string => {\n if (typeof hook === \`undefined\`)\n hook = brotliDecompressSync(Buffer.from('${brotliCompressSync(
| ^
17 | outputBundle.code.replace(/\r\n/g, '\n')
18 | ).toString('base64')}', 'base64')).toString();\n\n return hook;\n};\n`
19 | },
Check failure on line 8 in cli/cli-ui-log-record-component/src/log-message.component.tsx
github-actions / Lint
(@typescript-eslint/explicit-function-return-type): Missing return type on function.
Missing return type on function.
Raw output
5 | import React from 'react'
6 |
> 7 | const getMessage = (body: Body) => {
| ^
8 | if (typeof body === 'string') {
9 | return body
10 | }