eslint-config-sec
v1.0.0
Published
Linting rules for safe and secure client code
Downloads
2
Maintainers
Readme
eslint-config-sec
Linting rules for safe and secure client code
Rules
Extends eslint-plugin-no-unsanitized
(see docs)
no-eval
- eval('evil code')no-implied-eval
- same as evalradix
- parseInt('12345', 10) without radixno-debugger
- disallow debugger; in codeno-new-func
- new Function('evil code')
Usage
Add this to .eslintrc.js
file:
"extends": [
"eslint-config-sec"
]