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.5.0
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
BIOME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
JS_RUNTIME_VERSION: "v21.1.0"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "pnpm/8.10.2"
Biome Configuration:
Error: The rule useConsistentArrayType doesn't accept any options.
Status: Loaded with errors
Formatter disabled: false
Linter disabled: false
Organize imports disabled: false
VCS disabled: true
Workspace:
Open Documents: 0
What happened?
I'm trying to setup useConsistentArrayType rule to use the "generic" syntax, but it seems like it won't accept any options. The config code I'm using is:
Environment information
What happened?
I'm trying to setup
useConsistentArrayType
rule to use the "generic" syntax, but it seems like it won't accept any options. The config code I'm using is:The schema check fails with:
And running
biome check
fails with:Expected result
I'm expecting to be able to change the default behavior of the rule from "shorthand" to "generic" syntax support, as per the docs: https://biomejs.dev/linter/rules/use-consistent-array-type/
Code of Conduct
The text was updated successfully, but these errors were encountered: