JavaScript-Koans icon indicating copy to clipboard operation
JavaScript-Koans copied to clipboard

Tidying things up.

Open EatonCiaran opened this issue 4 years ago • 0 comments

  • Fix inconsistent use of single and double quotes. Now favours double quotes.
  • Fix inconsistent space and tab indenting, and remove trailing whitespaces. Now 4 space indent.
  • Removed unneeded semicolons on function declarations and for loops
  • Fix some typos, clarify some comments/messages, more consistent casing
  • Fix invalid HTML (lack of title element) and made it HTML 5.
  • Rename license file to standard convention
  • Remove custom equalTo function and instead use deepEqual for better error messages when type mismatch.
  • Make answer prompts more consistent i.e. some hinted for a string, only 1 really needs that
  • Flesh out README
  • Other general Prettier changes e.g. typeof not needing brackets; add trailing commas to objects and arrays; spaces before brackets, after commas, and between operators.

EatonCiaran avatar Jul 21 '21 19:07 EatonCiaran