Skip to content

Commit

Permalink
fix: allow components to be variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dotconnor committed May 21, 2020
1 parent 69ea1aa commit e91817e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions typescript-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ react.rules["@typescript-eslint/naming-convention"].push({
format: ["camelCase", "PascalCase"],
});

react.rules["@typescript-eslint/naming-convention"][2].format.push(
"PascalCase"
);

module.exports = react;

0 comments on commit e91817e

Please sign in to comment.