Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
x48 committed Oct 8, 2020
0 parents commit 34322a6
Show file tree
Hide file tree
Showing 161 changed files with 25,973 additions and 0 deletions.
174 changes: 174 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
{
"projectName": "react-boilerplate",
"projectOwner": "react-boilerplate",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 80,
"commit": true,
"contributors": [
{
"login": "mxstbr",
"name": "Max Stoiber",
"avatar_url": "https://avatars0.githubusercontent.com/u/7525670?v=4",
"profile": "https://mxstbr.com",
"contributions": [
"code",
"doc",
"ideas",
"review",
"test"
]
},
{
"login": "julienben",
"name": "Julien Benchetrit",
"avatar_url": "https://avatars2.githubusercontent.com/u/8948127?v=4",
"profile": "https://julien.engineering/",
"contributions": [
"code",
"question",
"doc",
"review",
"maintenance"
]
},
{
"login": "gretzky",
"name": "Sara Federico",
"avatar_url": "https://avatars1.githubusercontent.com/u/15176096?v=4",
"profile": "http://sarafederi.co",
"contributions": [
"code",
"review",
"question",
"doc",
"maintenance"
]
},
{
"login": "justingreenberg",
"name": "Justin Greenberg",
"avatar_url": "https://avatars1.githubusercontent.com/u/1539088?v=4",
"profile": "https://justingreenberg.com",
"contributions": [
"code",
"review"
]
},
{
"login": "jwinn",
"name": "Jon Winn",
"avatar_url": "https://avatars3.githubusercontent.com/u/891726?v=4",
"profile": "https://github.com/jwinn",
"contributions": [
"code",
"review"
]
},
{
"login": "Mensae",
"name": "Johan Meester",
"avatar_url": "https://avatars2.githubusercontent.com/u/474743?v=4",
"profile": "https://meester-johan.info/",
"contributions": [
"code",
"test",
"doc"
]
},
{
"login": "Dattaya",
"name": "Yaroslav Kiliba",
"avatar_url": "https://avatars3.githubusercontent.com/u/387256?v=4",
"profile": "https://github.com/Dattaya",
"contributions": [
"code"
]
},
{
"login": "gihrig",
"name": "Glen Ihrig",
"avatar_url": "https://avatars2.githubusercontent.com/u/1481063?v=4",
"profile": "https://github.com/gihrig",
"contributions": [
"code"
]
},
{
"login": "somus",
"name": "Somasundaram Ayyappan",
"avatar_url": "https://avatars3.githubusercontent.com/u/1802828?v=4",
"profile": "https://github.com/somus",
"contributions": [
"code"
]
},
{
"login": "oliverturner",
"name": "Oliver Turner",
"avatar_url": "https://avatars0.githubusercontent.com/u/21795?v=4",
"profile": "https://www.codedsignal.co.uk/",
"contributions": [
"code"
]
},
{
"login": "samit4me",
"name": "Samuel Sharpe",
"avatar_url": "https://avatars3.githubusercontent.com/u/3248531?v=4",
"profile": "https://github.com/samit4me",
"contributions": [
"code"
]
},
{
"login": "KarandikarMihir",
"name": "Mihir Karandikar",
"avatar_url": "https://avatars3.githubusercontent.com/u/17466938?v=4",
"profile": "https://karandikarmihir.github.io/",
"contributions": [
"code"
]
},
{
"login": "v",
"name": "Vaibhav Verma",
"avatar_url": "https://avatars2.githubusercontent.com/u/627846?v=4",
"profile": "http://www.vverma.net",
"contributions": [
"code"
]
},
{
"login": "sedubois",
"name": "Sébastien Dubois",
"avatar_url": "https://avatars1.githubusercontent.com/u/4217871?v=4",
"profile": "https://imagineclarity.com",
"contributions": [
"code"
]
},
{
"login": "chaintng",
"name": "Chainarong Tangsurakit",
"avatar_url": "https://avatars2.githubusercontent.com/u/2979072?v=4",
"profile": "https://www.chaintng.com",
"contributions": [
"code"
]
},
{
"login": "amilajack",
"name": "Amila Welihinda",
"avatar_url": "https://avatars1.githubusercontent.com/u/6374832?v=4",
"profile": "https://amilajack.com",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 8
}
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# editorconfig.org

root = true

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

[*.md]
trim_trailing_whitespace = false
89 changes: 89 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
const fs = require('fs');
const path = require('path');

const prettierOptions = JSON.parse(
fs.readFileSync(path.resolve(__dirname, '.prettierrc'), 'utf8'),
);

module.exports = {
parser: 'babel-eslint',
extends: ['airbnb', 'prettier', 'prettier/react'],
plugins: ['prettier', 'redux-saga', 'react', 'react-hooks', 'jsx-a11y'],
env: {
jest: true,
browser: true,
node: true,
es6: true,
},
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
rules: {
'prettier/prettier': ['error', prettierOptions],
'arrow-body-style': [2, 'as-needed'],
'class-methods-use-this': 0,
'import/imports-first': 0,
'import/newline-after-import': 0,
'import/no-dynamic-require': 0,
'import/no-extraneous-dependencies': 0,
'import/no-named-as-default': 0,
'import/no-unresolved': 2,
'import/no-webpack-loader-syntax': 0,
'import/prefer-default-export': 0,
indent: [
2,
2,
{
SwitchCase: 1,
},
],
'jsx-a11y/aria-props': 2,
'jsx-a11y/heading-has-content': 0,
'jsx-a11y/label-has-associated-control': [
2,
{
// NOTE: If this error triggers, either disable it or add
// your custom components, labels and attributes via these options
// See https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-associated-control.md
controlComponents: ['Input'],
},
],
'jsx-a11y/label-has-for': 0,
'jsx-a11y/mouse-events-have-key-events': 2,
'jsx-a11y/role-has-required-aria-props': 2,
'jsx-a11y/role-supports-aria-props': 2,
'max-len': 0,
'newline-per-chained-call': 0,
'no-confusing-arrow': 0,
'no-console': 1,
'no-unused-vars': 2,
'no-use-before-define': 0,
'prefer-template': 2,
'react/destructuring-assignment': 0,
'react-hooks/rules-of-hooks': 'error',
'react/jsx-closing-tag-location': 0,
'react/forbid-prop-types': 0,
'react/jsx-first-prop-new-line': [2, 'multiline'],
'react/jsx-filename-extension': 0,
'react/jsx-no-target-blank': 0,
'react/jsx-uses-vars': 2,
'react/require-default-props': 0,
'react/require-extension': 0,
'react/self-closing-comp': 0,
'react/sort-comp': 0,
'redux-saga/no-yield-in-race': 2,
'redux-saga/yield-effects': 2,
'require-yield': 0,
},
settings: {
'import/resolver': {
webpack: {
config: './internals/webpack/webpack.prod.babel.js',
},
},
},
};
107 changes: 107 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# From https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes

# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto

#
# The above will handle all files NOT found below
#

#
## These files are text and should be normalized (Convert crlf => lf)
#

# source code
*.php text
*.css text
*.sass text
*.scss text
*.less text
*.styl text
*.js text eol=lf
*.coffee text
*.json text
*.htm text
*.html text
*.xml text
*.svg text
*.txt text
*.ini text
*.inc text
*.pl text
*.rb text
*.py text
*.scm text
*.sql text
*.sh text
*.bat text

# templates
*.ejs text
*.hbt text
*.jade text
*.haml text
*.hbs text
*.dot text
*.tmpl text
*.phtml text

# server config
.htaccess text
.nginx.conf text

# git config
.gitattributes text
.gitignore text
.gitconfig text

# code analysis config
.jshintrc text
.jscsrc text
.jshintignore text
.csslintrc text

# misc config
*.yaml text
*.yml text
.editorconfig text

# build config
*.npmignore text
*.bowerrc text

# Heroku
Procfile text
.slugignore text

# Documentation
*.md text
LICENSE text
AUTHORS text


#
## These files are binary and should be left untouched
#

# (binary is a macro for -text -diff)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.pyc binary
*.pdf binary
Loading

0 comments on commit 34322a6

Please sign in to comment.