diff --git a/.changeset/olive-seas-collect.md b/.changeset/olive-seas-collect.md deleted file mode 100644 index 1baca01..0000000 --- a/.changeset/olive-seas-collect.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'eslint-config-seek': major ---- - -Support ESLint 8.x - -We've upgraded the parsers and plugins bundled in `eslint-config-seek` for ESLint 8.x compatibility. Some linting rules have changed and may require manual triage. In particular, we've applied the following major upgrades: - -- [TypeScript ESLint v5](https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.0.0) - - This includes changes to the recommended rule set. - -- [`babel-eslint`](https://www.npmjs.com/package/babel-eslint) → [`@babel/eslint-parser`](https://www.npmjs.com/package/@babel/eslint-parser) - - This resolves the following installation warning: - - ```console - babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. - ``` - -- [`eslint-config-prettier` v8](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md?rgh-link-date=2021-10-18T05%3A10%3A39Z#version-800-2021-02-21) - - This unifies on a single `prettier` config. - -[`eslint-plugin-cypress`](https://github.com/cypress-io/eslint-plugin-cypress/issues/89) is currently incompatible with ESLint 8.x. Projects that utilise Cypress should remain on ESLint 7.x. diff --git a/.changeset/wicked-socks-collect.md b/.changeset/wicked-socks-collect.md deleted file mode 100644 index 70eef1f..0000000 --- a/.changeset/wicked-socks-collect.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'eslint-config-seek': minor ---- - -Turn off [`no-return-await`](https://eslint.org/docs/rules/no-return-await) - -`return await` produces [richer stack traces with a marginal performance penalty](https://github.com/goldbergyoni/nodebestpractices/blob/master@%7B2022-01-01T00:00:00Z%7D/sections/errorhandling/returningpromises.md) in recent Node.js versions. This tradeoff is now left to individual consumers to weigh up and optionally enforce. diff --git a/CHANGELOG.md b/CHANGELOG.md index dd028b9..4dec394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # eslint-config-seek +## 9.0.0 + +### Major Changes + +- Support ESLint 8.x ([#73](https://github.com/seek-oss/eslint-config-seek/pull/73)) + + We've upgraded the parsers and plugins bundled in `eslint-config-seek` for ESLint 8.x compatibility. Some linting rules have changed and may require manual triage. In particular, we've applied the following major upgrades: + + - [TypeScript ESLint v5](https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.0.0) + + This includes changes to the recommended rule set. + + - [`babel-eslint`](https://www.npmjs.com/package/babel-eslint) → [`@babel/eslint-parser`](https://www.npmjs.com/package/@babel/eslint-parser) + + This resolves the following installation warning: + + ```console + babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. + ``` + + - [`eslint-config-prettier` v8](https://github.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md?rgh-link-date=2021-10-18T05%3A10%3A39Z#version-800-2021-02-21) + + This unifies on a single `prettier` config. + + [`eslint-plugin-cypress`](https://github.com/cypress-io/eslint-plugin-cypress/issues/89) is currently incompatible with ESLint 8.x. Projects that utilise Cypress should remain on ESLint 7.x. + +### Minor Changes + +- Turn off [`no-return-await`](https://eslint.org/docs/rules/no-return-await) ([#74](https://github.com/seek-oss/eslint-config-seek/pull/74)) + + `return await` produces [richer stack traces with a marginal performance penalty](https://github.com/goldbergyoni/nodebestpractices/blob/master@%7B2022-01-01T00:00:00Z%7D/sections/errorhandling/returningpromises.md) in recent Node.js versions. This tradeoff is now left to individual consumers to weigh up and optionally enforce. + ## 8.0.0 ### Major Changes diff --git a/package.json b/package.json index cc11aa9..a45fa81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-seek", - "version": "8.0.0", + "version": "9.0.0", "description": "ESLint configuration used by SEEK", "main": ".eslintrc.js", "repository": {