eslint-plugin-react-security
eslint-plugin-react-security copied to clipboard
ESLint plugin with rules for finding security issues in React projects.
I was using this linter and I noticed that the `no-javascript-urls` rule, when linting relative URLs, on situations such as: ``` Whatever ``` The following error was thrown: ``` TypeError...
I've imported this ruleset into my application in my package.json file `"eslint-plugin-react-security": "git+ssh://[email protected]:snyk-labs/eslint-plugin-react-security.git",` I've declared the rule in my .eslintrc.js file like: ```javascript plugins: [ 'react', 'cypress', 'html', 'no-unsanitized', 'react-security',...