GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cuch1margaret/javascript: Exercism exercises in JavaScript.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,004 Commits
2,004 Commits

Folders and files

NameName
Last commit message
Last commit date
.appends/.github
.appends/.github
 
 
.github
.github
 
 
.vscode
.vscode
 
 
bin
bin
 
 
concepts
concepts
 
 
config
config
 
 
docs
docs
 
 
exercises
exercises
 
 
reference
reference
 
 
scripts
scripts
 
 
.editorconfig
.editorconfig
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TAGS.md
TAGS.md
 
 
babel.config.js
babel.config.js
 
 
config.json
config.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
testSequencer.js
testSequencer.js
 
 

Repository files navigation

Exercism JavaScript Track

configlet javascript / main

⚠️ We 💙 our community but this repository does not accept community contributions at this time. There are no active maintainers to review PRs. Please read this community blog post for details. ⚠️

Exercism exercises in JavaScript

This is the JavaScript track, one of the many tracks on Exercism. It holds all the exercises that are currently implemented and available for students to complete. The track consists of various concept exercises that teach the JavaScript syllabus, and various practice exercises, which are unlocked by progressing in the syllabus and can be used to practice concepts learned. You can find this in the config.json.

Tools

See CONTRIBUTING.md for a list of requirements to contribute to this track. It also has a list of tools you can use, of which the test tool is one of them.

Running the code quality tooling (linter)

This run eslint for all files that require linting.

npx eslint exercises/**/*.spec.js exercises/**/.meta/*.js --fix

These are also the files that are linted using the lint script, mentioned in CONTRIBUTING.md. The lint rules imposed on contributors and maintainers are stricter than those for the student. The idea is that we do not impose style rules on the students, but we guard for (potential) errors.

Files with strict rules:

  • <slug>.spec.js
  • .meta/proof.ci.js
  • .meta/exemplar.js

Files with loose rules:

  • custom.spec.js
  • <slug>.js

Running the test suite

This runs jest tests for all sample solutions. This does not use the regular way to run jest, because the example solution files must be renamed to be imported correctly into the test files.

npx babel-node scripts/test

If the ASSIGNMENT environment variable is set, only that exercise is tested. For example, if you only want to test the example.js for the practice exercise two-fer, you may, depending on your environment, use:

ASSIGNMENT=practice/two-fer npx babel-node scripts/test

Running on Windows? Depending on your shell, environment variables are set differently. You can use cross-env to normalize this. The following should work across environments:

npx cross-env ASSIGNMENT=practice/two-fer babel-node scripts/test

Related repositories

  • Website Copy (Mentor Notes)
  • The JavaScript Analyzer (Automated Code Analysis)
  • The JavaScript Representer
  • The JavaScript Test Runner
  • Static Analysis Shared Library

Related TypeScript repositories

A lot of the improvements made to this track and tooling are also made to the TypeScript track and tooling and vice-versa.

  • The TypeScript track
  • The TypeScript Analyzer
  • The TypeScript Representer
  • The TypeScript Test Runner

About

Exercism exercises in JavaScript.

exercism.org/tracks/javascript

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.