Skip to content

Commit

Permalink
ter-prefer-arrow-callback - allowNamedFunctions: true, suits react's …
Browse files Browse the repository at this point in the history
…functional components better
  • Loading branch information
falkenhawk committed Dec 19, 2019
1 parent 1ddca97 commit c796dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ovos-media/coding-standard",
"version": "1.3.1",
"version": "1.3.2",
"description": "ovos-media Coding Standard",
"main": "index.js",
"types": "index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions tslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const rules : tslint.Configuration.RawRulesConfig = Object.assign({}, rulesAirbn
'no-this-assignment': [true, {'allow-destructuring': true}],
'import-name': false, // from tslint-microsoft-contrib
'object-shorthand-properties-first': false, // from tslint-consistent-codestyle
'ter-prefer-arrow-callback': [true, {'allowNamedFunctions': true}], // suits React functional components better
'ter-arrow-parens': [
true,
'as-needed',
Expand Down

0 comments on commit c796dc4

Please sign in to comment.