This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This sets up the repo with Luau analysis and fixes the initial type errors.
- Loading branch information
Showing
16 changed files
with
88 additions
and
23 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"languageMode": "nonstrict", | ||
"lint": { | ||
"*": true | ||
}, | ||
"lintErrors": 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
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,6 @@ | ||
[tools] | ||
rojo = { source = "rojo-rbx/rojo", version = "6.2.0" } | ||
selene = { source = "Kampfkarren/selene", version = "0.14" } | ||
stylua = { source = "JohnnyMorganz/StyLua", version = "0.11" } | ||
selene = { source = "Kampfkarren/selene", version = "0.18" } | ||
stylua = { source = "JohnnyMorganz/StyLua", version = "0.13" } | ||
luau-analyze = { source = "JohnnyMorganz/luau-analyze-rojo", version = "0.527" } | ||
darklua = { gitlab = "seaofvoices/darklua", version = "0.7.0" } |
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,4 +1,4 @@ | ||
--!nonstrict | ||
--!strict | ||
--[[ | ||
A 'Symbol' is an opaque marker type. | ||
|
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
declare function afterAll(callback: () -> ()): () | ||
declare function afterEach(callback: () -> ()): () | ||
|
||
declare function beforeAll(callback: () -> ()): () | ||
declare function beforeEach(callback: () -> ()): () | ||
|
||
declare function describe(phrase: string, callback: () -> ()): () | ||
declare function describeFOCUS(phrase: string, callback: () -> ()): () | ||
declare function fdescribe(phrase: string, callback: () -> ()): () | ||
declare function describeSKIP(phrase: string, callback: () -> ()): () | ||
declare function xdescribe(phrase: string, callback: () -> ()): () | ||
|
||
declare function expect(value: any): any | ||
|
||
declare function FIXME(optionalMessage: string?): () | ||
declare function FOCUS(): () | ||
declare function SKIP(): () | ||
|
||
declare function it(phrase: string, callback: () -> ()): () | ||
declare function itFOCUS(phrase: string, callback: () -> ()): () | ||
declare function fit(phrase: string, callback: () -> ()): () | ||
declare function itSKIP(phrase: string, callback: () -> ()): () | ||
declare function xit(phrase: string, callback: () -> ()): () | ||
declare function itFIXME(phrase: string, callback: () -> ()): () |