Skip to content

Releases: StefanMaron/BusinessCentral.LinterCop

v0.30.12 🌈

16 Jan 07:21
f06fd8a
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

  • Improve performance with remove need for try/catch for LC0003 @Arthurvdv (#508)
  • Resolve NullReferenceException on LC0003 @Arthurvdv (#507)
  • Resolve IndexOutOfRangeException on LC0012 @Arthurvdv (#504)
  • Resolve false positive for LC0016 on groups inside a Promoted area @Arthurvdv (#501)

🚀 Features

  • LC0050: Improve documentation/description @Arthurvdv (#502)
  • LC0044: Exclude fields with #pragma warning disable @tinestaric
  • New rule LC0051 Do not assign a text to a target with smaller size. @Arthurvdv (#499)
  • Prepare LC0043 for SecretText on IsolatedStorage @Arthurvdv (#502)

v0.30.11 🌈

09 Jan 08:55
c3c3ff3
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 Features

v0.30.10 🌈

20 Dec 11:11
68ee6a3
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 Features

  • Up to 2000% performance gain on LC0005 @dannoe (#444)
  • Exclude rule LC0021 on page objects @Arthurvdv (#426)
  • New rule LC0044 TransferFields consistency between records. @tinestaric (#429)
  • New rule LC0045 Zero (0) Enum value should be reserved for Empty Value. @tinestaric (#392)
  • New rule LC0046 Label with suffix Tok must be locked. @tinestaric (#392)
  • New rule LC0047 Locked Label must have a suffix Tok. @tinestaric (#392)
  • New rule LC0048 Use Error with a ErrorInfo or Label variable to improve telemetry details. @Arthurvdv (#439)

v0.30.9 🌈

12 Dec 08:07
Compare
Choose a tag to compare

Changes

🚀 Features

  • Add support for DrillDownPageId and LookupPageId to LC0039 @Arthurvdv (#402), idea by @pri-kise
  • New rule LC0040 Explicitly set the RunTrigger parameter on build-in methods. @tinestaric (#383)
  • New rule LC0041 Empty Captions should be Locked. @tinestaric (#383)
  • New rule LC0042 AutoCalcFields should only be used for FlowFields or Blob fields. @tinestaric (#383)
  • New rule LC0043 Use SecretText type to protect credentials and sensitive textual values from being revealed @Arthurvdv (#404)

v0.30.8 🌈

05 Dec 06:46
f804a39
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

  • Improve performance (implementing VersionChecker method) on rule LC0011, LC0028, LC0031, LC0034 and LC0035 @Arthurvdv (#377)
  • Resolve InvalidCastException on rule LC0016 @Arthurvdv (#377)
  • Resolve false positives LC0012 on Fully Qualified Names (namespaces) @Arthurvdv (#382)
  • Resolve false positives LC0003/LC0005 on Fully Qualified Names (namespaces) @Arthurvdv (#387)

🚀 Features

  • New rule LC0035 Explicitly set AllowInCustomizations for fields omitted on pages. @Arthurvdv (#365)
  • New rule LC0036 For fields specifically, the ToolTip must start with the verb "Specifies". @Arthurvdv (#378), idea by @jwikman
  • New rule LC0037 Do not use line breaks in ToolTip. @Arthurvdv (#378), idea by @jwikman
  • New rule LC0038 Try to not exceed 200 characters (including spaces). @Arthurvdv (#378), idea by @jwikman
  • New rule LC0039 The given argument has a different type from the one expected @Arthurvdv (#379), idea by @NKarolak

v0.30.7 🌈

26 Nov 18:22
89ae84c
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 Features

v0.30.6 🌈

21 Nov 08:20
Compare
Choose a tag to compare

Changes

  • Refactor LC0027 to Utilize the Page Management codeunit for launching page. @Arthurvdv (#341)
  • Resolve false positive on LC0003/LC0005 with use of namespaces @Arthurvdv (#329)
  • New rule LC0030 Set Access property to Internal for Install/Upgrade codeunits. @Arthurvdv (#327)
  • New rule LC0031 Set the ReadIsolation property instead of the LockTable method. @Arthurvdv (#344)
  • New rule LC0032 Clear on Single Instance codeunits @Arthurvdv (#348)

v0.30.5 🌈

14 Nov 12:40
b4f0836
Compare
Choose a tag to compare

Changes

  • New rule LC0030 Set Access property to Internal for Install/Upgrade codeunits @Arthurvdv (#327)
  • Allow zero as input for Page.Run(0, <recordVar>) @Arthurvdv (#337)
  • Resolve System.ArgumentOutOfRangeException error on LC0027 @Arthurvdv (#336)
  • Improve LC0029 with use of 0DT comparison @Arthurvdv (#332)

v0.30.4 🌈

13 Nov 13:23
6678bbc
Compare
Choose a tag to compare

Changes

  • Resolve false positive on LC0003/LC0005 with use of namespaces @Arthurvdv (#329)

v0.30.2 🌈

13 Nov 09:23
Compare
Choose a tag to compare

Changes

  • Bugfix on rule LC0003: for false positive on objects with namespaces @ChristianHovenbitzer (#314)
  • Bugfix on rule LC0016: for false positive on API objects @Arthurvdv (#318)
  • Bugfix on rule LC0026: Add support for attributes @Arthurvdv (#323)
  • New rule LC0024: Procedure declaration should not end with semicolon. @tinestaric (#272)
  • New rule LC0025: Procedure must be either local or internal. @tinestaric (#272)
  • New rule LC0026: ToolTip must end with a dot. @tinestaric (#272)
  • New rule LC0027: Page.Run(Modal) must be implemented through the Page Management codeunit. @Arthurvdv (#275)
  • New rule LC0028: Event subscriber arguments now use identifier syntax instead of string literals. @Arthurvdv (#317)
  • New rule LC0029: Use CompareDateTime method in Type Helper codeunit for DateTime variable comparisons. @Arthurvdv (#320)