mirror of
https://github.com/cosmocode/dokuwiki-plugin-prosemirror.git
synced 2025-07-26 15:51:09 +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],
|
indent: ['error', 4],
|
||||||
'no-magic-numbers': ['warn', { ignore: [0, 1, -1] }],
|
'no-magic-numbers': ['warn', { ignore: [0, 1, -1] }],
|
||||||
'max-len': ['error', { code: 120, ignoreComments: true }],
|
'max-len': ['error', { code: 120, ignoreComments: true }],
|
||||||
|
'class-methods-use-this': 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
// dev rules extend production rules
|
// dev rules extend production rules
|
||||||
|
Reference in New Issue
Block a user