Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upusing with eslint-plugin-security #1085
Comments
This comment has been minimized.
This comment has been minimized.
|
That plugin seems amazing! I think we should investigate adding it by default In the meantime, I would recommend you to use standardx which will allow you to add rules. Something like: {
"scripts": {
- "test": "standard && mocha"
+ "test": "standardx && mocha"
},
"dependencies": {
"standard": "^11.0.0"
+ "standardx": "^2.0.0"
+ "eslint-plugin-security": "^1.4.0"
},
+ "eslintConfig": {
+ "plugins": [
+ "security"
+ ],
+ "extends": [
+ "plugin:security/recommended"
+ ]
+ }
} |
This comment has been minimized.
This comment has been minimized.
|
We tried that suggestion and it works great. Thank you. |
lakamsani
closed this
Mar 7, 2018
This comment has been minimized.
This comment has been minimized.
|
FYI, if anyone is trying this with WebStorm, it won't work from the editor thought it will from command line/npm script. Added an issue for Jetbrains (seller of WebStorm). https://youtrack.jetbrains.com/issue/WEB-31624 |
This comment has been minimized.
This comment has been minimized.
|
Opened an issue for adding the plugin to standard: #1086 |
lock
bot
locked as resolved and limited conversation to collaborators
Jun 6, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
lakamsani commentedMar 7, 2018
Hi, is it possible to use standard.js and https://github.com/nodesecurity/eslint-plugin-security at the same time or do we have to switch back to eslint to check our code with Node Security Platform (nsp at https://nodesecurity.io/opensource).