Skip to content

Commit 044a7aa

Browse files
authored
Adds docusaurus (#75)
Brings Docusaurus app next to files.
1 parent 90f1a4b commit 044a7aa

File tree

2,132 files changed

+51580
-299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,132 files changed

+51580
-299
lines changed

.eslintrc.js

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
const path = require("path")
2+
3+
module.exports = {
4+
env: {
5+
browser: true,
6+
es6: true,
7+
},
8+
extends: [
9+
"standard-with-typescript",
10+
"plugin:react/recommended",
11+
"plugin:react-hooks/recommended",
12+
"plugin:prettier/recommended",
13+
"prettier",
14+
"prettier/@typescript-eslint",
15+
"prettier/babel",
16+
"prettier/react",
17+
"prettier/standard",
18+
],
19+
parser: "@typescript-eslint/parser",
20+
parserOptions: {
21+
ecmaFeatures: {},
22+
ecmaVersion: 2018,
23+
project: path.resolve(__dirname, "./tsconfig.json"),
24+
tsconfigRootDir: __dirname,
25+
sourceType: "module",
26+
},
27+
plugins: [
28+
"@typescript-eslint",
29+
"babel",
30+
"prettier",
31+
"react",
32+
"standard",
33+
"react-hooks",
34+
],
35+
rules: {
36+
"react-hooks/rules-of-hooks": "error",
37+
"react-hooks/exhaustive-deps": "warn",
38+
"@typescript-eslint/restrict-plus-operands": "off",
39+
"react/sort-comp": [
40+
"error",
41+
{
42+
order: [
43+
"static-methods",
44+
"lifecycle",
45+
"/^on.+$/",
46+
"/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
47+
"everything-else",
48+
"/^render.+$/",
49+
"render",
50+
],
51+
},
52+
],
53+
"react/no-deprecated": "error",
54+
"react/style-prop-object": "error",
55+
"react/self-closing-comp": "error",
56+
"react/require-render-return": "error",
57+
"react/prefer-stateless-function": "error",
58+
"react/no-unused-prop-types": "warn",
59+
"react/no-unused-state": "warn",
60+
"react/no-this-in-sfc": "error",
61+
"react/no-typos": "error",
62+
"react/no-redundant-should-component-update": "error",
63+
"react/no-access-state-in-setstate": "error",
64+
"react/jsx-closing-bracket-location": "error",
65+
"react/jsx-closing-tag-location": "error",
66+
"react/jsx-equals-spacing": "error",
67+
"react/jsx-first-prop-new-line": "error",
68+
"react/jsx-indent": ["error", 2],
69+
"react/jsx-indent-props": ["error", 2],
70+
"react/jsx-pascal-case": "error",
71+
"react/jsx-sort-default-props": "error",
72+
"react/jsx-wrap-multilines": "error",
73+
"react/jsx-tag-spacing": [
74+
"error",
75+
{
76+
closingSlash: "never",
77+
beforeSelfClosing: "always",
78+
afterOpening: "never",
79+
beforeClosing: "never",
80+
},
81+
],
82+
"react/jsx-boolean-value": "error",
83+
"react/jsx-curly-spacing": "error",
84+
"react/jsx-no-comment-textnodes": "warn",
85+
"react/jsx-curly-brace-presence": "error",
86+
"react/prop-types": "off",
87+
"jsx-quotes": ["error", "prefer-double"],
88+
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
89+
"@typescript-eslint/explicit-function-return-type": "off",
90+
"@typescript-eslint/no-explicit-any": "off",
91+
"quote-props": ["error", "as-needed"],
92+
"object-shorthand": ["error", "always"],
93+
"no-var": ["error"],
94+
"no-console": ["warn", { allow: ["warn", "error", "info"] }],
95+
"prettier/prettier": ["warn"],
96+
"react/no-unescaped-entities": "off",
97+
},
98+
settings: {
99+
react: { version: "detect" },
100+
},
101+
}

.github/console.webp

102 KB
Binary file not shown.

.github/workflows/preview-build.yml

-52
This file was deleted.

.github/workflows/sync-deploy.yml

-17
This file was deleted.

.gitignore

+36-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
1-
*.iml
2-
.idea/
1+
# Dependencies
2+
node_modules
3+
4+
# Workspaces
5+
*code-workspace
6+
7+
# Env vars
8+
.env
9+
10+
# Production
11+
/build
12+
plugins/*/compiled
13+
14+
# Generated files
15+
.docusaurus
16+
.netlify
17+
.cache-loader
18+
19+
# Misc
320
.DS_Store
4-
.vscode/
21+
.env.local
22+
.env.development.local
23+
.env.test.local
24+
.env.production.local
25+
snippets/db
26+
snippets/package-lock.json
27+
snippets/yarn.lock
28+
29+
npm-debug.log*
30+
yarn-debug.log*
31+
yarn-error.log*
32+
33+
/.idea/
34+
*.iml
35+
.log
36+
src/css/infima.css
37+
.ignore

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cache=node_modules/.cache

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

CODE_OF_CONDUCT.md

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and
9+
expression, level of experience, education, socio-economic status, nationality,
10+
personal appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or reject
41+
comments, commits, code, wiki edits, issues, and other contributions that are
42+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
43+
contributor for other behaviors that they deem inappropriate, threatening,
44+
offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team on Slack. All complaints will be
59+
reviewed and investigated and will result in a response that is deemed necessary
60+
and appropriate to the circumstances. The project team is obligated to maintain
61+
confidentiality with regard to the reporter of an incident. Further details of
62+
specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
71+
version 1.4, available at
72+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
73+
74+
[homepage]: https://www.contributor-covenant.org
75+
76+
For answers to common questions about this code of conduct, see
77+
https://www.contributor-covenant.org/faq

0 commit comments

Comments
 (0)