eslint-plugin-cursor
v0.0.1
Published
ESLint plugin to detect mojibake (garbled characters) in source code
Maintainers
Readme
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-cursorUsage
Add the following to your .eslintrc:
{
"plugins": ["cursor"],
"extends": ["plugin:cursor/recommended"]
}