-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable strict mode for most files, and integrate function generics where applicable. * A few files are nonstrict and nocheck, with comments explaining the Luau gaps. * Make some notes about things Luau analzye could do better, and manually annotate to work around. * Consistently assert when utf8.len returns nil (meaning invalid utf8 sequence). * Object.assign() can't be strongly typed because Luau currently can't do intersections of type packs. * Fold in PR feedback, add note about Lluau analyze improvements
- Loading branch information
RoFlection Bot
committed
Dec 1, 2021
1 parent
1291155
commit e2fde3b
Showing
97 changed files
with
478 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tools] | ||
rotrieve = { source = "roblox/rotriever", version = "=0.5.0-rc.4" } | ||
rojo = { source = "rojo-rbx/rojo", version = "6.2.0" } | ||
selene = { source = "Kampfkarren/selene", version = "0.14" } | ||
stylua = { source = "JohnnyMorganz/StyLua", version = "0.10.1" } | ||
selene = { source = "Kampfkarren/selene", version = "0.15" } | ||
stylua = { source = "JohnnyMorganz/StyLua", version = "0.11.1" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[[table.freeze.args]] | ||
type = "table" | ||
|
||
[[table.isfrozen.args]] | ||
type = "table" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ content_root = "src" | |
files = ["*", "!**/__tests__/**"] | ||
|
||
[dev_dependencies] | ||
JestGlobals = "github.com/roblox/jest-roblox@2.1.2" | ||
TestEZ = "github.com/roblox/jest-roblox@2.0.1" | ||
JestGlobals = "github.com/roblox/jest-roblox@2.2.1" | ||
TestEZ = "github.com/roblox/jest-roblox@2.2.1" | ||
RegExp = "github.com/roblox/[email protected]" | ||
Promise = "github.com/evaera/[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
std = "roblox+testez" | ||
std = "roblox+testez+roblox-internal" | ||
|
||
[config] | ||
empty_if = { comments_count = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"language": { | ||
"mode": "strict" | ||
}, | ||
"lint": { | ||
"*": "enabled" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--!strict | ||
local Array = script.Parent | ||
local isArray = require(Array.isArray) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.