https://github.com/hiro0218/eslint-plugin-ban-unko
🚫💩
https://github.com/hiro0218/eslint-plugin-ban-unko
eslint eslint-plugin
Last synced: 29 days ago
JSON representation
🚫💩
- Host: GitHub
- URL: https://github.com/hiro0218/eslint-plugin-ban-unko
- Owner: hiro0218
- Created: 2022-06-03T10:38:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T08:39:38.000Z (about 3 years ago)
- Last Synced: 2025-10-26T05:40:12.539Z (8 months ago)
- Topics: eslint, eslint-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/eslint-plugin-ban-unko
- Size: 172 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-ban-unko
ESLint plugin to ban the word "unko" and related terms from your codebase.
## Installation
You can install the plugin using npm:
```
npm install eslint-plugin-ban-unko --save-dev
```
## Usage
Add the plugin to your ESLint configuration file (e.g. `.eslintrc.js`):
```javascript
module.exports = {
plugins: ["ban-unko"],
rules: {
"ban-unko/no-unko": "error",
},
};
```
Now, any usage of the word "unko" or related terms in your codebase will trigger an error.
## Supported Words
See the following sources for currently banned words.
https://github.com/hiro0218/eslint-plugin-ban-unko/blob/main/lib/rules/no-unko.js#L1-L21