Skip to content

Commit e4d7faa

Browse files
style: update to standard 17.1.0 rules
1 parent 8ed4765 commit e4d7faa

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

2020/day-01/expenseValidation.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/**
32
* Validates a list of records by comparing every combination
43
* to the checksum. Stops when the first match is found

2020/day-11/seating.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
const parse = (data) => {
32
return data.split('\n').map((row) => {
43
return row.split('')

2021/day-06/fish.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
let _fishes = []
32
const NewFishAge = 8 // age of newly spawned fish
43
const FishSpawnAge = 0 // age when the fish spawns

2021/day-10/scoring.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
const findMiddleScore = (scores) => {
32
// According to specs, there's always an odd number of items in the list,
43
// so we're safe to divide by 2 and round down to get the desired index

2022/day-02/rochambeau.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// Lookup tables for possible rock / paper / scissor values
32
const selfCodes = ['X', 'Y', 'Z']
43
const opponentCodes = ['A', 'B', 'C']

0 commit comments

Comments
 (0)