Vercel's engineering style guide
MPL-2.0 License
Bot releases are visible (Hide)
Published by vercel-release-bot about 2 years ago
prettier-plugin-packagejson
to improve peer deps (8100b30)Published by vercel-release-bot about 2 years ago
jest/unbound-method
to TypeScript files only (df8a5f5)Published by vercel-release-bot about 2 years ago
@typescript-eslint/prefer-nullish-coalescing
(0b2dcea)@typescript-eslint/strict
(65f2cc9), closes #28
playwright
config (0180600), closes #22
next
on next/recommended
(b1cf7b3)react/no-unknown-property
(41e2fad)@typescript-eslint/explicit-function-return-type
(19e8188)@typescript-eslint/no-redundant-type-constituents
(6109def), closes #2
import/no-extraneous-dependencies
(fb5a84e), closes #37
no-constant-binary-expression
(911ec00), closes #23
react/hook-use-state
(b8ce4a0), closes #1
react/jsx-no-leaked-render
(f2cfc32)react/no-unstable-nested-components
(4f8c60f), closes #20
unicorn/prefer-node-protocol
(eb8deb2), closes #36
jest/unbound-method
over @typescript-eslint/unbound-method
(b7b3cbc)jsx-a11y
components (82808ab), closes #30
import/order
configuration (e4d92d3), closes #13
react/jsx-no-useless-fragment
(d1f08d3), closes #24
prettier-plugin-packagejson
(1b41033), closes #4
jsx-a11y
must now be defined in settings.typescript
config now extends strict
from @typescript-eslint
.eslint-plugin-jsx-a11y
. For instructions, see: https://github.com/vercel/style-guide#configuring-custom-components-for-jsx-a11y
Published by vercel-release-bot about 2 years ago
Published by vercel-release-bot about 2 years ago
Published by vercel-release-bot about 2 years ago
Published by vercel-release-bot about 2 years ago
Published by vercel-release-bot about 2 years ago
Published by vercel-release-bot about 2 years ago
Published by vercel-release-bot about 2 years ago
@typescript-eslint/strict
(65f2cc9), closes #28
playwright
config (0180600), closes #22
next
on next/recommended
(b1cf7b3)@typescript-eslint/explicit-function-return-type
(19e8188)@typescript-eslint/no-redundant-type-constituents
(6109def), closes #2
import/no-extraneous-dependencies
(fb5a84e), closes #37
no-constant-binary-expression
(911ec00), closes #23
react/hook-use-state
(b8ce4a0), closes #1
react/jsx-no-leaked-render
(f2cfc32)react/no-unstable-nested-components
(4f8c60f), closes #20
unicorn/prefer-node-protocol
(eb8deb2), closes #36
jest/unbound-method
over @typescript-eslint/unbound-method
(b7b3cbc)jsx-a11y
components (82808ab), closes #30
import/order
configuration (e4d92d3), closes #13
react/jsx-no-useless-fragment
(d1f08d3), closes #24
prettier-plugin-packagejson
(1b41033), closes #4
jsx-a11y
must now be defined in settings.Published by mrmckeb over 2 years ago
no-implicit-coercion
capIsNew
for new-cap
rulereportUnusedDisableDirectives
eslint@^8.8.0
and prettier@^2.5.1
are now required.@vercel/style-guide/eslint
should now extend @vercel/style-guide/eslint/browser
or @vercel/style-guide/eslint/node
.