You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI:
Version: 1.3.1
Color support: true
Platform:
CPU Architecture: x86_64
OS: windows
Environment:
BIOME_LOG_DIR: unset
NO_COLOR: unset
TERM: unset
JS_RUNTIME_VERSION: "v21.1.0"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "npm/10.2.1"
Biome Configuration:
Status: Loaded successfully
Formatter disabled: false
Linter disabled: false
Organize imports disabled: true
VCS disabled: true
Workspace:
Open Documents: 0
What happened?
exportfunctiontest(arg: any){consta: any=arg;return{ a };}
In VSCode, suppress both noExplicitAny issues from the code above
-export function test(arg: any) {- const a: any = arg;+// biome-ignore lint/suspicious/noExplicitAny: <explanation>+export function test(arg: any) {+ // biome-ignore lint/suspicious/noExplicitAny: <explanation>+const a: any = arg;
return { a };
}
A space was added between export & function, and const & a.
The indentation was also removed from the const a line.
Expected result
Comments are added without changing anything else.
I find it quite distracting that the code shifts around as I add a comment then save to format 🙃
This is not an issue with ESLint.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
What happened?
In VSCode, suppress both
noExplicitAny
issues from the code aboveA space was added between
export
&function
, andconst
&a
.The indentation was also removed from the
const a
line.Expected result
Comments are added without changing anything else.
I find it quite distracting that the code shifts around as I add a comment then save to format 🙃
This is not an issue with ESLint.
Code of Conduct
The text was updated successfully, but these errors were encountered: