exercism / coffeescript

Exercism exercises in CoffeeScript.
https://exercism.org/tracks/coffeescript
MIT License
19 stars 50 forks source link

Configure online editor #129

Closed ErikSchierboom closed 9 months ago

ErikSchierboom commented 3 years ago

This issue is part of the migration to v3. You can read full details about the various changes here.

In Exercism v3, students can now choose to work on exercises directly from their browser, instead of having to download exercises to their local machine. The track-specific settings for the in-browser editor are defined in the top-level "online_editor" field in the track's config.json file. This field is defined as an object with two fields:

You can find a full description of these fields in the spec.

Goal

The "online_editor" field should be updated to correspond to the track's best practices regarding indentation.

Example

"online_editor": {
  "indent_style": "space",
  "indent_size": 4
}

Tracking

https://github.com/exercism/v3-launch/issues/2

safwansamsudeen commented 9 months ago

@ErikSchierboom this too should be closed... only CoffeeLint by default uses two spaces. Might be change the current value (of 4)?

ErikSchierboom commented 9 months ago

What do most people use when writing coffeescript?

safwansamsudeen commented 9 months ago

Two spaces. See this and this, two popular CoffeeScript repos here on GitHub.

ErikSchierboom commented 9 months ago

Then it should be changed

safwansamsudeen commented 9 months ago

@ErikSchierboom #230.