Skip to content

Fix typos; closes #429 - #432

Merged
bourgeoa merged 2 commits into
SolidOS:mainfrom
janschill:fix-typos
Sep 29, 2021
Merged

Fix typos; closes #429#432
bourgeoa merged 2 commits into
SolidOS:mainfrom
janschill:fix-typos

Conversation

@janschill

Copy link
Copy Markdown
Contributor

Regarding the talked about typos in https://github.com/solid/solid-ui/issues/429

@TallTed TallTed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bourgeoa

Copy link
Copy Markdown
Contributor

Fail on lint

export const defaultPreferredLanguages = ['en', 'fr', 'de', 'it', 'ar']

export function addDefaults (array) {
export function addDefaults(array) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export function addDefaults(array) {
export function addDefaults (array) {

}

export async function getPreferredLanagugesFor (person: NamedNode) {
export async function getPreferredLanguagesFor(person: NamedNode) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export async function getPreferredLanguagesFor(person: NamedNode) {
export async function getPreferredLanguagesFor (person: NamedNode) {

* Either from solid preferences or browser preferences or default
*/
export async function getPreferredLanguages () {
export async function getPreferredLanguages() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export async function getPreferredLanguages() {
export async function getPreferredLanguages () {

*/

export function filterByLanguage (bindings, languagePrefs) {
export function filterByLanguage(bindings, languagePrefs) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export function filterByLanguage(bindings, languagePrefs) {
export function filterByLanguage (bindings, languagePrefs) {

@TallTed TallTed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why these spaces were deleted in the first place ... but putting them back appears to be the path through the Lint error.

@janschill

Copy link
Copy Markdown
Contributor Author

Should be good now, sorry about that. Is there a reason you have this enabled:

First-time contributors need a maintainer to approve running workflows.

@bourgeoa
bourgeoa merged commit 98411c8 into SolidOS:main Sep 29, 2021
@janschill
janschill deleted the fix-typos branch September 29, 2021 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants