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/settings
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
..
advanced-tab Prevent Logout Timer that's longer than a week. (#7253) 2019-10-17 12:25:37 -03:00
connections-tab Connections settings tab (#7013) 2019-08-15 18:37:18 -02:30
contact-list-tab Enforce a single boolean attr notation in JSX (#7465) 2019-11-18 19:53:41 -03:30
info-tab Update buttons & colors to match design system (#6446) 2019-04-16 17:05:22 -02:30
networks-tab Refactor validation function (#7187) 2019-09-18 10:57:18 -03:00
security-tab Add toggle for incoming transactions (#7049) 2019-08-21 16:12:14 -02:30
settings-tab Address various UI styling issues (#6744) 2019-07-08 15:28:35 -02:30
index.js Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30
index.scss 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
settings.component.js Add breadcrumb spacing on Contacts page (#7087) 2019-08-31 13:01:53 -03:00
settings.container.js Connections settings tab (#7013) 2019-08-15 18:37:18 -02:30