Skip to content

Commit

Permalink
Adding project
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliemaia committed Jan 1, 2021
1 parent 40be280 commit e199b89
Show file tree
Hide file tree
Showing 86 changed files with 43,783 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = 120

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PUBLIC_URL=/
74 changes: 74 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"extends": ["react-app", "react-jam3"],
"plugins": ["jam3"],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"prettier/prettier": "warn",
"jam3/no-sanitizer-with-danger": [
2,
{
"wrapperName": ["sanitizer"]
}
],
"jam3/forbid-methods": 2,
"no-console": "off",
"react/sort-comp": [
1,
{
"order": ["static-methods", "lifecycle", "everything-else", "render"],
"groups": {
"lifecycle": [
"displayName",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"defaultProps",
"constructor",
"getDefaultProps",
"getInitialState",
"state",
"getChildContext",
"componentWillMount",
"UNSAFE_componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"UNSAFE_componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"UNSAFE_componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount",
"componentWillAppear",
"componentWillEnter",
"componentWillLeave"
]
}
}
]
},
"overrides": [
{
"files": ["src/util/**/*.js"],
"rules": {
"require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": true,
"ClassDeclaration": true,
"MethodDefinition": false,
"ArrowFunctionExpression": false,
"FunctionExpression": false
}
}
]
}
}
]
}
23 changes: 23 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[ignore]
.*/node_modules/*
.*/flow-typed/.*
<PROJECT_ROOT>/build/.*
<PROJECT_ROOT>/public/.*
<PROJECT_ROOT>/scripts/.*

[include]
<PROJECT_ROOT>/src/.*

[libs]

[lints]

[options]
all=true
emoji=true
esproposal.optional_chaining=enable

[strict]

[version]
0.118.0
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode
flow-typed
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v13.7.0
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package.json
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"printWidth": 120
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# raytracing-in-one-weekend
# Raytracing in one weekend
Loading

0 comments on commit e199b89

Please sign in to comment.