diff --git a/.eslintrc b/.eslintrc index 32379e857..2082d1ec5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -149,6 +149,7 @@ "padded-blocks": "off", "quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}], "react/jsx-curly-brace-presence": [2, { "props": "never", "children": "never" }], + "react/jsx-equals-spacing": 2, "react/no-deprecated": 0, "react/default-props-match-prop-types": 2, "semi": [2, "never"], diff --git a/ui/app/components/app/confirm-page-container/confirm-detail-row/tests/confirm-detail-row.component.test.js b/ui/app/components/app/confirm-page-container/confirm-detail-row/tests/confirm-detail-row.component.test.js index 4ef866630..d057bd449 100644 --- a/ui/app/components/app/confirm-page-container/confirm-detail-row/tests/confirm-detail-row.component.test.js +++ b/ui/app/components/app/confirm-page-container/confirm-detail-row/tests/confirm-detail-row.component.test.js @@ -17,12 +17,12 @@ describe('Confirm Detail Row Component', function () { errorType="mockErrorType" label="mockLabel" showError={false} - primaryText = "mockFiatText" - secondaryText = "mockEthText" - primaryValueTextColor= "mockColor" - onHeaderClick= {propsMethodSpies.onHeaderClick} - headerText = "mockHeaderText" - headerTextClassName = "mockHeaderClass" + primaryText="mockFiatText" + secondaryText="mockEthText" + primaryValueTextColor="mockColor" + onHeaderClick={propsMethodSpies.onHeaderClick} + headerText="mockHeaderText" + headerTextClassName="mockHeaderClass" /> ) }) diff --git a/ui/app/components/app/dropdowns/tests/dropdown.test.js b/ui/app/components/app/dropdowns/tests/dropdown.test.js index cba4b30b7..f7c1e31b1 100644 --- a/ui/app/components/app/dropdowns/tests/dropdown.test.js +++ b/ui/app/components/app/dropdowns/tests/dropdown.test.js @@ -12,9 +12,9 @@ describe('Dropdown', () => { beforeEach(() => { wrapper = shallow( ) diff --git a/ui/app/components/app/dropdowns/tests/menu.test.js b/ui/app/components/app/dropdowns/tests/menu.test.js index ce7f1877f..c98a829ec 100644 --- a/ui/app/components/app/dropdowns/tests/menu.test.js +++ b/ui/app/components/app/dropdowns/tests/menu.test.js @@ -11,7 +11,7 @@ describe('Dropdown Menu Components', () => { beforeEach(() => { wrapper = shallow( - + ) }) @@ -29,10 +29,10 @@ describe('Dropdown Menu Components', () => { beforeEach(() => { wrapper = shallow( ) }) @@ -74,7 +74,7 @@ describe('Dropdown Menu Components', () => { beforeEach(() => { wrapper = shallow() }) diff --git a/ui/app/components/app/dropdowns/tests/network-dropdown-icon.test.js b/ui/app/components/app/dropdowns/tests/network-dropdown-icon.test.js index ecc00a0fd..ed7b7e253 100644 --- a/ui/app/components/app/dropdowns/tests/network-dropdown-icon.test.js +++ b/ui/app/components/app/dropdowns/tests/network-dropdown-icon.test.js @@ -8,10 +8,10 @@ describe('Network Dropdown Icon', () => { beforeEach(() => { wrapper = shallow() }) diff --git a/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js b/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js index 84c1ddeb5..36a3b67d3 100644 --- a/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js +++ b/ui/app/components/ui/page-container/page-container-footer/tests/page-container-footer.component.test.js @@ -12,12 +12,12 @@ describe('Page Footer', () => { beforeEach(() => { wrapper = shallow() }) diff --git a/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js b/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js index 1e055d4d4..456e6aec7 100644 --- a/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js +++ b/ui/app/components/ui/page-container/page-container-header/tests/page-container-header.component.test.js @@ -13,13 +13,13 @@ describe('Page Container Header', () => { onClose = sinon.spy() wrapper = shallow() })