mirror of
https://github.com/cosmocode/dokuwiki-plugin-prosemirror.git
synced 2025-07-22 01:28:32 +00:00
💚 (eslint) Disable class-methods-use-this rule
Especially with MenuItems we may want to use non-static class methods without `this`
This commit is contained in:
@ -3,6 +3,7 @@ const prod = {
|
||||
indent: ['error', 4],
|
||||
'no-magic-numbers': ['warn', { ignore: [0, 1, -1] }],
|
||||
'max-len': ['error', { code: 120, ignoreComments: true }],
|
||||
'class-methods-use-this': 0,
|
||||
};
|
||||
|
||||
// dev rules extend production rules
|
||||
|
Reference in New Issue
Block a user