Skip to content

Commit 3f9cbc5

Browse files
author
Dan Wallis
committed
Ensure array elements are indented uniformly
1 parent cb1f784 commit 3f9cbc5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 3.6.0
8+
### Added
9+
- Add rule `Generic.Arrays.ArrayIndent` to ensure array elements are indented.
10+
711
## 3.5.1
812
### Changed
913
- ESLint conflict between `no-mixed-operators` and `no-extra-parens` resolved.

src/GlobalCommon/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
</rule>
1919

2020
<!-- Arrays -->
21+
<rule ref="Generic.Arrays.ArrayIndent"/>
2122
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
2223
<rule ref="Squiz.Arrays.ArrayDeclaration">
2324
<exclude name="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"/>

0 commit comments

Comments
 (0)