-
-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
I just got the pragma functionality merged into prettier itself at prettier/prettier#2772. It is very similar to the functionality implemented here, only:
- Now editors can use their autoformat functionality and follow the same rules for applying based on the pragma as other tools
- The name of the pragma is fixed to either
@prettieror@format. There's a bit of discussion in that PR behind this reasoning.
How should we manage the transition from eslint-plugin-prettier's implementation of pragmas to the new one in core? Off the top of my head it makes sense to no longer use the third option for this plugin, and instead either rely on a .prettierrc or instruct users to pass along requirePragma in the second options argument of this plugin.
Thanks! cc @asuarez
Metadata
Metadata
Assignees
Labels
No labels