mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 18:38:29 -05:00
[eslint config] [base] [semver-patch] Allow empty class/object methods.
This commit is contained in:
@@ -42,8 +42,9 @@ module.exports = {
|
||||
// http://eslint.org/docs/rules/no-empty-function
|
||||
'no-empty-function': [2, {
|
||||
'allow': [
|
||||
'functions',
|
||||
'arrowFunctions',
|
||||
'functions',
|
||||
'methods',
|
||||
]
|
||||
}],
|
||||
// disallow empty destructuring patterns
|
||||
|
||||
Reference in New Issue
Block a user