Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit bfa094d

Browse files
committed
exportterms and privacy pages
1 parent 03238a6 commit bfa094d

File tree

2 files changed

+32
-9
lines changed

2 files changed

+32
-9
lines changed

Diff for: next.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ module.exports = {
3232
'/learn': { page: '/learn' },
3333
'/space': { page: '/space' },
3434
'/join': { page: '/join' },
35+
'/terms': { page: '/terms' },
36+
'/privacy': { page: '/privacy' },
3537
};
3638
const getSubject = subjectId => {
3739
switch (subjectId) {

Diff for: package.json

+30-9
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "xo",
8-
"lint":
9-
"prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .",
8+
"lint": "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .",
109
"precommit": "lint-staged",
1110
"analyze": "cross-env ANALYZE=1 next build",
1211
"dev": "cross-env NODE_ENV=development node server.js",
@@ -18,19 +17,33 @@
1817
},
1918
"xo": {
2019
"parser": "babel-eslint",
21-
"extends": ["prettier", "prettier/react", "plugin:react/recommended"],
22-
"env": ["browser", "node"],
20+
"extends": [
21+
"prettier",
22+
"prettier/react",
23+
"plugin:react/recommended"
24+
],
25+
"env": [
26+
"browser",
27+
"node"
28+
],
2329
"rules": {
2430
"linebreak-style": 0,
2531
"react/display-name": 0,
26-
"react/prop-types": 0
32+
"react/prop-types": 0,
33+
"react/no-unescaped-entities": 0
2734
},
2835
"space:": 2,
29-
"ignores": ["next.config.js"],
36+
"ignores": [
37+
"next.config.js"
38+
],
3039
"overrides": [
3140
{
3241
"files": "**/__tests__/*.test.js",
33-
"globals": ["describe", "it", "expect"]
42+
"globals": [
43+
"describe",
44+
"it",
45+
"expect"
46+
]
3447
}
3548
]
3649
},
@@ -41,8 +54,16 @@
4154
"jest --findRelatedTests",
4255
"git add"
4356
],
44-
"**/*.md": ["prettier", "markdownlint", "git add"],
45-
".github/CONTRIBUTING.md": ["doctoc", "prettier", "git add"]
57+
"**/*.md": [
58+
"prettier",
59+
"markdownlint",
60+
"git add"
61+
],
62+
".github/CONTRIBUTING.md": [
63+
"doctoc",
64+
"prettier",
65+
"git add"
66+
]
4667
},
4768
"dependencies": {
4869
"babel-plugin-emotion": "^9.2.6",

0 commit comments

Comments
 (0)