diff --git a/.eslintrc.yml b/.eslintrc.yml
index 2176618fa4..049d4ecf34 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -64,9 +64,24 @@ rules:
strict: off
valid-typeof: error
+ react/jsx-boolean-value: error
+ react/jsx-closing-bracket-location:
+ - error
+ - line-aligned
+ react/jsx-curly-spacing: error
+ react/jsx-equals-spacing: error
+ react/jsx-first-prop-new-line:
+ - error
+ - multiline-multiprop
+ react/jsx-indent:
+ - error
+ - 2
react/jsx-no-bind: error
+ react/jsx-no-duplicate-props: error
+ react/jsx-tag-spacing: error
react/jsx-wrap-multilines: error
react/no-multi-comp: off
+ react/no-string-refs: error
react/prop-types: error
react/self-closing-comp: error
diff --git a/app/javascript/mastodon/components/account.js b/app/javascript/mastodon/components/account.js
index 9d65af46cc..960d136d33 100644
--- a/app/javascript/mastodon/components/account.js
+++ b/app/javascript/mastodon/components/account.js
@@ -55,11 +55,11 @@ class Account extends ImmutablePureComponent {
const muting = account.getIn(['relationship', 'muting']);
if (requested) {
- buttons =
-