Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
30 changes: 29 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
{
"extends": "standard",
"parserOptions": {
sourceType: "module",
ecmaVersion: 2017,
"ecmaFeatures": {
"jsx": true
},
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals" : {
"__ENV": true,
"analytics": true,
"describe": true,
"it": true,
"expect": true,
},
"extends": [
"standard",
"prettier",
"prettier/standard"
],
"plugins": [
"prettier",
"standard"
],
"rules": {
"prettier/prettier": "error",
"comma-dangle": [1, "only-multiline"],
"space-before-function-paren": ["error", { "anonymous": "never", "named": "never" }],
"spaced-comment": 0,
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ node_modules
.node_repl_history

data/cache

__do-not-commit-me__.js
35 changes: 25 additions & 10 deletions data/ncnca/categories/index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"id": 26,
"count": 23,
"count": 24,
"description": "",
"name": "Championships",
"slug": "championships",
Expand All @@ -16,7 +16,7 @@
},
{
"id": 14,
"count": 16,
"count": 15,
"description": "",
"name": "Circuit Race",
"slug": "circuit-race",
Expand Down Expand Up @@ -47,7 +47,7 @@
},
{
"id": 24,
"count": 52,
"count": 53,
"description": "",
"name": "Criterium",
"slug": "criterium",
Expand Down Expand Up @@ -94,7 +94,7 @@
},
{
"id": 17,
"count": 1,
"count": 11,
"description": "",
"name": "Juniors",
"slug": "juniors",
Expand Down Expand Up @@ -124,7 +124,7 @@
},
{
"id": 5,
"count": 4,
"count": 39,
"description": "",
"name": "MTB",
"slug": "mtb",
Expand Down Expand Up @@ -154,7 +154,7 @@
},
{
"id": 6,
"count": 114,
"count": 116,
"description": "",
"name": "Road",
"slug": "road",
Expand All @@ -169,7 +169,7 @@
},
{
"id": 21,
"count": 31,
"count": 32,
"description": "",
"name": "Road Race",
"slug": "road-race",
Expand All @@ -185,7 +185,7 @@
},
{
"id": 23,
"count": 6,
"count": 7,
"description": "",
"name": "Stage Race",
"slug": "stage-race",
Expand All @@ -201,7 +201,7 @@
},
{
"id": 15,
"count": 20,
"count": 21,
"description": "",
"name": "Time Trial",
"slug": "time-trial",
Expand All @@ -217,7 +217,7 @@
},
{
"id": 7,
"count": 5,
"count": 6,
"description": "",
"name": "Track",
"slug": "track",
Expand All @@ -229,5 +229,20 @@
"self": "http://ncnca.org/wp-json/tribe/events/v1/categories/7",
"collection": "http://ncnca.org/wp-json/tribe/events/v1/categories"
}
},
{
"id": 19,
"count": 20,
"description": "",
"name": "Women",
"slug": "women",
"taxonomy": "tribe_events_cat",
"parent": 0,
"meta": [],
"url": "http://ncnca.org/events/category/women/",
"urls": {
"self": "http://ncnca.org/wp-json/tribe/events/v1/categories/19",
"collection": "http://ncnca.org/wp-json/tribe/events/v1/categories"
}
}
]
Loading