From 96727f643c664d39223377f18d2538a3275f41c3 Mon Sep 17 00:00:00 2001 From: Stefan <79119093+Stenimated@users.noreply.github.com> Date: Mon, 24 Jun 2024 20:20:24 +0200 Subject: [PATCH 1/2] Add Path2DControlPoint.new to roblox_base.yml (#605) this lint works fine for the majority. besides this bellow, it'll require all 3 args if the second one is present Path2DControlPoint.new(UDim2.new(), UDim2.new()) -- RUNTIME ERROR any way to lint for that --- CHANGELOG.md | 2 ++ selene-lib/default_std/roblox_base.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad388a10..0e6a62ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased](https://github.com/Kampfkarren/selene/compare/0.27.1...HEAD) +### Added +- Added `Path2DControlPoint.new` to the Roblox standard library ## [0.27.1](https://github.com/Kampfkarren/selene/releases/tag/0.27.1) - 2024-04-28 ### Fixed diff --git a/selene-lib/default_std/roblox_base.yml b/selene-lib/default_std/roblox_base.yml index 6d99221b..6be6df1b 100644 --- a/selene-lib/default_std/roblox_base.yml +++ b/selene-lib/default_std/roblox_base.yml @@ -349,6 +349,18 @@ globals: OverlapParams.new: args: [] must_use: true + Path2DControlPoint.new: + args: + - required: false + type: + display: UDim2 + - required: false + type: + display: UDim2 + - required: false + type: + display: UDim2 + must_use: true PathWaypoint.new: args: - required: false From 23411d5b4674adf09ec6b8dc79e035a1538237b7 Mon Sep 17 00:00:00 2001 From: LinuxOnTheDesktop <47056543+LinuxOnTheDesktop@users.noreply.github.com> Date: Sat, 29 Jun 2024 00:43:44 +0100 Subject: [PATCH 2/2] Amend installation.md so as to make its instruction about `--no-default-features` harder to misunderstand (#607) Closes #606. --- docs/src/cli/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/cli/installation.md b/docs/src/cli/installation.md index 696021c9..49f8cd38 100644 --- a/docs/src/cli/installation.md +++ b/docs/src/cli/installation.md @@ -16,4 +16,4 @@ cargo install --branch main --git https://github.com/Kampfkarren/selene selene ``` ### Disabling Roblox features -selene is built with Roblox specific lints by default. If you don't want these, type `--no-default-features` after whichever command you choose. +selene is built with Roblox specific lints by default. If you don't want these, then pass `--no-default-features` to the `cargo install` command.