ESLint plugin containing Node.js security rules. This plugin will help to identify potential threats and prevent attacks.
You can read more about it here.
Install the module:
npm install --save-dev eslint-plugin-security-node # or yarn
Add the following configuration to .eslintrc
:
"plugins": [ "security-node"],"extends": [ "plugin:security-node/recommended"]
ESLint plugin to detect and stop Trojan Source attacks from entering your codebase.
You can read more about it here.
Install the module:
npm install --save-dev eslint-plugin-anti-trojan-source # or yarn
Add the following configuration to .eslintrc
:
"plugins": [ "anti-trojan-source"],"extends": [ "plugin:anti-trojan-source/recommended"]