Skip to content

Commit 2d3fddf

Browse files
committed
style(eslint): force spacing inside {}
1 parent 84b5b14 commit 2d3fddf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ module.exports = defineConfig({
6262
},
6363

6464
rules: {
65+
'object-curly-spacing': ['error', 'always'],
6566
'consistent-return': 'error',
6667
'dot-notation': 'error',
6768
eqeqeq: ['error', 'always', { 'null': 'ignore' }],

app/javascript/mastodon/features/compose/containers/upload_button_container.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {connect} from 'react-redux';
1+
import { connect } from 'react-redux';
22

3-
import {uploadCompose} from '../../../actions/compose';
3+
import { uploadCompose } from '../../../actions/compose';
44
import UploadButton from '../components/upload_button';
55

66
const mapStateToProps = state => {

0 commit comments

Comments
 (0)