mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 11:18:04 -05:00
[eslint config] [base] [breaking] enable class-methods-use-this
This commit is contained in:
@@ -15,8 +15,7 @@ module.exports = {
|
||||
|
||||
// enforce that class methods use "this"
|
||||
// http://eslint.org/docs/rules/class-methods-use-this
|
||||
// TODO: enable
|
||||
'class-methods-use-this': 'off',
|
||||
'class-methods-use-this': 'error',
|
||||
|
||||
// require return statements to either always or never specify values
|
||||
'consistent-return': 'error',
|
||||
|
||||
Reference in New Issue
Block a user