Repository: netlify/build
Pull request #3960 (2021-12-16 15:26:34)

chore(deps): update dependency @netlify/eslint-config-node to ^4.0.1
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@netlify/eslint-config-node](https://togithub.com/netlify/eslint-config-node) | [`^4.0.0` -> `^4.0.1`](https://renovatebot.com/diffs/npm/@netlify%2feslint-config-node/4.0.0/4.0.1) | [![age](https://badges.renovateapi.com/packages/npm/@netlify%2feslint-config-node/4.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@netlify%2feslint-config-node/4.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@netlify%2feslint-config-node/4.0.1/compatibility-slim/4.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@netlify%2feslint-config-node/4.0.1/confidence-slim/4.0.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>netlify/eslint-config-node</summary>

### [`v4.0.1`](https://togithub.com/netlify/eslint-config-node/blob/HEAD/CHANGELOG.md#&#8203;401-httpswwwgithubcomnetlifyeslint-config-nodecomparev400v401-2021-12-16)

[Compare Source](https://togithub.com/netlify/eslint-config-node/compare/v4.0.0...v4.0.1)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/netlify/build).


Patch:
diff --git a/package-lock.json b/package-lock.json
index 63b48f531..5909010ba 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,7 +14,7 @@
       "devDependencies": {
         "@commitlint/cli": "^15.0.0",
         "@commitlint/config-conventional": "^15.0.0",
-        "@netlify/eslint-config-node": "^4.0.0",
+        "@netlify/eslint-config-node": "^4.0.1",
         "ava": "^3.15.0",
         "nyc": "^15.0.0",
         "tsd": "^0.19.0"
@@ -2237,9 +2237,9 @@
       }
     },
     "node_modules/@netlify/eslint-config-node": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.0.tgz",
-      "integrity": "sha512-KaUcfB4uEoTd+dUY4LvgiE3nMB2G2fE42ps03KdOwM96A8eOzvnQn+e9/c2j6yK1Sb9lxXohoqazl3XRr5PHBw==",
+      "version": "4.0.1",
+      "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.1.tgz",
+      "integrity": "sha512-0n3HbUbZ62za4PCYrPxnmXwCpHYTAon2jRrsO8HSmphqfydOseqkhM/7IYgUL/kVlMcN2FkJFWXAXnneOqPlaw==",
       "dev": true,
       "dependencies": {
         "@babel/core": "^7.13.8",
@@ -15829,7 +15829,7 @@
     },
     "packages/build": {
       "name": "@netlify/build",
-      "version": "25.0.0",
+      "version": "25.0.1",
       "license": "MIT",
       "dependencies": {
         "@bugsnag/js": "^7.0.0",
@@ -18421,9 +18421,9 @@
       "integrity": "sha512-tiKmDcHM2riSVN79c0mJY/67EBDafXQAMitHuLiCDAMdtz3kfv+NqdVG5krgf5lWR8Uf8AeZrUW5Q9RP25REvw=="
     },
     "@netlify/eslint-config-node": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.0.tgz",
-      "integrity": "sha512-KaUcfB4uEoTd+dUY4LvgiE3nMB2G2fE42ps03KdOwM96A8eOzvnQn+e9/c2j6yK1Sb9lxXohoqazl3XRr5PHBw==",
+      "version": "4.0.1",
+      "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.1.tgz",
+      "integrity": "sha512-0n3HbUbZ62za4PCYrPxnmXwCpHYTAon2jRrsO8HSmphqfydOseqkhM/7IYgUL/kVlMcN2FkJFWXAXnneOqPlaw==",
       "dev": true,
       "requires": {
         "@babel/core": "^7.13.8",
diff --git a/package.json b/package.json
index 90c079ae9..bd959dbdf 100644
--- a/package.json
+++ b/package.json
@@ -82,7 +82,7 @@
   "devDependencies": {
     "@commitlint/cli": "^15.0.0",
     "@commitlint/config-conventional": "^15.0.0",
-    "@netlify/eslint-config-node": "^4.0.0",
+    "@netlify/eslint-config-node": "^4.0.1",
     "ava": "^3.15.0",
     "nyc": "^15.0.0",
     "tsd": "^0.19.0"


Test patch:
diff --git a/packages/config/tests/env/tests.mjs b/packages/config/tests/env/tests.mjs
index aef97ded4..f2beae5b3 100644
--- a/packages/config/tests/env/tests.mjs
+++ b/packages/config/tests/env/tests.mjs
@@ -1,4 +1,3 @@
-/* eslint-disable max-lines */
 import test from 'ava'
 
 import { getFixtureConfig, startServer } from '../helpers/main.js'
@@ -444,4 +443,3 @@ test('Does not allow overridding readonly environment variables', async (t) => {
   } = await getFixtureConfig(t, 'readonly')
   t.is(REVIEW_ID, undefined)
 })
-/* eslint-enable max-lines */
diff --git a/packages/config/tests/load/tests.mjs b/packages/config/tests/load/tests.mjs
index 42962d7bc..87585f3a7 100644
--- a/packages/config/tests/load/tests.mjs
+++ b/packages/config/tests/load/tests.mjs
@@ -1,4 +1,3 @@
-/* eslint-disable max-lines */
 import { unlink, writeFile } from 'fs'
 import { relative } from 'path'
 import { cwd } from 'process'
@@ -197,4 +196,3 @@ test('featureFlags can be used in the CLI', async (t) => {
 test('featureFlags can be not used', async (t) => {
   await runFixture(t, 'empty', { flags: { featureFlags: undefined, debug: true } })
 })
-/* eslint-enable max-lines */
diff --git a/packages/config/tests/validate/tests.mjs b/packages/config/tests/validate/tests.mjs
index bba913243..d1da74c2d 100644
--- a/packages/config/tests/validate/tests.mjs
+++ b/packages/config/tests/validate/tests.mjs
@@ -1,4 +1,3 @@
-/* eslint-disable max-lines */
 import test from 'ava'
 
 import { runFixture } from '../helpers/main.js'
@@ -200,4 +199,3 @@ test('Validates inlineConfig', async (t) => {
   const inlineConfig = { build: { command: false } }
   await runFixture(t, 'empty', { flags: { inlineConfig } })
 })
-/* eslint-enable max-lines */
diff --git a/packages/git-utils/tests/main.mjs b/packages/git-utils/tests/main.mjs
index f8a0c2be2..3b1b2ea89 100644
--- a/packages/git-utils/tests/main.mjs
+++ b/packages/git-utils/tests/main.mjs
@@ -13,7 +13,6 @@ const DEFAULT_OPTS = { base: BASE, head: HEAD }
 
 test('Should define all its methods and properties', (t) => {
   const git = getGitUtils(DEFAULT_OPTS)
-  // eslint-disable-next-line fp/no-mutating-methods
   t.deepEqual(Object.keys(git).sort(), [
     'commits',
     'createdFiles',
@@ -54,12 +53,10 @@ const LINES_OF_CODE = 163
 
 test.serial('Should allow using the environment variable CACHED_COMMIT_REF', (t) => {
   try {
-    // eslint-disable-next-line fp/no-mutation
     env.CACHED_COMMIT_REF = BASE
     const { linesOfCode } = getGitUtils({ head: HEAD })
     t.is(linesOfCode, LINES_OF_CODE)
   } finally {
-    // eslint-disable-next-line fp/no-delete
     delete env.CACHED_COMMIT_REF
   }
 })