eslint-plugin-communist-spelling weekly downloads statistics
By dprgarner · npm · ESLint plugins
Promote American values in variable names
eslint-plugin-communist-spelling has 11,426 recorded weekly downloads on npm, a decrease of 70.0% over the past 30 days, ranking #927 of 2,391 tracked listings.
About eslint-plugin-communist-spelling
eslint-plugin-communist-spelling
An ESLint plugin containing a single rule to catch variable names written in Communist Commonwealth English instead of American English. Keep them Reds out of decent American codebases.
function favouriteCountry({ colours = ["communist", "red"] }) {} // 👎😠☭
function favoriteCountry({ colors = ["red", "white", "blue"] }) {} // 👍🇺🇸🦅
...or, if you're a Godless Communist Commonwealther, the rule can be inverted to enforce Commonwealth spellings in your variable names.
In-depth documentation for the rule, the available options, and more examples of code are located here:
Installation
If using yarn:
yarn add -D eslint-plugin-communist-spelling
If using npm:
npm install --save-dev eslint-plugin-communist-spelling
Usage
Add communist-spelling to the plugins section of your .eslintrc configuration file, and communist-spelling/communist-spelling to the list of rules. You can omit the eslint-plugin- prefix:
{
"plugins": ["communist-spelling"],
"rules": {
"communist-spelling/communist-spelling": "error"
}
}
or, if using a YAML ESLint config file:
plugins:
- communist-spelling
rules:
communist-spelling/communist-spelling:
- error
Releasing
Releases to NPM are performed via Travis when tagged commits are pushed to the repo. Create a new tagged commit and bump the version in package.json with:
npm version patch
and push the new commits and tags with:
git push && git push --tags
Acknowledgements
The JSON data for spelling differences was adapted from the American-British-English-Translator. The core functionality of the tree-traversing code was adapted from the camelCase rule included in the core ESLint package.
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- american
- british
- english
- spelling
- us
- uk
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm ESLint plugins plugins
All 20 eslint-plugin-communist-spelling alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-communist-spelling. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.