Releases: guardian/csnx
Releases · guardian/csnx
@guardian/[email protected]
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- used
eslint-config-prettier
to disable any white-space formatting rules that would conflict with our prettier config - 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 ourprettier
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.- via editor integration
- via a pre-commit hook
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. - linting for conformance with our
@guardian/[email protected]
Patch Changes
- Updated dependencies [0f0888d]
- @guardian/[email protected]
@guardian/[email protected]
Patch Changes
- 73631d3: Update readme links
@guardian/[email protected]
Patch Changes
- 73631d3: Update readme links
@guardian/[email protected]
Patch Changes
- Updated dependencies [73631d3]
- @guardian/[email protected]
@guardian/[email protected]
Patch Changes
- 504ad30: Security patch (https://github.com/guardian/csnx/security/dependabot/1)
@guardian/[email protected]
Major Changes
- 7860cda:
- requires
browserslist@^4.13.0
(earlier versions don't supportsupports
) - updates with last 30 days usage data (2022-07-17 to 2022-08-16)
- requires
@guardian/[email protected]
Patch Changes
-
eca1288: noop to check changesets handles pnpm's
workspace:*
syntax (again)you can safely skip this release
@guardian/[email protected]
Minor Changes
- 0aedc53: Add types to prettier config
@guardian/[email protected]
Patch Changes
- 869a565: Update readme