You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 9, 2025. It is now read-only.
feat: Replace deprecated eslint-plugin-node with eslint-plugin-n (#119)
eslint-plugin-node is deprecated now.
BREAKING CHANGE: Since we switched from eslint-plugin-node to eslint-plugin-n, this may introduce new ESLint errors in Node projects.
@@ -266,17 +266,6 @@ npm i eslint-plugin-node --save-dev
266
266
}
267
267
```
268
268
269
-
[`eslint-plugin-node`](https://github.com/mysticatea/eslint-plugin-node) uses the ["engines" field](https://docs.npmjs.com/files/package.json#engines) and the ["type" field](https://nodejs.org/api/esm.html#esm_enabling) in your `package.json` to check for compatibility issues. We recommend the following configuration:
270
-
271
-
```json
272
-
{
273
-
"type": "module",
274
-
"engines": {
275
-
"node": ">=14.0.0"
276
-
}
277
-
}
278
-
```
279
-
280
269
### [`peerigon/react`](react.js)
281
270
282
271
**Important: Requires [`eslint-plugin-react`](https://github.com/yannickcr/eslint-plugin-react), [`eslint-plugin-jsx-a11y`](https://github.com/evcohen/eslint-plugin-jsx-a11y) and [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) as project dependency.**
0 commit comments