Skip to content

Commit

Permalink
Add Prettier (#262)
Browse files Browse the repository at this point in the history
* 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 <timdorr@users.noreply.github.com>
  • Loading branch information
jedmao and timdorr committed Aug 29, 2019
1 parent 56b90d7 commit 3f56c2f
Show file tree
Hide file tree
Showing 14 changed files with 1,386 additions and 158 deletions.
17 changes: 13 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
{
"extends": "eslint-config-airbnb",
"extends": [
"eslint-config-airbnb",
"prettier",
"plugin:@typescript-eslint/recommended"
],
"env": {
"mocha": true,
"node": true
},
"globals": {
"expect": true
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"padded-blocks": 0,
"no-use-before-define": [2, "nofunc"],
Expand Down
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/--bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: "\U0001F41B Bug report"
about: "Something is broken? \U0001F528"
---

# Bug Report

## Package name / version

redux-thunk@2.3.0

## Description

## Steps to reproduce

## Expected behavior

## Environment

- OS: [e.g., OSX 10.14.6, Windows 10]
- Node/npm version: [e.g., Node 10.16.2/npm 6.10.3]
- Browser: [e.g., Chrome]

## Additional context / screenshots
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/--feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "\U0001F680 Feature Request"
about: "I have a suggestion (and may want to implement it \U0001F642)!"
---

# Feature Request
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/--support-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "\U0001F917 Support Question"
about: "I have a question \U0001F4AC"
---

# Question
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
language: node_js

node_js:
- "node"
- 'lts/*'

cache: npm

script:
- npm run build
- npm test
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:+1: :tada: :sparkling_heart: Thanks for your interest! :sparkling_heart: :tada:
:+1:

## Tests

- Write a test for each use case.
- Try to stick to one assertion per use case.
- Too thorough is better than not thorough enough.
Loading

0 comments on commit 3f56c2f

Please sign in to comment.