{"library":"eslint-plugin-no-unsafe-regex","type":"library","category":null,"description":"ESLint plugin that disallows potentially unsafe regular expressions. Version 1.0.0, stable. Uses the `safe-regex` library to detect regex patterns vulnerable to ReDoS attacks, such as nested quantifiers. Integrates as an ESLint plugin with a single rule `no-unsafe-regex/no-unsafe-regex`. Differentiates from other regex linting by focusing solely on security/performance, not style. Only validates regex literals and RegExp constructor with literal arguments. Regular maintenance, no known issues.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","eslint","eslintplugin","plugin","js","style","guide","styleguide"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-no-unsafe-regex","imports":["const plugin = require('eslint-plugin-no-unsafe-regex');","// in .eslintrc: { rules: { 'no-unsafe-regex/no-unsafe-regex': 'error' } }","// in .eslintrc: { plugins: ['no-unsafe-regex'] }"]},{"cmd":"yarn add eslint-plugin-no-unsafe-regex","imports":[]},{"cmd":"pnpm add eslint-plugin-no-unsafe-regex","imports":[]}],"homepage":null,"github":"https://github.com/kgryte/eslint-plugin-no-unsafe-regex","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-no-unsafe-regex","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-no-unsafe-regex/compatibility"}}