1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages
Whymarrh Whitby b0890b6b32
Enforce a single boolean attr notation in JSX (#7465)
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`).
2019-11-18 19:53:41 -03:30
..
add-token Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
confirm-add-suggested-token Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
confirm-add-token Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
confirm-approve Enforce a single boolean attr notation in JSX (#7465) 2019-11-18 19:53:41 -03:30
confirm-deploy-contract Disable unnecessary curly braces in JSX (#7454) 2019-11-18 11:38:47 -03:30
confirm-send-ether Disable unnecessary curly braces in JSX (#7454) 2019-11-18 11:38:47 -03:30
confirm-send-token Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
confirm-token-transaction-base Fix confirm token transaction amount display (#7081) 2019-08-31 13:26:49 -03:00
confirm-transaction New signature request v3 UI (#6891) 2019-11-04 09:10:46 -03:30
confirm-transaction-base Enforce a single boolean attr notation in JSX (#7465) 2019-11-18 19:53:41 -03:30
confirm-transaction-switch 4byte fallback (#6551) 2019-06-18 09:47:14 -02:30
create-account Enforce a single boolean attr notation in JSX (#7465) 2019-11-18 19:53:41 -03:30
first-time-flow Disable unnecessary curly braces in JSX (#7454) 2019-11-18 11:38:47 -03:30
home Add migration notification for users with Sai (#7450) 2019-11-18 18:16:28 -03:30
keychains Add migration on 3box imports and remove feature flag (#7209) 2019-09-26 03:24:52 -04:00
lock Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
mobile-sync Update mobile sync (#6967) 2019-08-06 15:33:41 -04:00
provider-approval Fix provider approval metadata (#7349) 2019-11-04 17:28:50 -04:00
routes Revert "Adds Wyre Widget (#6434)" (#7385) 2019-11-11 16:18:57 -05:00
send Enforce a single boolean attr notation in JSX (#7465) 2019-11-18 19:53:41 -03:30
settings Enforce a single boolean attr notation in JSX (#7465) 2019-11-18 19:53:41 -03:30
unlock-page Open retore-vault route from popup (#6353) 2019-03-26 23:35:29 -07:00
index.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
index.scss Redesign approve screen (#7271) 2019-11-05 11:43:48 -03:30