https://github.com/typed-sigterm/eslint-plugin-autocorrect
Integrate Autocorrect with ESLint.
https://github.com/typed-sigterm/eslint-plugin-autocorrect
eslint eslint-plugin
Last synced: 3 months ago
JSON representation
Integrate Autocorrect with ESLint.
- Host: GitHub
- URL: https://github.com/typed-sigterm/eslint-plugin-autocorrect
- Owner: typed-sigterm
- License: mit
- Created: 2025-02-08T17:33:50.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T14:20:53.000Z (3 months ago)
- Last Synced: 2025-03-28T15:27:57.537Z (3 months ago)
- Topics: eslint, eslint-plugin
- Language: TypeScript
- Homepage:
- Size: 161 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `eslint-plugin-autocorrect`
Integrate [AutoCorrect](https://github.com/huacnlee/autocorrect) with ESLint.
## Usage
Install `eslint-plugin-autocorrect` using your package manager, and add this to `eslint.config.js`:
```js
import autocorrect from 'eslint-plugin-autocorrect';
import { defineConfig } from 'eslint/config';export default defineConfig([
{
plugins: {
autocorrect,
},
rules: {
'autocorrect/issue': 'error',
},
},
]);
```The plugin provides a single rule `autocorrect/issue` to report issues found by AutoCorrect, and auto-fixes.
The plugin requires eslint >= 9.