跳转到内容

JSON Rules

此内容尚不支持你的语言。

Below the list of rules supported by Biome, divided by group. Here’s a legend of the emojis:

  • The icon indicates that the rule is part of the recommended rules.
  • The icon indicates that the rule provides a code action (fix) that is safe to apply.
  • The icon indicates that the rule provides a code action (fix) that is unsafe to apply.
  • The icon indicates that the rule has been implemented and scheduled for the next release.
Rule nameDescriptionProperties
noBiomeFirstExceptionPrevents the use of the ! pattern in the first position of files.includes in the configuration file.
noDuplicateObjectKeysDisallow two keys with the same name inside objects.
noQuickfixBiomeDisallow the use if quickfix.biome inside editor settings file.
useBiomeIgnoreFolderPromotes the correct usage for ignoring folders in the configuration file.

Missing a rule? Help us by contributing to the analyzer or create a rule suggestion here.