eslint-plugin-node icon indicating copy to clipboard operation
eslint-plugin-node copied to clipboard

Additional ESLint's rules for Node.js

Results 116 eslint-plugin-node issues
Sort by recently updated
recently updated
newest added

Right now you have to either use `dns.promises.setServers([ ... ])` or use the ignore line. `dns.promises.setServers` does not actually return a Promise, and will actually error if you call it...

semver < 7.5.2 has vulnerability due to a ReDoS. You're currently on 6.1.0. * https://security.snyk.io/package/npm/semver * [GHSA-c2qf-rxjj-qqgw](https://github.com/advisories/GHSA-c2qf-rxjj-qqgw) Please take a look at #345 at the same time.

The `version` field is useful to specify a default/baseline version to target if the package does not explicitly specify [engines](https://docs.npmjs.com/files/package.json#engines) field. This is sensible, as these rules are usually pulled...

Node 18 comes with a native test runner. Suggesting to add rules to disallow skipping or running exclusive tests. The mocha plugin offers these and it currently works for the...

For some reason, in the latest release of this plugin - importing or requiring of 'node:test' or 'test'. results in the rule `n/no-missing-import` to falsely report `"node:test" is not found`

Official NodeJS doc & history: https://nodejs.org/api/crypto.html#cryptorandomintmin-max-callback