Skip to content

Releases: guardian/csnx

@guardian/[email protected]

19 Aug 11:17
fd93082
Compare
Choose a tag to compare

Major Changes

  • 0f0888d: tl;dr

    • linting for conformance with our prettier config is slow
    • to speed up linting, we will stop doing that
    • you should use prettier directly

    Before

    We extended plugin:prettier/recommended which

    1. used eslint-config-prettier to disable any white-space formatting rules that would conflict with our prettier config
    2. used eslint-plugin-prettier to lint for formatting errors that did not match our prettier config

    This is quite expensive, and although it means you could use --fix to apply prettier, it's not as fast as using prettier directly.

    After

    We still use eslint-config-prettier to avoid conflicts with our prettier config, but we no longer lint for errors (and therefore also don't fix them).

    Recommendations

    Your project should handle prettier formatting in another way, e.g.

    If you prefer the way this used to work (applying prettier formatting as part of linting), add the eslint-plugin-prettier manually to your ESLint config.

@guardian/[email protected]

19 Aug 11:17
fd93082
Compare
Choose a tag to compare

Patch Changes

@guardian/[email protected]

17 Aug 11:02
8aff2ce
Compare
Choose a tag to compare

Patch Changes

@guardian/[email protected]

17 Aug 11:02
8aff2ce
Compare
Choose a tag to compare

Patch Changes

@guardian/[email protected]

17 Aug 11:02
8aff2ce
Compare
Choose a tag to compare

Patch Changes

@guardian/[email protected]

17 Aug 11:02
8aff2ce
Compare
Choose a tag to compare

@guardian/[email protected]

17 Aug 10:45
5763ce0
Compare
Choose a tag to compare

Major Changes

  • 7860cda:
    • requires browserslist@^4.13.0 (earlier versions don't support supports)
    • updates with last 30 days usage data (2022-07-17 to 2022-08-16)

@guardian/[email protected]

15 Aug 16:12
0654ee9
Compare
Choose a tag to compare

Patch Changes

@guardian/[email protected]

12 Aug 11:29
352f3cf
Compare
Choose a tag to compare

Minor Changes

  • 0aedc53: Add types to prettier config

@guardian/[email protected]

12 Aug 09:24
8ee009d
Compare
Choose a tag to compare

Patch Changes