Skip to content

Commit

Permalink
fix: Disable class-methods-use-this in react rules
Browse files Browse the repository at this point in the history
The rule was already disabled in base.js
  • Loading branch information
jhnns committed May 13, 2020
1 parent 46585b7 commit a0fe36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
// Allow certain react methods to have no this
// See https://github.com/peerigon/eslint-config-peerigon/issues/12
"class-methods-use-this": [
"warn",
"off",
{
exceptMethods: [
"render",
Expand Down

0 comments on commit a0fe36b

Please sign in to comment.