Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1f1037d
Add reduce for iterator 0
cierrajw Oct 1, 2018
b4132a4
Add findByName method
cierrajw Oct 3, 2018
beda4aa
Revise iteration zero data and add findName function
cierrajw Oct 4, 2018
22f4de3
Pass second and third tests of iterator 1
cierrajw Oct 4, 2018
f27220a
Pass all tests of iteration one sans first one
cierrajw Oct 4, 2018
0b70660
Pass all tests of iteration 1
cierrajw Oct 4, 2018
68dfd8c
findAllMatches defaults to returning all data in an array
cierrajw Oct 4, 2018
4360beb
Add initial tests for app and other things
cierrajw Oct 4, 2018
b716457
Add data to screen
cierrajw Oct 5, 2018
812b14f
Fit cards to screen
cierrajw Oct 5, 2018
1b9ce5c
Fix margin for cards
cierrajw Oct 5, 2018
eb13d41
Render card data on the page with each year
cierrajw Oct 5, 2018
c367dd0
Get tests running
cierrajw Oct 6, 2018
4a0f4d5
Search test
cierrajw Oct 6, 2018
2fa8adb
Fix search bar
cierrajw Oct 6, 2018
2c159ee
Adding mock function to search test
cierrajw Oct 7, 2018
1576bdc
Add search button
cierrajw Oct 7, 2018
f95a376
Passs Search tests
cierrajw Oct 8, 2018
8333284
Add box shadow to cards
cierrajw Oct 8, 2018
12d1beb
Add border to page
cierrajw Oct 8, 2018
7dc53c7
Change colors for score averages
cierrajw Oct 8, 2018
60a4d4d
Arrange cards
cierrajw Oct 8, 2018
be4a549
Set conditional in test for class names
cierrajw Oct 8, 2018
ffafc48
ES lint
cierrajw Oct 8, 2018
46db190
Eslint
cierrajw Oct 8, 2018
259be2e
Edit helper file findByName
cierrajw Oct 8, 2018
9eb7378
set state in app
cierrajw Oct 8, 2018
e0cf2b8
Revise FindAllMatches
cierrajw Oct 8, 2018
293d616
Add onChange
cierrajw Oct 8, 2018
6d10e93
Revise findallmatches
cierrajw Oct 8, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
// Having a problem with one of these rules? Learn more about it here: https://eslint.org/docs/rules/
"rules": {
"eqeqeq": ["error", "always"],
"getter-return": ["error", { "allowImplicit": true }],
"no-template-curly-in-string": "error",
"semi": ["error", "always"],
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": "warn",
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"func-call-spacing": ["error", "never"],
"indent": ["warn", 2, {"SwitchCase": 1}],
"keyword-spacing": ["error", { "before": true, "after": true }],
"max-len": ["warn", 80],
"no-duplicate-imports": "error",
"id-length": "error",
"id-blacklist": ["error", "err", "e", "cb", "callback", "payload", "obj", "arr"],
"max-depth": ["warn", 4]
},
"globals": {
"expect": true
}
}
Loading