ESLint plugin for @kazupon
[!WARNING]
This eslint-plugin is a rule that Iβve made as I needed it to advance the open-source project.
Therefore, updates are often made, and sometimes there are also destructive changes.
This eslint-plugin is open-source, so you can use it for your own projects, but please keep in mind that this plugin is specialized for my own use.
Of course, since it is open-source, you are free to fork it and use it yourself π.
# npm
npm install --save-dev @kazupon/eslint-plugin
## yarn
yarn add -D @kazupon/eslint-plugin
## pnpm
pnpm add -D @kazupon/eslint-plugin
## bum
bun add -D @kazupon/eslint-plugin
eslint.config.[js|ts], not support legacy config style .eslintrcExample eslint.config.js:
import { defineConfig } from 'eslint/config'
import kazupon from '@kazupon/eslint-plugin'
export default defineConfig(
...kazupon.configs.recommended,
{
// ...
}
// ... something other configurations
)
The --fix option on the command line automatically fixes problems reported by rules which have a wrench π§ below.
The rules with the following star β are included in the configs.
@kazupon/eslint-plugin Rules| Rule ID | Description | Category | Fixable | RECOMMENDED |
|---|---|---|---|---|
| @kazupon/enforce-header-comment | Enforce heading the comment in source code file | Comment | β | |
| @kazupon/no-tag-comments | disallow tag comments | Comment | β | |
| @kazupon/prefer-inline-code-words-comments | enforce the use of inline code for specific words on comments | Comment | π§ | β |
| @kazupon/prefer-scope-on-tag-comment | enforce adding a scope to tag comments | Comment | β |
If you are interested in contributing to gunshi, I highly recommend checking out the contributing guidelines here. Youβll find all the relevant information such as how to make a PR, how to setup development) etc., there.
This project is inspired by:
README.md and docs/**/*.md, inspired by ota-meshiThank you!
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.