Skip to content

Commit 1c9d8ae

Browse files
committed
Remove default example
0 parents  commit 1c9d8ae

File tree

159 files changed

+19239
-0
lines changed

Some content is hidden

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

159 files changed

+19239
-0
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

.eslintrc.js

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
const fs = require('fs');
2+
3+
const prettierOptions = JSON.parse(fs.readFileSync('./.prettierrc', 'utf8'));
4+
5+
module.exports = {
6+
parser: 'babel-eslint',
7+
extends: ['airbnb', 'prettier', 'prettier/react'],
8+
plugins: ['prettier', 'redux-saga', 'react', 'jsx-a11y'],
9+
env: {
10+
browser: true,
11+
node: true,
12+
jest: true,
13+
es6: true,
14+
},
15+
parserOptions: {
16+
ecmaVersion: 6,
17+
sourceType: 'module',
18+
ecmaFeatures: {
19+
jsx: true,
20+
},
21+
},
22+
rules: {
23+
'prettier/prettier': ['error', prettierOptions],
24+
'arrow-body-style': [2, 'as-needed'],
25+
'class-methods-use-this': 0,
26+
'comma-dangle': [2, 'always-multiline'],
27+
'import/imports-first': 0,
28+
'import/newline-after-import': 0,
29+
'import/no-dynamic-require': 0,
30+
'import/no-extraneous-dependencies': 0,
31+
'import/no-named-as-default': 0,
32+
'import/no-unresolved': 2,
33+
'import/no-webpack-loader-syntax': 0,
34+
'import/prefer-default-export': 0,
35+
indent: [
36+
2,
37+
2,
38+
{
39+
SwitchCase: 1,
40+
},
41+
],
42+
'jsx-a11y/aria-props': 2,
43+
'jsx-a11y/heading-has-content': 0,
44+
'jsx-a11y/label-has-for': 2,
45+
'jsx-a11y/mouse-events-have-key-events': 2,
46+
'jsx-a11y/role-has-required-aria-props': 2,
47+
'jsx-a11y/role-supports-aria-props': 2,
48+
'max-len': 0,
49+
'newline-per-chained-call': 0,
50+
'no-confusing-arrow': 0,
51+
'no-console': 1,
52+
'no-use-before-define': 0,
53+
'prefer-template': 2,
54+
'react/jsx-closing-tag-location': 0,
55+
'react/forbid-prop-types': 0,
56+
'react/jsx-first-prop-new-line': [2, 'multiline'],
57+
'react/jsx-filename-extension': 0,
58+
'react/jsx-no-target-blank': 0,
59+
'react/require-default-props': 0,
60+
'react/require-extension': 0,
61+
'react/self-closing-comp': 0,
62+
'react/sort-comp': 0,
63+
'redux-saga/no-yield-in-race': 2,
64+
'redux-saga/yield-effects': 2,
65+
'require-yield': 0,
66+
},
67+
settings: {
68+
'import/resolver': {
69+
webpack: {
70+
config: './internals/webpack/webpack.prod.babel.js',
71+
},
72+
},
73+
},
74+
};

.gitattributes

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# From https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
2+
3+
# Handle line endings automatically for files detected as text
4+
# and leave all files detected as binary untouched.
5+
* text=auto
6+
7+
#
8+
# The above will handle all files NOT found below
9+
#
10+
11+
#
12+
## These files are text and should be normalized (Convert crlf => lf)
13+
#
14+
15+
# source code
16+
*.php text
17+
*.css text
18+
*.sass text
19+
*.scss text
20+
*.less text
21+
*.styl text
22+
*.js text eol=lf
23+
*.coffee text
24+
*.json text
25+
*.htm text
26+
*.html text
27+
*.xml text
28+
*.svg text
29+
*.txt text
30+
*.ini text
31+
*.inc text
32+
*.pl text
33+
*.rb text
34+
*.py text
35+
*.scm text
36+
*.sql text
37+
*.sh text
38+
*.bat text
39+
40+
# templates
41+
*.ejs text
42+
*.hbt text
43+
*.jade text
44+
*.haml text
45+
*.hbs text
46+
*.dot text
47+
*.tmpl text
48+
*.phtml text
49+
50+
# server config
51+
.htaccess text
52+
.nginx.conf text
53+
54+
# git config
55+
.gitattributes text
56+
.gitignore text
57+
.gitconfig text
58+
59+
# code analysis config
60+
.jshintrc text
61+
.jscsrc text
62+
.jshintignore text
63+
.csslintrc text
64+
65+
# misc config
66+
*.yaml text
67+
*.yml text
68+
.editorconfig text
69+
70+
# build config
71+
*.npmignore text
72+
*.bowerrc text
73+
74+
# Heroku
75+
Procfile text
76+
.slugignore text
77+
78+
# Documentation
79+
*.md text
80+
LICENSE text
81+
AUTHORS text
82+
83+
84+
#
85+
## These files are binary and should be left untouched
86+
#
87+
88+
# (binary is a macro for -text -diff)
89+
*.png binary
90+
*.jpg binary
91+
*.jpeg binary
92+
*.gif binary
93+
*.ico binary
94+
*.mov binary
95+
*.mp4 binary
96+
*.mp3 binary
97+
*.flv binary
98+
*.fla binary
99+
*.swf binary
100+
*.gz binary
101+
*.zip binary
102+
*.7z binary
103+
*.ttf binary
104+
*.eot binary
105+
*.woff binary
106+
*.pyc binary
107+
*.pdf binary

