pulled eslint files from jester-tester and updated exercise numbers

This commit is contained in:
Michael Frank 2021-05-12 21:37:19 +12:00
parent 8546794b47
commit 06e90f66c8
13 changed files with 19 additions and 13 deletions

1
.eslintignore Normal file
View File

@ -0,0 +1 @@
generator-exercise/

View File

@ -1,5 +1,4 @@
{
"extends": "airbnb-base",
"plugins": [
"import"
],
@ -8,5 +7,6 @@
"sourceType": "module"
},
"rules": {
"eol-last": ["error", "always"]
}
}

View File

@ -1,4 +1,4 @@
# Exercise XX - Caesar cipher
# Exercise 13 - Caesar cipher
Implement the legendary Caesar cipher:

View File

@ -1,3 +1,5 @@
# Exercise 08 - Calculator
The goal for this exercise is to create a calculator that does the following:
add, subtract, get the sum, multiply, get the power, and find the factorial

View File

@ -1,4 +1,4 @@
# Exercise XX - Fibonacci
# Exercise 10 - Fibonacci
Create a function that returns a specific member of the Fibonacci sequence:

View File

@ -1,4 +1,4 @@
# Find the Oldest
# Exercise 12 - Find the Oldest
Given an array of objects representing people with a birth and death year, return the oldest person.

View File

@ -1,4 +1,4 @@
# Get the Titles!
# Exercise 11 - Get the Titles!
You are given an array of objects that represent books with an author and a title that looks like this:

View File

@ -1,4 +1,4 @@
# Exercise 01 - Hello World.
# Exercise 01 - Hello World
The main purpose of this exercise is to walk you through the process of running the tests and make sure everything is set up and running correctly.

View File

@ -1,4 +1,4 @@
# Exercise XX - leapYears
# Exercise 06 - leapYears
Create a function that determines whether or not a given year is a leap year. Leap years are determined by the following rules:

View File

@ -1,7 +1,7 @@
{
"name": "javascript-exercises",
"version": "1.0.0",
"description": "These are a series of javascript exercises intended to be used alongside the curriculum at 'The Odin Project' They start very simply, but get more involved as you progress through them.",
"description": "These are a series of javascript exercises intended to be used alongside the curriculum at 'The Odin Project' They start off nice and easy, but get more involved as you progress through them.",
"main": "index.js",
"repository": {
"type": "git",
@ -22,5 +22,8 @@
},
"scripts": {
"test": "jest"
},
"eslintConfig": {
"root": true
}
}

View File

@ -1,4 +1,4 @@
# Exercise XX - palindromes
# Exercise 09 - Palindromes
Write a function that determines whether or not a given string is a palindrome.

View File

@ -1,4 +1,4 @@
# Exercise 02 - Reverse a String.
# Exercise 03 - Reverse a String
Pretty simple, write a function called `reverseString` that returns its input, reversed!

View File

@ -1,4 +1,4 @@
# Exercise 06 - tempConversion
# Exercise 07 - tempConversion
Write two functions that convert temperatures from Fahrenheit to Celsius, and vice versa:
```