Releases: vercel/style-guide
Releases · vercel/style-guide
v4.0.2
v4.0.2-canary.1
4.0.2-canary.1 (2022-09-30)
Bug Fixes
- prettier: update
prettier-plugin-packagejson
to improve peer deps (8100b30)
v4.0.1
v4.0.1-canary.1
4.0.1-canary.1 (2022-09-29)
Bug Fixes
- eslint: scope
jest/unbound-method
to TypeScript files only (df8a5f5)
v4.0.0
4.0.0 (2022-09-29)
Bug Fixes
Features
- eslint: disable
@typescript-eslint/prefer-nullish-coalescing
(0b2dcea) - eslint: add
@typescript-eslint/strict
(65f2cc9), closes #28 - eslint: add
playwright
config (0180600), closes #22 - eslint: base
next
onnext/recommended
(b1cf7b3) - eslint: disable
react/no-unknown-property
(41e2fad) - eslint: enable
@typescript-eslint/explicit-function-return-type
(19e8188) - eslint: enable
@typescript-eslint/no-redundant-type-constituents
(6109def), closes #2 - eslint: enable
import/no-extraneous-dependencies
(fb5a84e), closes #37 - eslint: enable
no-constant-binary-expression
(911ec00), closes #23 - eslint: enable
react/hook-use-state
(b8ce4a0), closes #1 - eslint: enable
react/jsx-no-leaked-render
(f2cfc32) - eslint: enable
react/no-unstable-nested-components
(4f8c60f), closes #20 - eslint: enable
unicorn/prefer-node-protocol
(eb8deb2), closes #36 - eslint: enable additional Jest style rules (db9e8ab), closes #29
- eslint: enforce consistent enum casing (21cc24a), closes #34
- eslint: prefer
jest/unbound-method
over@typescript-eslint/unbound-method
(b7b3cbc) - eslint: remove pre-defined custom
jsx-a11y
components (82808ab), closes #30 - eslint: update
import/order
configuration (e4d92d3), closes #13 - eslint: update configuration for
react/jsx-no-useless-fragment
(d1f08d3), closes #24 - prettier: add
prettier-plugin-packagejson
(1b41033), closes #4
BREAKING CHANGES
- eslint: Custom components for
jsx-a11y
must now be defined in settings. - eslint: Explicit function return types are now required in TypeScript files.
- eslint: The
typescript
config now extendsstrict
from@typescript-eslint
. - eslint: Multiple new rules have been enabled (please see above).
- eslint: You must now define custom components for
eslint-plugin-jsx-a11y
. For instructions, see: https://github.com/vercel/style-guide#configuring-custom-components-for-jsx-a11y
v4.0.0-canary.7
v4.0.0-canary.6
4.0.0-canary.6 (2022-09-28)
Features
v4.0.0-canary.5
4.0.0-canary.5 (2022-09-22)
Bug Fixes
- eslint: add global to ignored unknown react properties (aba268d)
v4.0.0-canary.4
4.0.0-canary.4 (2022-09-22)
Bug Fixes
- eslint: disable typescript prefer-nullish-coalescing (0b2dcea)