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"