Open sonicdoe opened 4 years ago
That is a great idea!
eslint-plugin-n
is the maintained version of this module.
We switched to it in eg. eslint-config-standard
/ standard
and it is maintained by me and other members of the official ESLint community organization.
Try that module out and if it isn't fixed there, then open a new issue in that project.
From Node.js’s docs on Assert’s legacy assertion mode (
require('assert')
):A rule to make sure to always use strict assertion method (
require('assert').strict
) would be quite helpful.