mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
This changeset enables the ESLint rule enforcing a single notation for boolean attributes in JSX—explictly setting the value to `true` is no longer allowed (as it was never needed).[1] From the docs for JSX:[2] > If you pass no value for a prop, it defaults to `true`. [1]:https://github.com/yannickcr/eslint-plugin-react/blob/80935658/docs/rules/jsx-boolean-value.md [2]:https://reactjs.org/docs/jsx-in-depth.html#props-default-to-true I have chosen to use this default as it the most consistent with HTML (a la `checked` and `disabled`). |
||
---|---|---|
.. | ||
add-token | ||
confirm-add-suggested-token | ||
confirm-add-token | ||
confirm-approve | ||
confirm-deploy-contract | ||
confirm-send-ether | ||
confirm-send-token | ||
confirm-token-transaction-base | ||
confirm-transaction | ||
confirm-transaction-base | ||
confirm-transaction-switch | ||
create-account | ||
first-time-flow | ||
home | ||
keychains | ||
lock | ||
mobile-sync | ||
provider-approval | ||
routes | ||
send | ||
settings | ||
unlock-page | ||
index.js | ||
index.scss |