Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit 9af3645

Browse files
committed
feat: Relax class-methods-use-this to warn because it should be a hint
1 parent a026414 commit 9af3645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
"callback-return": "error", // http://eslint.org/docs/rules/callback-return
3838
"camelcase": ["error", { properties: "always" }], // http://eslint.org/docs/rules/camelcase
3939
"capitalized-comments": ["off"], // http://eslint.org/docs/rules/capitalized-comments
40-
"class-methods-use-this": ["error"], // http://eslint.org/docs/rules/class-methods-use-this
40+
"class-methods-use-this": ["warn"], // http://eslint.org/docs/rules/class-methods-use-this
4141
"comma-dangle": ["error", {
4242
arrays: "always-multiline",
4343
exports: "always-multiline",

0 commit comments

Comments
 (0)