Skip to content

Commit

Permalink
docs: Recommend peerigon/styles/prefer-arrow with TypeScript
Browse files Browse the repository at this point in the history
Related discussion: #23 (comment)
  • Loading branch information
jhnns committed Jul 9, 2019
1 parent 6c0d0a3 commit 223f881
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ Rules for [TypeScript](https://www.typescriptlang.org/).
{
"extends": [
"peerigon",
"peerigon/typescript"
"peerigon/typescript",
// Arrow functions are preferred with TypeScript
// See https://github.com/peerigon/eslint-config-peerigon/issues/23#issuecomment-472614432
"peerigon/styles/prefer-arrow",
],
"root": true
}
Expand Down

0 comments on commit 223f881

Please sign in to comment.