Skip to content

Commit

Permalink
fix: restore Squiz.WhiteSpace.SuperfluousWhitespace to WPGraphQL-Extra
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Apr 5, 2024
1 parent 88b27c5 commit 23dbbaf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [2.0.0-beta.3] - @todo

This release explicitly adds `Squiz.WhiteSpace.SuperfluousWhitespace` to the `WPGraphQL-Extra` ruleset, as it is silenced by VIPCS.

### WPGraphQL-Extra
- Added `Squiz.WhiteSpace.SuperfluousWhitespace` and made explicit.

## [2.0.0-beta.2] - 2023-11-5

This release updates the ruleset based on the latest changes to WPGraphQL core (v1.18.0). Specifically:
Expand Down
13 changes: 12 additions & 1 deletion WPGraphQL-Extra/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@

<!-- The rules below are the changes from between the original sniff or parent ruleset, and what should be applied for this Standard. -->

<!-- The following rules enforce code formatting standards.-->
<!-- These formatting rules are suppressed in VIP-GO and restored here.-->
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<severity>5</severity>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines">
<severity>5</severity>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine">
<severity>5</severity>
</rule>

<!-- The following Slevomat rules enforce code formatting standards.-->
<rule ref="SlevomatCodingStandard.Classes.BackedEnumTypeSpacing" />
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing" />
<rule ref="SlevomatCodingStandard.Classes.ConstantSpacing" />
Expand Down

0 comments on commit 23dbbaf

Please sign in to comment.