My solutions for Advent of Code 2019.
Currently using JavaScript
.
Get started by installing the packages:
npm install
Run the tests using jest
.
A single run:
npm run test
Or with with --watch
:
npm run test-watch
Using eslint
with airbnb
rules.
Run the linter:
npm run lint
This will run eslint --fix
which automatically fixes any issues it finds.
src/
lib/
- helper functionsday01/
- day 1 codeday01.test.js
- tests for part1 and part 2 solutionspart1.js
- code for the part1 solutionpart2.js
- code for the part 2 solutionsolution.js
- get the solutions using the actual input
day02/
day03/
- etc…