Merge branch 'eslint-indent-enforce' into 'develop'
eslint: error on wrong indentation See merge request soapbox-pub/soapbox-fe!857
This commit is contained in:
commit
b648861309
2 changed files with 4 additions and 3 deletions
|
@ -67,7 +67,7 @@ module.exports = {
|
||||||
'consistent-return': 'error',
|
'consistent-return': 'error',
|
||||||
'dot-notation': 'error',
|
'dot-notation': 'error',
|
||||||
eqeqeq: 'error',
|
eqeqeq: 'error',
|
||||||
indent: ['warn', 2],
|
indent: ['error', 2],
|
||||||
'jsx-quotes': ['error', 'prefer-single'],
|
'jsx-quotes': ['error', 'prefer-single'],
|
||||||
'no-catch-shadow': 'error',
|
'no-catch-shadow': 'error',
|
||||||
'no-cond-assign': 'error',
|
'no-cond-assign': 'error',
|
||||||
|
|
|
@ -118,6 +118,7 @@ class ProfileDropdown extends React.PureComponent {
|
||||||
to: '/auth/sign_in',
|
to: '/auth/sign_in',
|
||||||
icon: require('@tabler/icons/icons/plus.svg'),
|
icon: require('@tabler/icons/icons/plus.svg'),
|
||||||
});
|
});
|
||||||
|
|
||||||
menu.push({
|
menu.push({
|
||||||
text: intl.formatMessage(messages.logout, { acct: account.get('acct') }),
|
text: intl.formatMessage(messages.logout, { acct: account.get('acct') }),
|
||||||
to: '/auth/sign_out',
|
to: '/auth/sign_out',
|
||||||
|
|
Loading…
Reference in a new issue