Releases: humanmade/coding-standards
Releases · humanmade/coding-standards
1.2.0
What's Changed
- Add new Isset sniff by @tfrommen in #236
- Update custom escaping functions for clean_html by @rmccue in #264
- Require spaces in template strings by @tfrommen in #256
- Ignore "use" within "class" in OrderSniff by @kadamwhite in #271
- Add
dealerdirect/phpcodesniffer-composer-installer
toallow-plugins
incomposer.json
by @ntwb in #284 - Update PHPCS to support PHP 8+ by @johnbillion in #282
New Contributors
- @johnbillion made their first contribution in #282
Full Changelog: v1.1.3...v1.2.0
1.1.3
What's Changed
- Bump ini from 1.3.5 to 1.3.7 by @dependabot in #242
- Support ESLint v6 & v7 in
peerDependencies
by @ntwb in #222
Full Changelog: v1.1.2...v1.1.3
1.1.2
What's Changed
- Exclude doc param alignment rules by @roborourke in #239
- Retroactively update changelog by @kadamwhite in #241
Full Changelog: v1.1.1...v1.1.2
v1.1.1
-
Added ESLint eslint-plugin-import plugin to enforce consistent ordering of import statements in JavaScript module files #219, #84
-
Added ESLint eslint-plugin-jsdoc plugin #218
-
Added ESLint eslint-plugin-sort-destructure-keys plugin #218
-
Make JSX property sorting case-insensitive #217
-
Support 'relation' element in meta query sniff #232
1.0.0
Added:
- Added
WordPress-Docs
by default in PHPCS #177 - Added ESLint rule for requiring docblocks #209
- Added ESLint rule for JSX boolean values #183
- Added ESLint rule for sorting JSX props #195
- Added ESLInt Rules of Hooks ruleset #197
- Allow
$namespace.php
in function files #99 - Added Lerna for publishing packages #175
Updated:
- Adjust Stylelint class and ID selector patterns #199
- Updated WPCS to 2.2.1 #151
- Updated VIPCS to 2.0.0 #151
- Updated DealerDirect to 0.6 #151
- Fixed
FunctionCallSignature
inconsistency in phpcbf #200 - Allow for multiple variable assignments #201
- Allow for theme filenames when sniffing filename #202
- Updated
.editorconfig
for YAML & Markdown files #175
Changed:
- Formatted
package.json
files with tabs #175 - Moved ESLint
.editorconfig
to project root #175 - Renamed root
readme.md
toREADME.md
#175 - Updated
composer.json
description #175 - Updated
package.json
files meta #175
Removed:
0.8.0
Added:
- Added PHPCS Rule to Detect Consecutive Newlines #168
- Enforce semicolons in JS #169
- Added
WordPress.Security.EscapeOutput
PHPCS rule #166 - Added PHPCompatibilityWP standard to PHPCS #81
- Disallowed usage of
!important
in CSS #164 - Enforced consistent curly newlines in jsx #172
- Added
eslint-plugin-sort-destructure-keys
package #179