Skip to content

Commit 3f56c2f

Browse files
jedmaotimdorr
andcommitted
Add Prettier (#262)
* style: use prettier, commitizen, semantic-release * remove semantic release, conventional commits * Delete extensions.json * Delete settings.json * apply cr feedback Co-authored-by: Tim Dorr <[email protected]>
1 parent 56b90d7 commit 3f56c2f

14 files changed

+1386
-158
lines changed

.eslintrc

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
{
2-
"extends": "eslint-config-airbnb",
2+
"extends": [
3+
"eslint-config-airbnb",
4+
"prettier",
5+
"plugin:@typescript-eslint/recommended"
6+
],
37
"env": {
4-
"mocha": true,
58
"node": true
69
},
7-
"globals": {
8-
"expect": true
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"ecmaFeatures": {
13+
"impliedStrict": true
14+
},
15+
"ecmaVersion": 6,
16+
"sourceType": "module"
917
},
18+
"plugins": ["@typescript-eslint", "prettier"],
1019
"rules": {
1120
"padded-blocks": 0,
1221
"no-use-before-define": [2, "nofunc"],
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: "\U0001F41B Bug report"
3+
about: "Something is broken? \U0001F528"
4+
---
5+
6+
# Bug Report
7+
8+
## Package name / version
9+
10+
11+
12+
## Description
13+
14+
## Steps to reproduce
15+
16+
## Expected behavior
17+
18+
## Environment
19+
20+
- OS: [e.g., OSX 10.14.6, Windows 10]
21+
- Node/npm version: [e.g., Node 10.16.2/npm 6.10.3]
22+
- Browser: [e.g., Chrome]
23+
24+
## Additional context / screenshots
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: "\U0001F680 Feature Request"
3+
about: "I have a suggestion (and may want to implement it \U0001F642)!"
4+
---
5+
6+
# Feature Request
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: "\U0001F917 Support Question"
3+
about: "I have a question \U0001F4AC"
4+
---
5+
6+
# Question

.travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
language: node_js
2+
23
node_js:
3-
- "node"
4+
- 'lts/*'
5+
6+
cache: npm
7+
48
script:
59
- npm run build
610
- npm test

CONTRIBUTING.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
:+1: :tada: :sparkling_heart: Thanks for your interest! :sparkling_heart: :tada:
2+
:+1:
3+
4+
## Tests
5+
6+
- Write a test for each use case.
7+
- Try to stick to one assertion per use case.
8+
- Too thorough is better than not thorough enough.

0 commit comments

Comments
 (0)