Last updated 5 years ago
Was this helpful?
Add to your project
npm install --save-dev eslint-plugin-security
Add the following to your .eslintrc file:
.eslintrc
"plugins": [ "security" ], "extends": [ "plugin:security/recommended" ]
"scripts": { ... "lint": "./node_modules/.bin/eslint .", "cont-int": "npm test && npm run-script lint" },
npm run cont-int