Skip to content

ObjectPoolLinter 1.2.0

Choose a tag to compare

@github-actions github-actions released this 14 Sep 02:16
· 10 commits to main since this release

Added

  • OPL001 reads two .editorconfig options. Closes A9.
    • object_pool_linter.additional_hot_methods: comma-separated method names treated as hot paths in
      addition to the 18 built-in Unity messages, for custom update loops (Tick, Simulate) and
      messages the list leaves out (OnPreCull). A bare name matches on any type with any signature;
      Type.Method limits the entry to one type.
    • object_pool_linter.excluded_types: comma-separated type names, simple or namespace-qualified,
      whose methods are never reported. It applies to methods declared on the listed type, not to
      derived types, and wins over additional_hot_methods.
    • Names are case-sensitive and options are read per file. Documented under
      Configuration, including the caveat that Unity's own editor
      compile has not been verified to pass the options to analyzers.
  • The sample has an .editorconfig that adds Tick and excludes LoadingScreen;
    build/verify-sample.ps1 expects the new Tick warning and none from LoadingScreen.