Skip to content

style: require new line at the end of file #1874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"react/react-in-jsx-scope": 1,
"no-console": 0,
"no-case-declarations": 0,
"quotes": ["error", "single"]
"quotes": ["error", "single"],
"eol-last": ["error", "always"]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ export default ({ name, handleColumnDragDrop, index, onChangeVisible, visible })
</div>
</section>
));
};
};
2 changes: 1 addition & 1 deletion src/components/GeoPointInput/GeoPointInput.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ export default class GeoPointInput extends React.Component {
</div>
);
}
}
}
2 changes: 1 addition & 1 deletion src/components/IntervalInput/IntervalInput.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ IntervalInput.propTypes = {
count: PropTypes.number.isRequired,
unit: PropTypes.oneOf(['minute', 'hour']),
onChange: PropTypes.func.isRequired
};
};
2 changes: 1 addition & 1 deletion src/components/PushCerts/PushCerts.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ PushCerts.propTypes = {
),
};

export default PushCerts;
export default PushCerts;
2 changes: 1 addition & 1 deletion src/components/Sidebar/AppName.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ const AppName = ({ name, onClick, onPinClick }) => (
</div>
);

export default AppName;
export default AppName;
2 changes: 1 addition & 1 deletion src/components/TimeInput/TimeInput.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ let TimeInput = ({ hours, minutes, onChange }) => {
);
};

export default TimeInput;
export default TimeInput;
2 changes: 1 addition & 1 deletion src/components/Tooltip/PopperTooltip.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ const PopperTooltip = (props) => {
);
}

export default PopperTooltip;
export default PopperTooltip;
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/LoginDialog.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ export default class LoginDialog extends React.Component {

LoginDialog.contextTypes = {
currentApp: PropTypes.instanceOf(ParseApp)
};
};
2 changes: 1 addition & 1 deletion src/lib/Email.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ export function suggestion(email, checkTLD) {
return null;
}
return match[1] + '@' + closestDomain;
}
}
2 changes: 1 addition & 1 deletion src/lib/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ export function availableFilters(schema, currentFilters, blacklist) {
return available;
}

export const BLACKLISTED_FILTERS = [ 'containsAny', 'doesNotContainAny' ];
export const BLACKLISTED_FILTERS = [ 'containsAny', 'doesNotContainAny' ];
2 changes: 1 addition & 1 deletion src/lib/isInsidePopover.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export default function isInsidePopover(node) {
cur = cur.parentNode;
}
return false;
}
}
2 changes: 1 addition & 1 deletion src/lib/stores/StateManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ export function setGlobalState(name, state) {
let prev = getGlobalState(name);
globalStates[name] = state;
return prev;
}
}
2 changes: 1 addition & 1 deletion src/lib/stores/StoreManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ export function getStore(name) {
delete storeData.subscribers[id];
}
}
}
}
2 changes: 1 addition & 1 deletion src/lib/subscribeTo.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ export default function subscribeTo(name, prop) {

return SubscribedComponent;
};
}
}