NullVoxPopuli / eslint-plugin-decorator-position

ESLint plugin for enforcing decorator position

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflict with Prettier

EvgenyOrekhov opened this issue · comments

Prettier (with default options) wraps long decorators to the next line:

export default class Foo {
  @bar("baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz")
  qux;
}

But then eslint-plugin-decorator-position (with default options) starts saying Expected @bar to be inline.

I would prefer to not have this warning when using default options.

Thanks for reporting! <3 Any chance you want to submit a failing test PR?

This has been resolved!