diff --git a/client/src/utils/create-types.ts b/client/src/utils/create-types.ts index ff830b0aa2..b9fd12f19f 100644 --- a/client/src/utils/create-types.ts +++ b/client/src/utils/create-types.ts @@ -4,7 +4,7 @@ type CreateTypesType = { /** * Creates an object in which the `keys` represent the action names and the - * `values` the action type. + * `values` represent the action type. * { * action: actionType, * ... diff --git a/client/src/utils/curriculum-helpers.ts b/client/src/utils/curriculum-helpers.ts index 33818215d4..13d6e40b7d 100644 --- a/client/src/utils/curriculum-helpers.ts +++ b/client/src/utils/curriculum-helpers.ts @@ -8,7 +8,7 @@ const removeCssComments = (str: string): string => str.replace(/\/\*[\s\S]+?\*\//g, ''); export const removeJSComments = (codeStr: string): string => { - // TODO: publish type declarations and reenable eslint + // TODO: publish type declarations and re-enable eslint try { // eslint-disable-next-line @typescript-eslint/no-unsafe-call return strip(codeStr) as string; diff --git a/client/src/utils/index.ts b/client/src/utils/index.ts index d9d2a7fa53..752e4aba51 100644 --- a/client/src/utils/index.ts +++ b/client/src/utils/index.ts @@ -1,6 +1,8 @@ -// These regex are not for validation, it is purely to see -// if we are looking at something like what we want to validate -// before we try to validate +/* + * This regex is not for validation, it is purely to see + * if we are looking at something like what we want to validate + * before we try to validate. + */ export const maybeEmailRE = /.*@.*\.\w\w/; export const maybeUrlRE = /https?:\/\/.*\..*/; export const hasProtocolRE = /^http/; diff --git a/docs/FAQ.md b/docs/FAQ.md index a84b9956da..d6a5ffc36b 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -6,7 +6,7 @@ Read our ["How to Contribute to Open Source Guide"](https://github.com/freeCodeC Yes - You can contribute to any of the 30+ languages we have enabled on our translation platform. -We have the user contributed translations live in Chinese (中文) and Spanish (Español). We intend to localize freeCodeCamp into several major world languages. You can read all about this in our [announcement here](https://www.freecodecamp.org/news/world-language-translation-effort). +We have user-contributed translations live in Chinese (中文) and Spanish (Español). We intend to localize freeCodeCamp into several major world languages. You can read all about this in our [announcement here](https://www.freecodecamp.org/news/world-language-translation-effort). If you are interested in contributing to translations please makes sure you [read this guide](how-to-translate-files.md) first. @@ -24,7 +24,7 @@ Please don't create GitHub issues for security issues. Instead, please send an e ### I am a student. Can I work on a feature for academic credits? -Yes. Please note we are unable to commit to any timelines or paperwork that may be a requirement by your college or university. We receive many pull-requests and code contributions by volunteer developers, and we respect their time and efforts. Out of respect for all of our other contributors, we will not give any PR special priority just because it happens to be school-related. +Yes. Please note we are unable to commit to any timelines or paperwork that may be a requirement by your college or university. We receive many pull-requests and code contributions from volunteer developers, and we respect their time and efforts. Out of respect for all of our other contributors, we will not give any PR special priority just because it happens to be school-related. We request you to plan ahead and work on code contributions with this in mind. diff --git a/docs/how-to-open-a-pull-request.md b/docs/how-to-open-a-pull-request.md index 9424aa062d..0ec6fb4655 100644 --- a/docs/how-to-open-a-pull-request.md +++ b/docs/how-to-open-a-pull-request.md @@ -87,7 +87,7 @@ And as always, feel free to ask questions on the ['Contributors' category on our Conflicts can arise because many contributors work on the repository, and changes can break your PR which is pending a review and merge. -More often than not you may not require a rebase, because we squash all commits, however if a rebase is requested here is what you should do. +More often than not you may not require a rebase, because we squash all commits, however, if a rebase is requested, here is what you should do. ### For usual bug fixes and features