Skip to content

Commit cbce861

Browse files
style: require new line at the end of file (#1874)
1 parent 52c315a commit cbce861

File tree

15 files changed

+16
-15
lines changed

15 files changed

+16
-15
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"react/react-in-jsx-scope": 1,
2121
"no-console": 0,
2222
"no-case-declarations": 0,
23-
"quotes": ["error", "single"]
23+
"quotes": ["error", "single"],
24+
"eol-last": ["error", "always"]
2425
}
2526
}

src/components/ColumnsConfiguration/ColumnConfigurationItem.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ export default ({ name, handleColumnDragDrop, index, onChangeVisible, visible })
4040
</div>
4141
</section>
4242
));
43-
};
43+
};

src/components/GeoPointInput/GeoPointInput.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ export default class GeoPointInput extends React.Component {
5252
</div>
5353
);
5454
}
55-
}
55+
}

src/components/IntervalInput/IntervalInput.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ IntervalInput.propTypes = {
4545
count: PropTypes.number.isRequired,
4646
unit: PropTypes.oneOf(['minute', 'hour']),
4747
onChange: PropTypes.func.isRequired
48-
};
48+
};

src/components/PushCerts/PushCerts.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ PushCerts.propTypes = {
5959
),
6060
};
6161

62-
export default PushCerts;
62+
export default PushCerts;

src/components/Sidebar/AppName.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ const AppName = ({ name, onClick, onPinClick }) => (
1515
</div>
1616
);
1717

18-
export default AppName;
18+
export default AppName;

src/components/TimeInput/TimeInput.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ let TimeInput = ({ hours, minutes, onChange }) => {
4040
);
4141
};
4242

43-
export default TimeInput;
43+
export default TimeInput;

src/components/Tooltip/PopperTooltip.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ const PopperTooltip = (props) => {
3131
);
3232
}
3333

34-
export default PopperTooltip;
34+
export default PopperTooltip;

src/dashboard/Data/Browser/LoginDialog.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ export default class LoginDialog extends React.Component {
109109

110110
LoginDialog.contextTypes = {
111111
currentApp: PropTypes.instanceOf(ParseApp)
112-
};
112+
};

src/lib/Email.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ export function suggestion(email, checkTLD) {
148148
return null;
149149
}
150150
return match[1] + '@' + closestDomain;
151-
}
151+
}

0 commit comments

Comments
 (0)