UNPKG

eslint-plugin-weblint-security

Version:

ESLint rules for enhanced security - even for React and Node.js!

6 lines (5 loc) 259 B
const myOddlyNamedApp = require('express'); const myHelmetImport = require('helmet'); // Helmet is imported, but never used. The namings are weird to display implementation versatility. myOddlyNamedApp.use(myHelmetImport()); myOddlyNamedApp.listen(8080);