Skip to content

Commit

Permalink
adds newline at end of file requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mwellman17 committed Mar 18, 2021
1 parent cb820cd commit 8044cf2
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 24 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
],
"rules": {
"template-curly-spacing": "off",
"eol-last": "warn",
"indent": [
"warn",
4,
Expand Down
2 changes: 1 addition & 1 deletion components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ const Footer = () => {
);
};

export default Footer;
export default Footer;
2 changes: 1 addition & 1 deletion components/NavHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ const NavHeader = () => {
);
};

export default NavHeader;
export default NavHeader;
2 changes: 1 addition & 1 deletion components/SitesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ export default SitesTable;
SitesTable.propTypes = {
sites: PropType.array,
setSites: PropType.func,
};
};
2 changes: 1 addition & 1 deletion components/UpdaterForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,4 @@ const UpdaterForm = () => {
);
};

export default UpdaterForm;
export default UpdaterForm;
2 changes: 1 addition & 1 deletion components/VolunteerTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ VolunteerTable.propTypes = {
sites: PropType.array,
volunteers: PropType.array,
setVolunteers: PropType.func,
};
};
2 changes: 1 addition & 1 deletion components/subcomponents/ConfirmModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ ConfirmModal.propTypes = {
isOpen: PropType.bool,
onClose: PropType.func,
type: PropType.string,
};
};
2 changes: 1 addition & 1 deletion components/subcomponents/EmailLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ const EmailLink = () => (
<a href="mailto:vaccinatema@gmail.com" target="_blank" rel="noreferrer">vaccinatema@gmail.com</a>
);

export default EmailLink;
export default EmailLink;
2 changes: 1 addition & 1 deletion components/subcomponents/Logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const Logo = () => (
</div>
);

export default Logo;
export default Logo;
2 changes: 1 addition & 1 deletion components/subcomponents/SiteAddForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ VolunteerAddForm.propTypes = {
onClose: PropType.func,
addSite: PropType.func,
editing: PropType.object,
};
};
2 changes: 1 addition & 1 deletion components/subcomponents/SpinLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ const SpinLoader = () => (
</Spinner>
);

export default SpinLoader;
export default SpinLoader;
2 changes: 1 addition & 1 deletion components/subcomponents/VolunteerAddForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ VolunteerAddForm.propTypes = {
addVolunteer: PropType.func,
editing: PropType.object,
sites: PropType.array,
};
};
2 changes: 1 addition & 1 deletion components/subcomponents/VolunteerAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ export default VolunteerAuth;

VolunteerAuth.propTypes = {
sendUser: PropType.func,
};
};
2 changes: 1 addition & 1 deletion components/subcomponents/YesNoRadio.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ YesNoRadio.propTypes = {
title: PropType.string,
action: PropType.func,
value: PropType.string,
};
};
2 changes: 1 addition & 1 deletion components/utilities/authUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export default new class Auth {
};
setSession = (session) => localStorage.setItem('volunteerSession', JSON.stringify(session));
clearSession = () => localStorage.removeItem('volunteerSession');
};
};
2 changes: 1 addition & 1 deletion components/utilities/parseURLsInStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ const parseURLsInStrings = text => {
return processString(config)(text);
};

export default parseURLsInStrings;
export default parseURLsInStrings;
2 changes: 1 addition & 1 deletion db/volunteers.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ module.exports = {
createVolunteerMapping,
getVolunteerLocations,
deleteVolunteerLocationMapping
};
};
2 changes: 1 addition & 1 deletion jobs/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ function fetchAirtableRowsAndBackfill() {
});
}

fetchAirtableRowsAndBackfill();
fetchAirtableRowsAndBackfill();
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ class VaccinateMAApp extends App {

// TODO(hannah): Restore appWithTranslation once we actually have translations.
// export default appWithTranslation(VaccinateMAApp);
export default VaccinateMAApp;
export default VaccinateMAApp;
2 changes: 1 addition & 1 deletion pages/press.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ const Press = () => {
);
};

export default Press;
export default Press;
2 changes: 1 addition & 1 deletion pages/volunteer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ const Volunteer = () => {
);
};

export default Volunteer;
export default Volunteer;
2 changes: 1 addition & 1 deletion pages/volunteer/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ const Updater = () => {
);
};

export default Updater;
export default Updater;
2 changes: 1 addition & 1 deletion routes/locations.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ router.delete('/:locationId',
}
});

module.exports = router;
module.exports = router;
2 changes: 1 addition & 1 deletion routes/volunteerLocations.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ router.delete('/',
}
});

module.exports = router;
module.exports = router;
2 changes: 1 addition & 1 deletion routes/volunteers.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ router.delete('/:volunteerId', param('volunteerId').isNumeric(),
res.status(500).send(errorObj);
}
});
module.exports = router;
module.exports = router;

0 comments on commit 8044cf2

Please sign in to comment.