Skip to content

Commit

Permalink
feat(main): [class-methods-use-this] Enforce class fields and ignore …
Browse files Browse the repository at this point in the history
…"execute" function (#352)
  • Loading branch information
Hazmi35 authored Jan 17, 2022
1 parent 807815c commit 96a5229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"arrow-body-style": "warn",
"block-scoped-var": "error",
"camelcase": "warn",
"class-methods-use-this": ["warn", { "enforceForClassFields": false }],
"class-methods-use-this": ["warn", { "exceptMethods": ["execute"], "enforceForClassFields": true }],
"consistent-this": ["warn", "self"],
"curly": ["error", "multi-line", "consistent"],
"default-case-last": "warn",
Expand Down

0 comments on commit 96a5229

Please sign in to comment.