Skip to content

Commit f0495f6

Browse files
author
Kent C. Dodds
committed
WIP: init
0 parents  commit f0495f6

35 files changed

+1060
-0
lines changed

.all-contributorsrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"projectName": "kcd-scripts",
3+
"projectOwner": "kentcdodds",
4+
"files": [
5+
"README.md"
6+
],
7+
"imageSize": 100,
8+
"commit": false,
9+
"contributors": [
10+
{
11+
"login": "kentcdodds",
12+
"name": "Kent C. Dodds",
13+
"avatar_url": "https://avatars.githubusercontent.com/u/1500684?v=3",
14+
"profile": "https://kentcdodds.com",
15+
"contributions": [
16+
"code",
17+
"doc",
18+
"infra",
19+
"test"
20+
]
21+
}
22+
]
23+
}

.babelrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
["env", {
4+
"targets": {
5+
"node": "4.5"
6+
}
7+
}]
8+
],
9+
"plugins": [
10+
"transform-class-properties",
11+
"transform-object-rest-spread"
12+
]
13+
}

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
coverage
3+
dist

.eslintrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"extends": [
3+
"kentcdodds",
4+
"kentcdodds/jest",
5+
"kentcdodds/prettier"
6+
],
7+
"rules": {
8+
// stuff I haven't gotten around to updating in my config
9+
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^ignored" }],
10+
"func-style": "off",
11+
"no-process-exit": "off",
12+
"import/no-dynamic-require": "off",
13+
14+
// prettier does this for us
15+
"max-len": "off",
16+
"semi": "off",
17+
"quotes": "off",
18+
"comma-dangle": "off",
19+
"no-console": "off",
20+
"indent": "off",
21+
"babel/object-curly-spacing": "off"
22+
}
23+
}

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.js text eol=lf

.github/ISSUE_TEMPLATE.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!--
2+
Thanks for your interest in the project. I appreciate bugs filed and PRs submitted!
3+
Please make sure that you are familiar with and follow the Code of Conduct for
4+
this project (found in the CODE_OF_CONDUCT.md file).
5+
6+
Please fill out this template with all the relevant information so we can
7+
understand what's going on and fix the issue.
8+
9+
I'll probably ask you to submit the fix (after giving some direction). If you've
10+
never done that before, that's great! Check this free short video tutorial to
11+
learn how: http://kcd.im/pull-request
12+
-->
13+
14+
- `kcd-scripts` version:
15+
- `node` version:
16+
- `npm` (or `yarn`) version:
17+
18+
Relevant code or config
19+
20+
```javascript
21+
22+
```
23+
24+
What you did:
25+
26+
27+
28+
What happened:
29+
30+
<!-- Please provide the full error message/screenshots/anything -->
31+
32+
Reproduction repository:
33+
34+
<!--
35+
If possible, please create a repository that reproduces the issue with the
36+
minimal amount of code possible.
37+
-->
38+
39+
Problem description:
40+
41+
42+
43+
Suggested solution:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!--
2+
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!
3+
4+
Please make sure that you are familiar with and follow the Code of Conduct for
5+
this project (found in the CODE_OF_CONDUCT.md file).
6+
7+
Also, please make sure you're familiar with and follow the instructions in the
8+
contributing guidelines (found in the CONTRIBUTING.md file).
9+
10+
If you're new to contributing to open source projects, you might find this free
11+
video course helpful: http://kcd.im/pull-request
12+
13+
Please fill out the information below to expedite the review and (hopefully)
14+
merge of your pull request!
15+
-->
16+
17+
<!-- What changes are being made? (What feature/bug is being fixed here?) -->
18+
**What**:
19+
20+
<!-- Why are these changes necessary? -->
21+
**Why**:
22+
23+
<!-- How were these changes implemented? -->
24+
**How**:
25+
26+
<!-- Have you done all of these things? -->
27+
**Checklist**:
28+
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
29+
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
30+
- [ ] Documentation
31+
- [ ] Tests
32+
- [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
33+
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->
34+
35+
<!-- feel free to add additional comments -->

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules
2+
coverage
3+
dist
4+
.opt-in
5+
.opt-out
6+
.DS_Store
7+
.eslintcache
8+
9+
# these cause more harm than good
10+
# when working with contributors
11+
package-lock.json
12+
yarn.lock

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=http://registry.npmjs.org/

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sudo: false
2+
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
6+
notifications:
7+
email: false
8+
node_js:
9+
- '8'
10+
script:
11+
- npm start validate
12+
after_success:
13+
- npx codecov
14+
- npm i -g semantic-release@7 && semantic-release pre && npm publish && semantic-release post
15+
branches:
16+
only:
17+
- master

0 commit comments

Comments
 (0)