Releases: seek-oss/eslint-config-seek
v10.2.0
v10.1.3
v10.1.2
v10.1.1
v10.1.0
Minor Changes
-
Enhanced TypeScript support for
eslint-plugin-importviaeslint-import-resolver-typescript(#81)This means you can:
import/requirefiles with extension.cts/.mts/.ts/.tsx/.d.cts/.d.mts/.d.ts- Use
pathsdefined intsconfig.json - Prefer resolving
@types/*definitions over plain.js/.jsx - Multiple tsconfigs support just like normal (i.e. in a monorepo)
imports/exportsfields support inpackage.json
Patch Changes
-
Fixed TypeScript support for
eslint-plugin-import(#81)Some rules provided by
eslint-plugin-import(e.g.import/no-duplicates,import/order) don't work or work incorrectly without it.Before — passes:
import { ComponentDocs as InternalComponentDocs } from '@monorepo/docs'; import braidSnippets from 'braid-design-system/lib/playroom/snippets'; import { Snippets } from 'playroom'; import reactElementToJsxString from 'react-element-to-jsx-string';
After — correctly identifies
@monorepo/docsas internal (as defined in sku) and moves it after the external imports:import braidSnippets from 'braid-design-system/lib/playroom/snippets'; import { Snippets } from 'playroom'; import reactElementToJsxString from 'react-element-to-jsx-string'; import { ComponentDocs as InternalComponentDocs } from '@monorepo/docs';
-
Upgrade dependencies (#81)
v10.0.0
Major Changes
-
eslint-plugin-jest 27 (#79)
This major release includes breaking changes. See the release note for more information.
The
jest/no-alias-methodsrule is now enforced to discourage usage of alias methods that will be removed in Jest 30.- .toBeCalled() + .toHaveBeenCalled()
v9.0.0
Major Changes
-
Support ESLint 8.x (#73)
We've upgraded the parsers and plugins bundled in
eslint-config-seekfor ESLint 8.x compatibility. Some linting rules have changed and may require manual triage. In particular, we've applied the following major upgrades:-
This includes changes to the recommended rule set.
-
babel-eslint→@babel/eslint-parserThis resolves the following installation warning:
babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. -
This unifies on a single
prettierconfig.
eslint-plugin-cypressis currently incompatible with ESLint 8.x. Projects that utilise Cypress should remain on ESLint 7.x. -
Minor Changes
-
Turn off
no-return-await(#74)return awaitproduces richer stack traces with a marginal performance penalty in recent Node.js versions. This tradeoff is now left to individual consumers to weigh up and optionally enforce.
v9.0.0-beta.0
Major Changes
-
Support ESLint 8.x (15e26ec)
We've upgraded the parsers and plugins bundled in
eslint-config-seekfor ESLint 8.x compatibility. Some linting rules have changed and may require manual triage. In particular, we've applied the following major upgrades:-
This includes changes to the recommended rule set.
-
babel-eslint→@babel/eslint-parserThis resolves the following installation warning:
babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. -
This unifies on a single
prettierconfig.
eslint-plugin-cypressis currently incompatible with ESLint 8.x. Projects that utilise Cypress should remain on ESLint 7.x. -
v8.0.0
Major Changes
-
Remove support for Flow (#64)
SEEK has aligned on TypeScript for static type checking. Flow support was similarly removed in sku 11.
Affected projects should migrate to TypeScript.
-
Remove support for CSS Modules (#64)
eslint-plugin-css-modules is unmaintained, and SEEK has since moved on to vanilla-extract.
Affected projects should migrate to vanilla-extract.
Patch Changes
- Detect the react version (#68)