dprint / dprint-intellij

A dprint plugin for Intellij.
https://plugins.jetbrains.com/plugin/18192-dprint
MIT License
12 stars 2 forks source link

Handle scratch files and run format after eslint fixes. #39

Closed ryan-rushton closed 1 year ago

ryan-rushton commented 1 year ago

Overview

This ensures format happens after eslint fixes for platforms that have the Javascript plugin installed. Also it ensures that scratch files are never formatted as a performance optimisation. Scratch files are always brand new files that live outside the project hierarchy so they will never be formatted.