💚 (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:
Michael Große
2018-09-04 09:24:27 +02:00
parent d75b41a510
commit 2bd43c0fdb

View File

@ -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