From 71f16763b977f21d7980bb35b3d59ba5afd5d927 Mon Sep 17 00:00:00 2001 From: chriscerie Date: Sat, 24 Feb 2024 22:30:16 +0000 Subject: [PATCH] deploy: e73ccccbbf80d5f271f520a1baea4bfac27cabe5 --- archive/std_v1.html | 56 +++--- cli/usage.html | 4 +- contributing.html | 10 +- lints/constant_table_comparison.html | 2 +- lints/deprecated.html | 2 +- lints/duplicate_keys.html | 16 +- lints/high_cyclomatic_complexity.html | 14 +- lints/manual_table_clone.html | 2 +- lints/mismatched_arg_count.html | 10 +- lints/mixed_table.html | 4 +- lints/multiple_statements.html | 8 +- lints/must_use.html | 2 +- lints/roblox_incorrect_roact_usage.html | 12 +- lints/shadowing.html | 2 +- lints/type_check_inside_call.html | 8 +- lints/undefined_variable.html | 2 +- lints/unscoped_variables.html | 2 +- lints/unused_variable.html | 2 +- luacheck.html | 4 +- motivation.html | 4 +- print.html | 256 ++++++++++++------------ roblox.html | 12 +- searcher.js | 2 +- usage/configuration.html | 22 +- usage/filtering.html | 2 +- usage/std.html | 54 ++--- 26 files changed, 257 insertions(+), 257 deletions(-) diff --git a/archive/std_v1.html b/archive/std_v1.html index 2626ce6e..8e501076 100644 --- a/archive/std_v1.html +++ b/archive/std_v1.html @@ -189,7 +189,7 @@

Examples

[selene]

Anything under the key [selene] is used for meta information. The following paths are accepted:

[selene.base] - Used for specifying what standard library to be based off of. Currently only accepts built in standard libraries, meaning lua51 or lua52.

-

[selene.name] - Used for specifying the name of the standard library. Used internally for cases such as only giving Roblox lints if the standard library is named "roblox".

+

[selene.name] - Used for specifying the name of the standard library. Used internally for cases such as only giving Roblox lints if the standard library is named "roblox".

[selene.structs] - Used for declaring structs.

[globals]

This is where the magic happens. The globals field is a dictionary where the keys are the globals you want to define. The value you give tells selene what the value can be, do, and provide.

@@ -203,21 +203,21 @@

Any

Functions

Example:

[[tonumber.args]]
-type = "any"
+type = "any"
 
 [[tonumber.args]]
-type = "number"
+type = "number"
 required = false
 

A field is a function if it contains an args and/or method field.

If method is specified as true and the function is inside a table, then it will require the function be called in the form of Table:FunctionName(), instead of Table.FunctionName().

args is an array of arguments, in order of how they're used in the function. An argument is in the form of:

required?: false | true | string;
-type: "any" | "bool" | "function" | "nil"
-    | "number" | "string" | "table" | "..."
-    | string[] | { "display": string }
+type: "any" | "bool" | "function" | "nil"
+    | "number" | "string" | "table" | "..."
+    | string[] | { "display": string }
 
-

"required"

+

"required"