E0174: functions/methods should not have '=>'
Classes and object literals can contain methods. It is a syntax error to write
=> before the method's body:
To fix this error, remove the
=> to create a valid method:
Alternatively, in an object literal, create an arrow function instead of a
method by adding
: after the method name:
Introduced in quick-lint-js version 0.5.0.
Documentation for other errors