Skip to content

[lint/michijs/autofix] Autofix changes#113

Closed
michijs[bot] wants to merge 2 commits into
lint/michijs/autofixfrom
michijs/autofix
Closed

[lint/michijs/autofix] Autofix changes#113
michijs[bot] wants to merge 2 commits into
lint/michijs/autofixfrom
michijs/autofix

chore: Autofixes

2c7867f
Select commit
Loading
Failed to load commit list.
Michijs / Autofix: Format and safe fixes check failed Nov 18, 2025 in 1s

Autofix

Job ID: 019a97e3-df36-36ea-4712-e51cec8ff0c7

Details

Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --write --unsafe

Checked 13 files in 390ms. No fixes applied.
Found 2 errors.
Found 1 warning.
Found 1 info.

dist/svg.json check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

i The size of the file is 3.2 MiB, which exceeds the configured maximum of 1.0 MiB for this project.
Use the files.maxSize configuration to change the maximum size of files processed, or files.includes to ignore the file.

tasks/generateTypes.ts:1:21 lint/style/useNodejsImportProtocol FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━

i A Node.js builtin module should be imported with the node: protocol.

1 │ import * as fs from "fs";
│ ^^^^
2 │ import type { HTMLDataV1, IAttributeData } from "vscode-html-languageservice";
3 │ import { attributes } from "./attributes";

i Using the node: protocol is more explicit and signals that the imported module belongs to Node.js.

i Unsafe fix: Add the node: protocol.

  1     │ - import·*·as·fs·from·"fs";
      1 │ + import·*·as·fs·from·"node:fs";
  2   2 │   import type { HTMLDataV1, IAttributeData } from "vscode-html-languageservice";
  3   3 │   import { attributes } from "./attributes";

tasks/compatData.ts:115:13 lint/correctness/noUnusedVariables ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

! This variable support is unused.

113 │     a.browsers = getBrowserCompatString(attrStatus.support);
114 │ 

115 │ const { support, ...status } = attrStatus;
│ ^^^^^^^
116 │ a.status = status;
117 │ });

i Unused variables are often the result of an incomplete refactoring, typos, or other sources of bugs.

i You can use the ignoreRestSiblings option to ignore unused variables in an object destructuring with a spread.

tasks/compatData.ts:52:7 lint/suspicious/noImplicitAnyLet ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× This variable implicitly has the any type.

50 │   browserAbbrev: string,
51 │ ): string {

52 │ let version_added;
│ ^^^^^^^^^^^^^
53 │ if (Array.isArray(support) && support[0] && support[0].version_added) {
54 │ version_added = support[0].version_added;

i Variable declarations without type annotation and initialization implicitly have the any type. Declare a type or initialize the variable with some value.

tasks/compatData.ts:86:9 lint/suspicious/noImplicitAnyLet ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× This variable implicitly has the any type.

84 │   // Add the Baseline status to each attribute
85 │   attributes.forEach((a) => {

86 │ let attributeNamespace, bcdMatchingAttr;
│ ^^^^^^^^^^^^^^^^^^
87 │ if (t) {
88 │ attributeNamespace = elements.${t.name};

i Variable declarations without type annotation and initialization implicitly have the any type. Declare a type or initialize the variable with some value.

check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Some errors were emitted while applying fixes.