Skip to content

Commit

Permalink
Merge branch 'main' into fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscerie authored Nov 10, 2023
2 parents de9aeba + 13de5c8 commit 6f3631b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Added new [`mixed_table` lint](https://kampfkarren.github.io/selene/lints/mixed_table.html), which will warn against mixed tables.
- Added `bit32.byteswap` to Luau standard library
- Added `buffer` library to Luau standard library
- Added `SharedTable` to Roblox standard library
- Added new [`--fix`](https://kampfkarren.github.io/selene/cli/usage.html#fix) flag, which will automatically apply lint suggestions.

### Fixed
Expand Down
45 changes: 45 additions & 0 deletions selene-lib/default_std/roblox_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,51 @@ globals:
require:
args:
- type: number
SharedTable.clear:
args:
- type:
display: SharedTable
SharedTable.clone:
args:
- type:
display: SharedTable
- required: false
type: bool
must_use: true
SharedTable.cloneAndFreeze:
args:
- type:
display: SharedTable
- required: false
type: bool
must_use: true
SharedTable.increment:
args:
- type:
display: SharedTable
- type: any
- type: number
SharedTable.isFrozen:
args:
- type:
display: SharedTable
must_use: true
SharedTable.new:
args:
- required: false
type: table
must_use: true
SharedTable.size:
args:
- type:
display: SharedTable
must_use: true
SharedTable.update:
args:
- type:
display: SharedTable
- type: any
- type: function
settings:
args: []
shared:
Expand Down

0 comments on commit 6f3631b

Please sign in to comment.