Skip to content

Commit c46ca7e

Browse files
committed
chore(misc): add all-contributors config and github bot
Signed-off-by: Charlike Mike Reagent <[email protected]>
1 parent d5275bc commit c46ca7e

File tree

5 files changed

+90
-7
lines changed

5 files changed

+90
-7
lines changed

.all-contributorsrc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"projectName": "node-formidable",
3+
"projectOwner": "node-formidable",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"imageSize": 100,
7+
"contributorsPerLine": 7,
8+
"commitConvention": "angular",
9+
"commit": true,
10+
"skipCi": true,
11+
"files": [
12+
"README.md"
13+
],
14+
"contributors": [
15+
{
16+
"login": "felixge",
17+
"name": "Felix Geisendörfer",
18+
"avatar_url": "https://avatars3.githubusercontent.com/u/15000?s=460&v=4",
19+
"profile": "https://twitter.com/felixge",
20+
"contributions": [
21+
"code",
22+
"design",
23+
"ideas",
24+
"doc"
25+
]
26+
},
27+
{
28+
"login": "tunnckoCore",
29+
"name": "Charlike Mike Reagent",
30+
"avatar_url": "https://avatars3.githubusercontent.com/u/5038030?v=4",
31+
"profile": "https://tunnckoCore.com",
32+
"contributions": [
33+
"bug",
34+
"infra",
35+
"design"
36+
]
37+
}
38+
]
39+
}

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test-legacy
1111
.*cache
1212
*.cache
1313

14+
.all-contrib*rc
1415
# Build environment
1516
dist
1617

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ coverage
2828
*.jpg
2929

3030
.*
31+
!.all-contributorsrc
3132
!.*rc.js
3233
!.verb*.md
3334
patches

.prettierrc.js

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
'use strict';
22

3-
module.exports = require('@tunnckocore/prettier-config');
3+
const config = require('@tunnckocore/prettier-config');
4+
5+
module.exports = {
6+
...config,
7+
overrides: [
8+
{
9+
files: ['**/.all-contributorsrc'],
10+
options: {
11+
parser: 'json-stringify',
12+
singleQuote: false,
13+
// That actually is enforced by AirBnB Style anyway.
14+
// Always useful. And guaranteed that you won't see boring errors,
15+
// that eats your time, because of nothing real.
16+
trailingComma: 'all',
17+
18+
// That actually is enforced by AirBnB Style anyway.
19+
// Enforce more clear object literals.
20+
// As seen in this example https://github.com/airbnb/javascript#objects--rest-spread
21+
bracketSpacing: true,
22+
},
23+
},
24+
],
25+
};

README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,17 +378,37 @@ Emitted when the entire request has been received, and all contained files have
378378
form.on('end', () => {});
379379
```
380380

381-
## License
381+
## Ports & Credits
382382

383-
Formidable is licensed under the [MIT License][license-url].
383+
- [multipart-parser](http://github.com/FooBarWidget/multipart-parser): a C++ parser based on formidable
384+
- [Ryan Dahl](http://twitter.com/ryah) for his work on [http-parser](http://github.com/ry/http-parser) which heavily inspired the initial `multipart_parser.js`.
384385

385-
## Ports
386+
## Contributing
386387

387-
- [multipart-parser](http://github.com/FooBarWidget/multipart-parser): a C++ parser based on formidable
388+
If the documentation is unclear or has a typo, please click on the page's `Edit`
389+
button (pencil icon) and suggest a correction. If you would like to help us fix a bug or add a new feature, please check our
390+
[Contributing Guide](./CONTRIBUTING.md). Pull requests are welcome!
391+
392+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
388393

389-
## Credits
394+
<!-- ALL-CONTRIBUTORS-LIST:START -->
395+
<!-- prettier-ignore-start -->
396+
<!-- markdownlint-disable -->
397+
<table>
398+
<tr>
399+
<td align="center"><a href="https://twitter.com/felixge"><img src="https://avatars3.githubusercontent.com/u/15000?s=460&v=4" width="100px;" alt=""/><br /><sub><b>Felix Geisendörfer</b></sub></a><br /><a href="https://github.com/node-formidable/node-formidable/commits?author=felixge" title="Code">💻</a> <a href="#design-felixge" title="Design">🎨</a> <a href="#ideas-felixge" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/node-formidable/node-formidable/commits?author=felixge" title="Documentation">📖</a></td>
400+
<td align="center"><a href="https://tunnckoCore.com"><img src="https://avatars3.githubusercontent.com/u/5038030?v=4" width="100px;" alt=""/><br /><sub><b>Charlike Mike Reagent</b></sub></a><br /><a href="https://github.com/node-formidable/node-formidable/issues?q=author%3AtunnckoCore" title="Bug reports">🐛</a> <a href="#infra-tunnckoCore" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#design-tunnckoCore" title="Design">🎨</a></td>
401+
</tr>
402+
</table>
390403

391-
- [Ryan Dahl](http://twitter.com/ryah) for his work on [http-parser](http://github.com/ry/http-parser) which heavily inspired multipart_parser.js
404+
<!-- markdownlint-enable -->
405+
<!-- prettier-ignore-end -->
406+
407+
<!-- ALL-CONTRIBUTORS-LIST:END -->
408+
409+
## License
410+
411+
Formidable is licensed under the [MIT License][license-url].
392412

393413
<!-- badges -->
394414

0 commit comments

Comments
 (0)