Supports ESLint 9 flat config and ESLint 8 legacy config. Detects em-dashes in string literals, template literals, JSX text, and comments. Offers multiple suggestion-based fixes.
Loading
Developer Tool /
ESLint plugin that detects em-dash characters ( - ) in code - a common artifact of AI-generated code and copy-paste from rich text editors.
$npm i -D eslint-plugin-em-dash-checker
Supports ESLint 9 flat config and ESLint 8 legacy config. Detects em-dashes in string literals, template literals, JSX text, and comments. Offers multiple suggestion-based fixes.