0.0.1 • Published 7 months ago
eslint-plugin-cursor v0.0.1
eslint-plugin-cursor
An ESLint plugin to detect garbled characters (�).
This plugin automatically detects garbled characters in source code and warns developers, enabling early detection of character encoding issues.
Features
- Detection of U+FFFD (REPLACEMENT CHARACTER)
- Precise identification of garbled character locations
- Full support for Japanese source code
Installation
npm install --save-dev eslint-plugin-cursor
Usage
Add the following to your .eslintrc
:
{
"plugins": ["cursor"],
"extends": ["plugin:cursor/recommended"]
}