pulled eslint files from jester-tester and updated exercise numbers
This commit is contained in:
parent
8546794b47
commit
06e90f66c8
|
@ -0,0 +1 @@
|
||||||
|
generator-exercise/
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
"extends": "airbnb-base",
|
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"import"
|
"import"
|
||||||
],
|
],
|
||||||
|
@ -8,5 +7,6 @@
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"eol-last": ["error", "always"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Exercise XX - Caesar cipher
|
# Exercise 13 - Caesar cipher
|
||||||
|
|
||||||
Implement the legendary Caesar cipher:
|
Implement the legendary Caesar cipher:
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# Exercise 08 - Calculator
|
||||||
|
|
||||||
The goal for this exercise is to create a calculator that does the following:
|
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
|
add, subtract, get the sum, multiply, get the power, and find the factorial
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Exercise XX - Fibonacci
|
# Exercise 10 - Fibonacci
|
||||||
|
|
||||||
Create a function that returns a specific member of the Fibonacci sequence:
|
Create a function that returns a specific member of the Fibonacci sequence:
|
||||||
|
|
||||||
|
|
|
@ -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.
|
Given an array of objects representing people with a birth and death year, return the oldest person.
|
||||||
|
|
||||||
|
|
|
@ -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:
|
You are given an array of objects that represent books with an author and a title that looks like this:
|
||||||
|
|
||||||
|
|
|
@ -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.
|
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.
|
||||||
|
|
||||||
|
|
|
@ -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:
|
Create a function that determines whether or not a given year is a leap year. Leap years are determined by the following rules:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "javascript-exercises",
|
"name": "javascript-exercises",
|
||||||
"version": "1.0.0",
|
"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",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -22,5 +22,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"root": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Exercise XX - palindromes
|
# Exercise 09 - Palindromes
|
||||||
|
|
||||||
Write a function that determines whether or not a given string is a palindrome.
|
Write a function that determines whether or not a given string is a palindrome.
|
||||||
|
|
||||||
|
|
|
@ -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!
|
Pretty simple, write a function called `reverseString` that returns its input, reversed!
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Exercise 06 - tempConversion
|
# Exercise 07 - tempConversion
|
||||||
|
|
||||||
Write two functions that convert temperatures from Fahrenheit to Celsius, and vice versa:
|
Write two functions that convert temperatures from Fahrenheit to Celsius, and vice versa:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue