Closed feross closed 7 years ago
I still see this problem, why has it been closed?
@la-yumba The issue is not closed. It was moved from the standard
repo to this repo, which is standard-format
.
You should use standard --fix
instead of this package. standard-format
isn't being actively maintained anymore.
Moved from @diasdavid's issue https://github.com/feross/standard/issues/316:
It seems that when
standard --format
catches a es6 getter/setter, it changes its format and than reports a codestyle error, see example belowThe right space was there, but then
Fixing the problem and running
standard
returns no errors, but then ifstandard --format
is executed, it will remove the space again and report an error