Skip to content

Support path requires with extensions - #280

Merged
jeparlefrancais merged 5 commits into
mainfrom
support-require-with-extentions
Jul 2, 2025
Merged

jeparlefrancais merged 5 commits into
mainfrom
support-require-with-extentions

Conversation

@jeparlefrancais

@jeparlefrancais jeparlefrancais commented Jun 23, 2025 •

Copy link
Copy Markdown
Contributor

Closes #266

Allow paths like name.suffix to match a file at

  • name.suffix.luau

  • name.suffix.lua

  • name.suffix/init.luau

  • name.suffix/init.lua

  • add entry to the changelog

@github-actions

github-actions Bot commented Jul 2, 2025

Copy link
Copy Markdown

Coverage after merging support-require-with-extentions into main will be

87.04%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/rules/require
   path_iterator.rs99.40%100%100%99.35%81

@jeparlefrancais
jeparlefrancais merged commit 4b75571 into main Jul 2, 2025
@jeparlefrancais
jeparlefrancais deleted the support-require-with-extentions branch July 2, 2025 21:35
@jeparlefrancais jeparlefrancais mentioned this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Darklua assumes path require's extension as explicit extension set path during convert_require

1 participant