nameOfTeams - ChenCMD/datapack-helper-plus-JP GitHub Wiki

ルールの詳細

⚠️ Diagnostic: これは、校閲機能によって使用される校閲ルールです。

チーム名に一貫した命名規則を適用します。

  • ("camelCase")
  • ("PascalCase")
  • ("snake_case")
  • ("SCREAMING_SNAKE_CASE")
  • ("kebab-case")

Default

{
    "nameOfTeams": null
}

👍 良い例

team add testObjective
team add TestObjective
team add test_objective
team add TEST_OBJECTIVE
team add test-objective

Snake Case

{
    "nameOfTeams": ["warning", "snake_case"]
}

👍 良い例

team add test_objective

👎 悪い例

team add testObjective
team add TestObjective
team add TEST_OBJECTIVE
team add test-objective

History

このルールはDHP 2.0.0で実装されました。

⚠️ **GitHub.com Fallback** ⚠️