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

+2-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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+
}

src/lib/Filters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,4 @@ export function availableFilters(schema, currentFilters, blacklist) {
233233
return available;
234234
}
235235

236-
export const BLACKLISTED_FILTERS = [ 'containsAny', 'doesNotContainAny' ];
236+
export const BLACKLISTED_FILTERS = [ 'containsAny', 'doesNotContainAny' ];

src/lib/isInsidePopover.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export default function isInsidePopover(node) {
99
cur = cur.parentNode;
1010
}
1111
return false;
12-
}
12+
}

src/lib/stores/StateManager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ export function setGlobalState(name, state) {
6565
let prev = getGlobalState(name);
6666
globalStates[name] = state;
6767
return prev;
68-
}
68+
}

src/lib/stores/StoreManager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ export function getStore(name) {
7474
delete storeData.subscribers[id];
7575
}
7676
}
77-
}
77+
}

src/lib/subscribeTo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ export default function subscribeTo(name, prop) {
7171

7272
return SubscribedComponent;
7373
};
74-
}
74+
}

0 commit comments

Comments
 (0)