1.0.2 • Published 4 years ago
eslint-plugin-gyg-woke v1.0.2
eslint-plugin-gyg-woke
ESLint plugin to promote diversity and inclusion in codebases.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-gyg-woke:
$ npm install eslint-plugin-gyg-woke --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-gyg-woke globally.
Usage
Add gyg-woke to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["gyg-woke"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"gyg-woke/all": 2
}
}Supported Rules
- all
- racism
- disabilities
Contributions Welcome
While this plugin attemts to call attention to as many offensive terms as possible, the work of inclusivity is never complete. Please help to expand the categories and offensive words list so that we can all benefit from our collective lived experiences.