E0072: methods should not use the 'function' keyword
Classes and object literals can contain methods. It is an error to use the
function
keyword in a class or object literal when defining a method:
To fix this error, remove the function
keyword:
Introduced in quick-lint-js version 0.2.0.