PHPackages                             webdevstudios/wds-coding-standards - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webdevstudios/wds-coding-standards

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

webdevstudios/wds-coding-standards
==================================

In-house linting and coding standards for WebDevStudios

2.0.1(6y ago)222.1k7[2 issues](https://github.com/WebDevStudios/WDS-Coding-Standards/issues)JavaScript

Since Dec 8Pushed 6y ago34 watchersCompare

[ Source](https://github.com/WebDevStudios/WDS-Coding-Standards)[ Packagist](https://packagist.org/packages/webdevstudios/wds-coding-standards)[ RSS](/packages/webdevstudios-wds-coding-standards/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (16)Used By (0)

WebDevStudios Coding Standards
==============================

[](#webdevstudios-coding-standards)

WebDevStudios in-house linting and coding standards for your favorite editor.

[![WebDevStudios. WordPress for big brands.](https://camo.githubusercontent.com/49083ad2ec31f613b1a1a1e5248ba5ee38d09cf189480d57be5b5683b0cca709/68747470733a2f2f77656264657673747564696f732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30342f7764732d6769746875622d62616e6e65722e706e67)](https://webdevstudios.com/contact/)

Leadership
----------

[](#leadership)

- **Aubrey Portwood (Senior BED Developer)**
    - Writes &amp; Integrates Coding Standards/Maintains Standards
- **Greg Rickaby (Director of Engineering)**
    - High level Approval / Leadership

How to Install
--------------

[](#how-to-install)

Simply grab a cup of ☕ and follow directions [here](https://github.com/WebDevStudios/WDS-Coding-Standards/wiki/Installation).

Want to Contribute?
-------------------

[](#want-to-contribute)

Please see [CONTRIBUTING.md](CONTRIBUTING.md).

---

Changelog
=========

[](#changelog)

2.0.1
-----

[](#201)

- Fixes issue where `getFilename` error happening in latest `eslint` [PR](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/74)

2.0.0
-----

[](#200)

PHPCS Upgrade Guide: [https://github.com/squizlabs/PHP\_CodeSniffer/wiki/Version-3.0-Upgrade-Guide](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Version-3.0-Upgrade-Guide)

This release updates to the new WPCS `^2.x`.

- Reworked all our custom sniffs to use new `PHP_CodeSniffer` structure [a210b73](https://github.com/WebDevStudios/WDS-Coding-Standards/commit/a210b73cd46ce76d4cfbd8eea578d4b4c3d7eab3)

1.2.0
-----

[](#120)

- WordPress Coding Standards update to `1.2.1`
- PHPCS 3.3.2 installed via composer
- Docblocks are required on function assignments in JS (see release notes)
- `@author` is suggested in docblocks in both PHP &amp; JS (see release notes)
- Documented `@return` on abstract methods will no longer show a warning about missing `@return`

### Release Notes

[](#release-notes)

This installation requires you to do an additional step to get `eslint` to work:

```
npm install -g "/path/to/WebDevStudios/eslint-plugin-webdevstudios"
```

This will install the additional ES Lint rules we've added via `eslint-plugin-webdevstudios/*` which are now going to be required to have custom ES Lint rules.

1.1.1
-----

[](#111)

- WDSCS now requires WPCS 0.14.1 #34; props @jrfoell
- `@since` is now a warning #39
- `@since` will not show a warning for files in `wp-content/themes/**` #39

1.1.0
-----

[](#110)

- `@return` and `@since` rules are in place [\#27](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/27)
- Find VIM PHPCS configuration [here](https://github.com/WebDevStudios/WDS-Coding-Standards/wiki/Installation:-PHPCS-(PHP-Linting)#editor-configuration-vim) [\#28](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/28)
- Brings over eslint rules from wd\_s and improves them to be more like old jshint rules from WordPress.org coding standards [\#10](https://github.com/WebDevStudios/WDS-Coding-Standards/issues/10) [\#22](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/22)
- How to vote is clearer in [CONTRIBUTING.md](CONTRIBUTING.md) [\#32](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/32)
- Sass linting added [\#26](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/26)

This release brings most of WDS up to par with our currently-established coding standards, of which have been missing from our linting thus-far. Props for this release go to [@aubreypwd](http://github.com/aubreypwd), [@gregrickaby](https://github.com/gregrickaby), [@JayWood](https://github.com/JayWood), [@jrfoell](https://github.com/jrfoell), and [@phatsk](https://github.com/phatsk) for all their helpful work!

1.0.1
-----

[](#101)

- Changed `WebDevStudios-phpcs` to just `WebDevStudios` for compatibility with namespaces and new sniffs added later [\#12](https://github.com/WebDevStudios/WDS-Coding-Standards/pull/12)
- Inclusion of the `WordPress-Docs` ruleset

Note, this release breaks some things. When you update to this version, you will need to update your coding standard to `WebDevStudios` vs the old `WebDevStudios-phpcs` which should no longer work.

1.0.0
-----

[](#100)

- Initial ruleset based on WordPress-Extra

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 84% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~140 days

Total

5

Last Release

2514d ago

Major Versions

1.2.0 → 2.0.02019-05-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/1871eb9cf5592f9aef06a1a2b2065ad6e24a0e5ddd7908c835a1f6d8ef4fa56e?d=identicon)[WebDevStudios](/maintainers/WebDevStudios)

![](https://www.gravatar.com/avatar/c858a06465595fdc35033f1e9edc77627794753c383a97c281e54a813a52d670?d=identicon)[aubreypwd](/maintainers/aubreypwd)

---

Top Contributors

[![aubreypwd](https://avatars.githubusercontent.com/u/1753298?v=4)](https://github.com/aubreypwd "aubreypwd (152 commits)")[![JayWood](https://avatars.githubusercontent.com/u/2303074?v=4)](https://github.com/JayWood "JayWood (14 commits)")[![gregrickaby](https://avatars.githubusercontent.com/u/200280?v=4)](https://github.com/gregrickaby "gregrickaby (7 commits)")[![jrfoell](https://avatars.githubusercontent.com/u/630830?v=4)](https://github.com/jrfoell "jrfoell (5 commits)")[![coreymcollins](https://avatars.githubusercontent.com/u/954724?v=4)](https://github.com/coreymcollins "coreymcollins (1 commits)")[![blobaugh](https://avatars.githubusercontent.com/u/806179?v=4)](https://github.com/blobaugh "blobaugh (1 commits)")[![phatsk](https://avatars.githubusercontent.com/u/990374?v=4)](https://github.com/phatsk "phatsk (1 commits)")

### Embed Badge

![Health badge](/badges/webdevstudios-wds-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/webdevstudios-wds-coding-standards/health.svg)](https://phpackages.com/packages/webdevstudios-wds-coding-standards)
```

###  Alternatives

[humanmade/coding-standards

Human Made Coding Standards

161424.0k48](/packages/humanmade-coding-standards)[flyeralarm/php-code-validator

A custom coding standard for FLYERALARM

2226.9k5](/packages/flyeralarm-php-code-validator)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1019.7k7](/packages/syde-phpcs)[awesomemotive/wpforms-phpcs

WPForms Coding Standards

147.0k](/packages/awesomemotive-wpforms-phpcs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
