Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 2.11 KB

File metadata and controls

45 lines (27 loc) · 2.11 KB

Migration guide for @dotcom-reliability-kit/eslint-config

This document outlines how to migrate to the latest version of the Reliability Kit eslint-config package. Throughout this guide we use the following emoji and labels to indicate the level of change required:

Emoji Label Meaning
🔴 Breaking A breaking change which will likely require code or config changes to resolve
🟠 Possibly Breaking A breaking change that is unlikely to require code changes but things outside of the code (e.g. logs) may have changed

Migrating from v1 to v2

Additional default ESLint rules added (v2)

🟠 Possibly Breaking: this version adds a few new ESLint rules to the default configuration, the following rules now error:

You may need to make changes to your code if these linting errors are found.

Migrating from v2 to v3

Node.js 16 is no longer supported

🔴 Breaking: this version drops support for Node.js v16. If your app is already using Node.js v18 or above then you can migrate with no code changes.

Migrating from v3 to v4

Node.js 18 is no longer supported

🔴 Breaking: this version drops support for Node.js v18. If your app is already using Node.js v20 or above then you can migrate with no code changes.