NullVoxPopuli / eslint-plugin-decorator-position

ESLint plugin for enforcing decorator position

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when `declare` syntax is used with decorators, the rule conflicts with prettier for long lines.

NullVoxPopuli opened this issue ยท comments

Example:

          // Would be 113 characters inline
          @service('addon-name/-private/do-not-use/the-name-of-the-service')
          declare someObfuscatedPrivateService: Service;

if set to be "inline", prettier will want to keep it as is, but the rule would inline the decorator

๐ŸŽ‰ This issue has been resolved in version 2.2.8 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€