Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Ensure array elements are indented uniformly
  • Loading branch information
Dan Wallis committed Sep 11, 2023
commit 3f9cbc58578b14b1901bcf2a4bdc668e324127db
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.6.0
### Added
- Add rule `Generic.Arrays.ArrayIndent` to ensure array elements are indented.

## 3.5.1
### Changed
- ESLint conflict between `no-mixed-operators` and `no-extra-parens` resolved.
Expand Down
1 change: 1 addition & 0 deletions src/GlobalCommon/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</rule>

<!-- Arrays -->
<rule ref="Generic.Arrays.ArrayIndent"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Squiz.Arrays.ArrayDeclaration">
<exclude name="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"/>
Expand Down