Skip to content

Releases: ninito-ph/UnityProjectLinter

v2.0.1 'Patient Reader' Release

27 Jan 15:21
27567fc
Compare
Choose a tag to compare

[2.0.1] - 2022-01-27

This release contains minor improvements and useful sample content for new users to learn the tool.

Added

  • Sample rules to samples folder
  • Preconfigured UnityProjectLinter settings to samples folder

Changed

  • Improved asset name suggestion; suggestions now detect existing prefixes/suffixes and will not repeat them

v2.0.0 'Manilla Folders' Release

27 Jan 05:42
900a983
Compare
Choose a tag to compare

[2.0.0] - 2022-01-27

This release marks a major upgrade in the project's code quality, as well as the inclusion of new features, such as rule priority, customizable default rules, a CSV asset logger, 'Infix' rule context support and an improved settings page.

Added

  • Logger selection dropdown interface
  • CSV Asset Violation Logger
  • Default rules as individual, customizable ScriptableObjects (SimplePrefixNamingRule, RegexNamingRule, VariantSuffixNamingRule and ReplaceSectionNamingRule)
  • Support for rule priority, to decide which rule will be considered if two rules apply to an asset
  • Support for Infix rule context, to check that an asset's name, not just its prefix/suffix, follows appropriate conventions

Changed

  • Made UnityProjectLinter settings an actual SettingsProvider that can be found in Project Settings
  • Improved custom logger support; now you should be able to simply create a class that implements IRuleViolationLogger and it will automatically show up in the logger selection dropdown
  • Moved scripts to new Ninito.UnityProjectLinter.Editor asmdef
  • Moved default/sample rules to Ninito.UnityProjectLinter.Editor.Samples asmdef
  • Refactored the whole project's codebase for greater extensibility and readability

Removed

  • Default hardcoded rules, except for ignoring script assets (Default rules have been replaced by more modular and extensible ScriptableObjects in the Samples folder).