Skip to content

regexp/no-control-character

💡 This rule is manually fixable by editor suggestions.

disallow control characters

📖 Rule Details

This rule reports control characters.

This rule is inspired by the no-control-regex rule. The positions of reports are improved over the core rule and suggestions are provided in some cases.

Now loading...

🔧 Options

Nothing.

📚 Further reading

🚀 Version

This rule was introduced in eslint-plugin-regexp v1.2.0

🔍 Implementation