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

Older built-in Node modules such as `fs` now can be imported via either their name or `node:` + their name: ```js import fs from "fs"; import fs from "node:fs"; ```...

This gets found: ```typescript import fs from 'fs' fs.readdirSync() // 1 error ``` This does not get found: ```typescript import { readdirSync } from 'fs' readdirSync() // 0 errors ```

"eslint": "^8.23.1", "eslint-import-resolver-typescript": "^3.5.1" "eslint-plugin-import": "^2.26.0", This import is legal, but it is not compatible with this way of writing ts

We would love to have this repo added to the official [`@eslint-community` organization on GitHub](https://github.com/eslint-community). As you can read in [the '`@eslint-community` GitHub organization' RFC](https://github.com/eslint/rfcs/tree/main/designs/2022-community-eslint-org), the goal of this new...

Versions: eslint-plugin-node 11.1.0, eslint 8.23.0, node 14.20 Hi, I have a monorepo with a shared root-level eslint configuration. One package in this monorepo is using mjs files. I've configured overrides...

It seems that `url.parse` and others as part of the [Legacy URL API](https://nodejs.org/docs/latest-v14.x/api/url.html#url_legacy_url_api) are no longer deprecated as of node `v14.17.0`. I don't believe they should trigger `node/no-deprecated-api`. This was...

The example is not quite complete as it doesn't mention that "node" should be added to the list of plugins (which I always forget to do).

Right now, extending `plugin:node/recommended` is "half smart". By that, I mean that it does a bunch of stuff besides just adding rules, but some of those things are a little...

When running ESLint, I get ```shell error 'import()' expressions are not supported yet node/no-unsupported-features/es-syntax ``` Where `import()` is [compatible since Node.js 13.2.0 ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#browser_compatibility) and I am using Node.js 18.15.0 ```shell...

"A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial...