Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makotot/eslint-plugin-config-itself
A ESLint plugin for ESLint config itself
https://github.com/makotot/eslint-plugin-config-itself
eslint eslint-plugin
Last synced: 7 days ago
JSON representation
A ESLint plugin for ESLint config itself
- Host: GitHub
- URL: https://github.com/makotot/eslint-plugin-config-itself
- Owner: makotot
- Created: 2023-12-22T15:32:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-25T16:52:22.000Z (11 months ago)
- Last Synced: 2024-10-12T17:21:55.127Z (about 1 month ago)
- Topics: eslint, eslint-plugin
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/eslint-plugin-config-itself
- Size: 106 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# eslint-plugin-config-itself
> A ESLint plugin for ESLint config itself
flat config is not supported now.
## Install
```sh
$ npm i -D eslint-plugin-config-itself
```## Usage
Add `config-itself` to the plugins section of your `.eslintrc.js` configuration file. You can omit the `eslint-plugin-` prefix:
```js
module.exports = {
plugins: ['config-itself'],
}
```## Supported rules
| Name | Description |
| -------------------------------------------------------------- | -------------------------------------------------------------- |
| [`max-warn-level-rules`](./docs/rules/max-warn-level-rules.md) | Enforce a maximum number of warn level rules in `.eslintrc.js` |## License
MIT