Skip to content

Releases: seek-oss/eslint-config-seek

v10.2.0

23 Feb 04:42
9137868

Choose a tag to compare

Minor Changes

  • Enable linting for more extensions: .cjs, .mjs, .cts, .mts (#90)

Patch Changes

  • Update dependencies (#91)

v10.1.3

03 Jan 21:39
6c7c27b

Choose a tag to compare

Patch Changes

  • Dependency bumps (Babel, ESLint, TypeScript) (#88)

v10.1.2

22 Nov 04:00
40c413a

Choose a tag to compare

Patch Changes

  • Allow the cypress folder to be nested (#86)

v10.1.1

03 Nov 00:28
ecdc76d

Choose a tag to compare

Patch Changes

  • Re-added missing no-undef rule for .js/.jsx files (#84)

v10.1.0

28 Oct 04:39
609e68c

Choose a tag to compare

Minor Changes

  • Enhanced TypeScript support for eslint-plugin-import via eslint-import-resolver-typescript (#81)

    This means you can:

    • import/require files with extension .cts/.mts/.ts/.tsx/.d.cts/.d.mts/.d.ts
    • Use paths defined in tsconfig.json
    • Prefer resolving @types/* definitions over plain .js/.jsx
    • Multiple tsconfigs support just like normal (i.e. in a monorepo)
    • imports/exports fields support in package.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/docs as 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

31 Aug 01:57
f184a32

Choose a tag to compare

Major Changes

  • eslint-plugin-jest 27 (#79)

    This major release includes breaking changes. See the release note for more information.

    The jest/no-alias-methods rule is now enforced to discourage usage of alias methods that will be removed in Jest 30.

    - .toBeCalled()
    + .toHaveBeenCalled()

v9.0.0

23 Mar 03:59
0968201

Choose a tag to compare

Major Changes

  • Support ESLint 8.x (#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:

    eslint-plugin-cypress is currently incompatible with ESLint 8.x. Projects that utilise Cypress should remain on ESLint 7.x.

Minor Changes

v9.0.0-beta.0

22 Mar 11:48
8858ebd

Choose a tag to compare

v9.0.0-beta.0 Pre-release
Pre-release

Major Changes

  • Support ESLint 8.x (15e26ec)

    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:

    eslint-plugin-cypress is currently incompatible with ESLint 8.x. Projects that utilise Cypress should remain on ESLint 7.x.

v8.0.0

01 Mar 03:46
2de8152

Choose a tag to compare

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)

v7.0.9

18 Oct 04:05
e4348f2

Choose a tag to compare

7.0.9 (2021-10-18)

Bug Fixes