Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Prettier #262

Merged
merged 5 commits into from
Aug 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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