Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bdec1e5
Updated tests to fix build Closed #95 (#133)
piotrwitek Feb 3, 2019
857d9fd
Adds info import module decleration (#134)
arshadkazmi42 Feb 4, 2019
23ffca5
Updated Recipes section Closed #137
piotrwitek Feb 12, 2019
8f51601
Updated TOC
piotrwitek Feb 12, 2019
af7d940
Updated deps (#139)
piotrwitek Feb 12, 2019
c06d37a
Added example for using context in class component (#141)
binoy14 Feb 14, 2019
33d96b6
Testing epics (#144)
piotrwitek Feb 22, 2019
8c796de
updated deps
piotrwitek Mar 7, 2019
1259b21
added redux-thunk types overload
piotrwitek Mar 7, 2019
d0a05b2
Updated legacy patterns
piotrwitek Mar 7, 2019
5d03b97
ThunkActionType prototype
piotrwitek Mar 7, 2019
342a6ad
fix spelling mistake (#152)
SCKelemen Apr 6, 2019
0ecf245
Updated docs and and example of integration with redux-thunk Resolved…
piotrwitek Apr 6, 2019
c8d35fe
Merge branch 'redux-thunk'
piotrwitek Apr 6, 2019
b5cefb4
Added hyperlinks for better UX
piotrwitek Apr 6, 2019
34fc808
Small updates
piotrwitek Apr 13, 2019
e732b43
Updated playground project and added integration with react-redux-typ…
piotrwitek Apr 13, 2019
3f978be
Added new solution to Connect with `react-redux` to solve validation …
piotrwitek Apr 13, 2019
acd9b20
Added ESLint config section (#158)
piotrwitek Apr 14, 2019
93fc2b8
Refactored playground to use create-react-app (#159)
piotrwitek Apr 14, 2019
cf8a03c
Capitalize file to fix import on POSIX systems (#160)
lordi Apr 15, 2019
05ddc8f
Added prettier to common npm scripts
piotrwitek Apr 18, 2019
0ff885d
Added doctoc
piotrwitek Apr 21, 2019
01bc1df
Updated readme
piotrwitek Apr 21, 2019
0c2afc9
Updated readme with new section about createReducer API
piotrwitek Apr 22, 2019
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
Prev Previous commit
Next Next commit
Added ESLint config section (piotrwitek#158)
  • Loading branch information
piotrwitek authored Apr 14, 2019
commit acd9b20354b1b06ea3ba5065012dc781e0168720
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Issues can be funded by anyone and the money will be transparently distributed t
- [TypeScript](#typescript)
- [TSLib](#tslib)
- [TSLint](#tslint)
- [ESLint](#eslint)
- [Jest](#jest)
- [Style Guide](#style-guide)
- [Recipes](#recipes)
Expand Down Expand Up @@ -1588,6 +1589,31 @@ We have our own recommended config that you can easily add to your project thank

[⇧ back to top](#table-of-contents)

## ESLint
https://eslint.org/
https://typescript-eslint.io

> Installation
`npm i -D eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin`

We have our own recommended config that will automatically add a parser & plugin for TypeScript thanks to [`react-redux-typescript-scripts`](https://github.com/piotrwitek/react-redux-typescript-scripts) package.

#### .eslintrc
<details><summary><i>Click to expand</i></summary><p>

```tsx
{
"extends": ["./node_modules/react-redux-typescript-scripts/eslint.js"],
"rules": {
// you can further customize options here
}
}

```
</p></details>

[⇧ back to top](#table-of-contents)

## Jest
https://jestjs.io/

Expand Down
15 changes: 15 additions & 0 deletions README_SOURCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Issues can be funded by anyone and the money will be transparently distributed t
- [TypeScript](#typescript)
- [TSLib](#tslib)
- [TSLint](#tslint)
- [ESLint](#eslint)
- [Jest](#jest)
- [Style Guide](#style-guide)
- [Recipes](#recipes)
Expand Down Expand Up @@ -631,6 +632,20 @@ We have our own recommended config that you can easily add to your project thank

[⇧ back to top](#table-of-contents)

## ESLint
https://eslint.org/
https://typescript-eslint.io

> Installation
`npm i -D eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin`

We have our own recommended config that will automatically add a parser & plugin for TypeScript thanks to [`react-redux-typescript-scripts`](https://github.com/piotrwitek/react-redux-typescript-scripts) package.

#### .eslintrc
::expander='playground/.eslintrc'::

[⇧ back to top](#table-of-contents)

## Jest
https://jestjs.io/

Expand Down
6 changes: 6 additions & 0 deletions playground/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": ["./node_modules/react-redux-typescript-scripts/eslint.js"],
"rules": {
// you can further customize options here
}
}