.github/ISSUE_TEMPLATE.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# React Boilerplate
2+
3+
Before opening a new issue, please take a moment to review our [**community guidelines**](https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md) to make the contribution process easy and effective for everyone involved.
4+
5+
Please direct redux-saga related questions to stack overflow:
6+
http://stackoverflow.com/questions/tagged/redux-saga
7+
8+
For questions related to the boilerplate itself, you can also find answers on our gitter chat:
9+
https://gitter.im/mxstbr/react-boilerplate
10+
11+
**Before opening a new issue, you may find an answer in already closed issues**:
12+
https://github.com/react-boilerplate/react-boilerplate/issues?q=is%3Aissue+is%3Aclosed
13+
14+
## Issue Type
15+
16+
- [ ] Bug (https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md#bug-reports)
17+
- [ ] Feature (https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md#feature-requests)
18+
19+
## Description
20+
21+
(Add images if possible)
22+
23+
## Steps to reproduce
24+
25+
(Add link to a demo on https://jsfiddle.net or similar if possible)
26+
27+
# Versions
28+
29+
- React-Boilerplate (see `package.json`):
30+
- Node/NPM:
31+
- Browser:

.github/MAINTAINERS.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Maintainers
2+
3+
- mxstbr
4+
- oliverturner
5+
- justingreenberg
6+
- gihrig
7+
- sedubois
8+
- chaintng
9+
- samit4me
10+
- amilajack
11+
- Dattaya
12+
- jwinn
13+
- KarandikarMihir
14+
- gretzky
15+
- julienben

.github/PULL_REQUEST_TEMPLATE.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## React Boilerplate
2+
3+
Thank you for contributing! Please take a moment to review our [**contributing guidelines**](https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md)
4+
to make the process easy and effective for everyone involved.
5+
6+
**Please open an issue** before embarking on any significant pull request, especially those that
7+
add a new library or change existing tests, otherwise you risk spending a lot of time working
8+
on something that might not end up being merged into the project.
9+
10+
Before opening a pull request, please ensure:
11+
12+
- [ ] You have followed our [**contributing guidelines**](https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md)
13+
- [ ] double-check your branch is based on `dev` and targets `dev`
14+
- [ ] Pull request has tests (we are going for 100% coverage!)
15+
- [ ] Code is well-commented, linted and follows project conventions
16+
- [ ] Documentation is updated (if necessary)
17+
- [ ] Internal code generators and templates are updated (if necessary)
18+
- [ ] Description explains the issue/use-case resolved and auto-closes related issues
19+
20+
Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
21+
22+
**IMPORTANT**: By submitting a patch, you agree to allow the project
23+
owners to license your work under the terms of the [MIT License](https://github.com/react-boilerplate/react-boilerplate/blob/master/LICENSE.md).

.github/lock.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Configuration for lock-threads - https://github.com/dessant/lock-threads
2+
3+
# Number of days of inactivity before a closed issue or pull request is locked
4+
daysUntilLock: 30
5+
6+
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
7+
exemptLabels: []
8+
9+
# Label to add before locking, such as `outdated`. Set to `false` to disable
10+
lockLabel: false
11+
12+
# Comment to post before locking. Set to `false` to disable
13+
lockComment: >
14+
This thread has been automatically locked since there has not been
15+
any recent activity after it was closed. Please open a new issue for
16+
related bugs.
17+
18+
# Limit to only `issues` or `pulls`
19+
# only: issues
20+
21+
# Optionally, specify configuration settings just for `issues` or `pulls`
22+
# issues:
23+
# exemptLabels:
24+
# - help-wanted
25+
# lockLabel: outdated
26+
27+
# pulls:
28+
# daysUntilLock: 30
29+

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Don't check auto-generated stuff into git
2+
coverage
3+
build
4+
node_modules
5+
stats.json
6+
7+
# Cruft
8+
.DS_Store
9+
npm-debug.log
10+
.idea

.nvmrc

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

.prettierignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build/
2+
node_modules/
3+
internals/generators/
4+
internals/scripts/
5+
package-lock.json
6+
yarn.lock
7+
package.json

.prettierrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"trailingComma": "all"
8+
}

.stylelintrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"processors": ["stylelint-processor-styled-components"],
3+
"extends": [
4+
"stylelint-config-recommended",
5+
"stylelint-config-styled-components"
6+
]
7+
}

.travis.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: node_js
2+
3+
node_js:
4+
- 9
5+
- 8
6+
7+
script:
8+
- node ./internals/scripts/generate-templates-for-linting
9+
- npm test -- --maxWorkers=4
10+
- npm run build
11+
12+
before_install:
13+
- export CHROME_BIN=chromium-browser
14+
- export DISPLAY=:99.0
15+
- sh -e /etc/init.d/xvfb start
16+
17+
notifications:
18+
email:
19+
on_failure: change
20+
21+
after_success: 'npm run coveralls'
22+
23+
cache:
24+
yarn: true
25+
directories:
26+
- node_modules

0 commit comments

Comments
 (0)