ESLint plugin to promote diversity and inclusion in codebases by flagging offensive or insensitive terms. Version 1.0.1, released as a single stable version. It provides out-of-the-box rules for racism, profanity, gender bias, and LGBTQ+ issues, with an optional 'all' rule. Unlike other linting plugins, it focuses specifically on language inclusivity. The plugin has not been updated since 2020 and has low maintenance activity.
npm install eslint-plugin-wokeVerified import paths — ran on the pinned version, not inferred.
Shows installation and minimal ESLint config to enable all woke rules using the plugin.
Consider using a more actively maintained alternative like eslint-plugin-inclusive-language.
Ensure you are using ESLint 8 or lower, or migrate to a modern plugin.
Use individual rules for finer control.
Install both ESLint and eslint-plugin-woke globally together, or locally together.
Ensure eslint-plugin-woke is installed in the same scope as ESLint: `npm install eslint-plugin-woke --save-dev` (or `-g` for global).
Use numeric severity: 0 = off, 1 = warning, 2 = error.
Use the plugin only in ESLint configuration files; do not require() it in scripts.