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

Node has stable support for ES6 modules since 13.2.0.

README.md contains URLs for 26 rules (+2 deprecated total 28). But there are 39 .md files exists in docs/rules/*

documents

Hello I noticed that `no-unpublished-require` and `no-unpublished-import` doesn't hit if the module isn't present in `devDependencies`. As the dependency tree is being flattened during `npm install`, nested dependencies can end...

Native ESM is not very friendly to using extensions for packages. Though one can whitelist use of ".js" for an explicit path per https://nodejs.org/api/packages.html#packages_package_entry_points , I see no way to...

Both `no-unpublished-require` and `no-unpublished-import` don't hit for `TSImportEqualsDeclaration`s. `TSImportEqualsDeclaration`s are used for importing `module.exports = ...`-modules: https://astexplorer.net/#/gist/183ce7147939bf8ce2fe99dee613df2e/e12c8eef59ec8a973aef7975d9f8b57dc44ac4da

Hi there, I was wondering if this plugin (or any other) includes a rule for this use case, that is enforcing lowercase/camelCase naming for variables derived from default require calls,...

This PR adds a syntax check for ES2021 to the `node/no-unsupported-features/es-syntax` rule.

This PR adds a builtins check for ES2021 to the `node/no-unsupported-features/es-builtins` rule.

According to [Node's documentation](https://nodejs.org/api/process.html#process_process_report) `process.report` is no longer experimental as of Node v13.12.0, v12.17.0, but I still get a warning even though my package.json has `engines: "14.16.1"` ![image](https://user-images.githubusercontent.com/2885351/114214128-ef2bbb80-9931-11eb-8d10-9fd2150408af.png)

bug