Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit d44e7b1

Browse files
committed
Lint files
Signed-off-by: Ryan Lua <[email protected]>
1 parent 12195c5 commit d44e7b1

File tree

9 files changed

+18
-16
lines changed

9 files changed

+18
-16
lines changed

src/Signs/COPYING.server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ This program is free software: you can redistribute it and/or modify it under th
77
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
88
99
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
10-
]]
10+
]]

src/Signs/PluginGui/GuiObjectPart.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ function GuiObjectPart.new(
6060
canvas.Size = UDim2.new(1, 0, 1, 0)
6161
canvas.Parent = surfaceGui
6262
guiObject.Parent = canvas
63-
6463
end
6564

6665
Selection:Set({ part })

src/Signs/PluginInfo/PluginToolbar.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ end
2222

2323
-- Creates a new button on the given toolbar
2424
function PluginToolbar:CreateToolbar(name)
25-
assert(typeof(name) == "string", "Incorrect parameter type for param 'name' (expected string, got " .. typeof(name) .. ")")
25+
assert(
26+
typeof(name) == "string",
27+
"Incorrect parameter type for param 'name' (expected string, got " .. typeof(name) .. ")"
28+
)
2629
assert(#name > 0, "Cannot have zero-length toolbar name.")
2730
return PluginToolbars:FindFirstChild(name) or CreateNewToolbar(name)
2831
end
@@ -34,4 +37,4 @@ function PluginToolbar:SetPlugin(reference: Plugin)
3437
return self
3538
end
3639

37-
return PluginToolbar
40+
return PluginToolbar

src/Signs/StudioWidgets/CollapsibleItem.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ function ItemClass:_UpdateVisualState()
163163
end
164164

165165
-- Use the help icon. This will open the url in the wiki when clicked
166-
function ItemClass:UseHelp(url: string)
167-
168-
end
166+
function ItemClass:UseHelp(url: string) end
169167

170168
-- Use the CollapsibleItem as a toggleable frame
171169
function ItemClass:UseCollapsible()

src/Signs/StudioWidgets/HorizontalTabBar.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ end
7777

7878
function HorizontalTabClass:_SetupMouseClickHandling()
7979
self._tabButton.InputBegan:Connect(function()
80-
self._hovered = true
81-
self:_updateCheckboxVisual()
80+
self._hovered = true
81+
self:_updateCheckboxVisual()
8282
end)
8383

8484
self._tabButton.InputEnded:Connect(function()
85-
self._hovered = false
86-
self:_updateCheckboxVisual()
85+
self._hovered = false
86+
self:_updateCheckboxVisual()
8787
end)
8888

8989
self._tabButton.MouseButton1Down:Connect(function()

src/Signs/StudioWidgets/NOTICE.server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ Changes to Studio Widgets include minor and major modifications to it's files wh
2424
d. Removal of unused files
2525
- Removal of unused files such as a extra unimplemented library.
2626
e. and other minor changes
27-
]]
27+
]]

src/SignsFree/COPYING.server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ This program is free software: you can redistribute it and/or modify it under th
77
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
88
99
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
10-
]]
10+
]]

src/SignsFree/PluginGui/init.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ function PluginGui:newPluginGui(widgetGui)
208208
CustomTextLabel:UpdateLineHeight(newValue)
209209
end)
210210

211-
212211
-- Horizontal alignment choice
213212
local yChoice = LabeledMultiChoice.new(
214213
"YChoice", -- name suffix of gui object

src/SignsFree/PluginInfo/PluginToolbar.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ end
2222

2323
-- Creates a new button on the given toolbar
2424
function PluginToolbar:CreateToolbar(name)
25-
assert(typeof(name) == "string", "Incorrect parameter type for param 'name' (expected string, got " .. typeof(name) .. ")")
25+
assert(
26+
typeof(name) == "string",
27+
"Incorrect parameter type for param 'name' (expected string, got " .. typeof(name) .. ")"
28+
)
2629
assert(#name > 0, "Cannot have zero-length toolbar name.")
2730
return PluginToolbars:FindFirstChild(name) or CreateNewToolbar(name)
2831
end
@@ -34,4 +37,4 @@ function PluginToolbar:SetPlugin(reference: Plugin)
3437
return self
3538
end
3639

37-
return PluginToolbar
40+
return PluginToolbar

0 commit comments

Comments
 (0)