From 861e3f7cdb2fd24165b1f0cc6829e01319002135 Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Tue, 1 Mar 2022 21:12:03 +0200 Subject: [PATCH] Added information about new lint --- docs/_posts/2022-02-28-luau-recap-february-2022.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/_posts/2022-02-28-luau-recap-february-2022.md b/docs/_posts/2022-02-28-luau-recap-february-2022.md index 8a3463f2..5d30b44e 100644 --- a/docs/_posts/2022-02-28-luau-recap-february-2022.md +++ b/docs/_posts/2022-02-28-luau-recap-february-2022.md @@ -138,6 +138,15 @@ local function g(x: number) end ``` +--- + +We have also introduced a check for misspelled comment directives: + +```lua +--!non-strict +-- ^ Unknown comment directive 'non-strict'; did you mean 'nonstrict'? +``` + ## Performance improvements For performance, we have changed how our Garbage Collector collects unreachable memory.