0.4.0 • Published 5 months ago

@kazupon/eslint-plugin v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@kazupon/eslint-plugin

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 😉.

💿 Installation

# 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

📋 Requirements

  • ESLint: v9 or later
  • Configuration: flat config style eslint.config.[js|ts], not support legacy config style .eslintrc
  • Node.js: v20 or later

🚀 Usage

Example eslint.config.js:

import { defineConfig } from 'eslint/config'
import kazupon from '@kazupon/eslint-plugin'

export default defineConfig(
  ...kazupon.configs.recommended,
  {
    // ...
  }

  // ... something other configurations
)

✅ Rules

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 IDDescriptionCategoryFixableRECOMMENDED
@kazupon/enforce-header-commentEnforce heading the comment in source code fileComment
@kazupon/no-tag-commentsdisallow tag commentsComment
@kazupon/prefer-scope-on-tag-commentenforce adding a scope to tag commentsComment

🙌 Contributing guidelines

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.

💖 Credits

This project is inspired by:

  • README.md and docs/**/*.md, inspired by ota-meshi

Thank you!

©️ License

MIT

0.4.0

5 months ago

0.3.0

5 months ago

0.2.2

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago