Skip to content

Commit 4d55a62

Browse files
starter kit
1 parent fdc8048 commit 4d55a62

40 files changed

+13907
-0
lines changed

.eslintrc

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"extends": [
3+
"airbnb",
4+
"prettier",
5+
"prettier/react"
6+
],
7+
"parser": "babel-eslint",
8+
"parserOptions": {
9+
"ecmaVersion": 2017,
10+
"ecmaFeatures": {
11+
"experimentalObjectRestSpread": true,
12+
"impliedStrict": true,
13+
"classes": true
14+
}
15+
},
16+
"settings": {
17+
"import/resolver": {
18+
"node": {
19+
"paths": [
20+
"src"
21+
]
22+
}
23+
}
24+
},
25+
"env": {
26+
"browser": true,
27+
"node": true,
28+
"jquery": true
29+
},
30+
"rules": {
31+
"no-unused-vars": [
32+
1,
33+
{
34+
"argsIgnorePattern": "res|next|stage|^err"
35+
}
36+
],
37+
"arrow-body-style": [
38+
2,
39+
"as-needed"
40+
],
41+
"no-param-reassign": [
42+
2,
43+
{
44+
"props": false
45+
}
46+
],
47+
"no-console": 0,
48+
"linebreak-style": 0,
49+
"no-use-before-define": 0,
50+
"import/no-extraneous-dependencies": 0,
51+
"react/no-danger": 0,
52+
"import/prefer-default-export": 0,
53+
"import": 0,
54+
"func-names": 0,
55+
"space-before-function-paren": 0,
56+
"import/extensions": 0,
57+
"no-underscore-dangle": 0,
58+
"consistent-return": 0,
59+
"react/display-name": 1,
60+
"react/react-in-jsx-scope": 0,
61+
"react/forbid-prop-types": 0,
62+
"react/no-unescaped-entities": 0,
63+
"jsx-a11y/accessible-emoji": 0,
64+
"react/jsx-filename-extension": [
65+
1,
66+
{
67+
"extensions": [
68+
".js",
69+
".jsx"
70+
]
71+
}
72+
],
73+
"quotes": [
74+
2,
75+
"single",
76+
{
77+
"avoidEscape": true,
78+
"allowTemplateLiterals": true
79+
}
80+
],
81+
"indent": [
82+
"error",
83+
2,
84+
{
85+
"SwitchCase": 1
86+
}
87+
],
88+
"prettier/prettier": [
89+
"error",
90+
{
91+
"trailingComma": "es5",
92+
"singleQuote": true,
93+
"printWidth": 120
94+
}
95+
],
96+
"jsx-a11y/href-no-hash": "off",
97+
"jsx-a11y/anchor-is-valid": [
98+
"warn",
99+
{
100+
"aspects": [
101+
"invalidHref"
102+
]
103+
}
104+
]
105+
},
106+
"plugins": [
107+
"prettier"
108+
]
109+
}

.github/ISSUE_TEMPLATE/bug_report.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: Something isn't working as expected?
4+
5+
---
6+
7+
<!--
8+
Please fill out each section below, otherwise your issue will be closed.
9+
10+
Useful Links:
11+
- Documentation: https://www.gatsbyjs.org/docs/
12+
- How to File an Issue: https://www.gatsbyjs.org/docs/how-to-file-an-issue/
13+
-->
14+
15+
## Description
16+
17+
Describe the issue that you're seeing.
18+
19+
### Steps to reproduce
20+
21+
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue _much_ easier to diagnose (seriously).
22+
23+
### Expected result
24+
25+
What should happen?
26+
27+
### Actual result
28+
29+
What happened.
30+
31+
### Environment
32+
33+
Run `gatsby info --clipboard` in your project directory and paste the output here. Not working? You may need to update your global gatsby-cli - `npm install -g gatsby-cli`
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
## Summary
8+
9+
Brief explanation of the feature.
10+
11+
### Basic example
12+
13+
If the proposal involves a new or changed API, include a basic code example. Omit this section if it's not applicable.
14+
15+
### Motivation
16+
17+
Why are we doing this? What use cases does it support? What is the expected outcome?

.gitignore

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
### Node ###
2+
# Logs
3+
logs
4+
*.log
5+
npm-debug.log*
6+
7+
# Runtime data
8+
pids
9+
*.pid
10+
*.seed
11+
*.pid.lock
12+
13+
# Directory for instrumented libs generated by jscoverage/JSCover
14+
lib-cov
15+
16+
# Coverage directory used by tools like istanbul
17+
coverage
18+
19+
# nyc test coverage
20+
.nyc_output
21+
22+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
23+
.grunt
24+
25+
# node-waf configuration
26+
.lock-wscript
27+
28+
# Compiled binary addons (http://nodejs.org/api/addons.html)
29+
build/Release
30+
31+
# Dependency directories
32+
node_modules
33+
jspm_packages
34+
.idea
35+
36+
# Optional npm cache directory
37+
.npm
38+
39+
# Optional eslint cache
40+
.eslintcache
41+
42+
# Optional REPL history
43+
.node_repl_history
44+
45+
# Output of 'npm pack'
46+
*.tgz
47+
48+
# Yarn Integrity file
49+
.yarn-integrity
50+
51+
52+
# Build Files
53+
public/
54+
.cache/
55+
56+
# Gatsby context
57+
.gatsby-context.js
58+
59+
# Bundle stats
60+
bundle-stats.json

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 gatsbyjs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

0 commit comments

Comments
 (0)