You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How are users supposed to configure esformatter in order to exclude custom file paths? I'm having trouble finding this option in the provided documentation. For example, CoffeeScript projects will want to jsfmt any Gruntfile.js, Gulpfile.js scripts, but otherwise ignore any lib/*.js or similar compiled JS paths.
As a workaround, one could use UNIX find, xargs to wrap esformatter over specific file patterns, but this option should really just be built into jsfmt itself for cross-compatibility. And it's rather involved to implement an accurate shell script snippet for allowing bin/<NodeJS-script-with-a-shebang-but-without-a-file-extension>, compared to doing this right in esformatter.
The text was updated successfully, but these errors were encountered:
How are users supposed to configure esformatter in order to exclude custom file paths? I'm having trouble finding this option in the provided documentation. For example, CoffeeScript projects will want to jsfmt any
Gruntfile.js
,Gulpfile.js
scripts, but otherwise ignore anylib/*.js
or similar compiled JS paths.As a workaround, one could use UNIX
find
,xargs
to wrapesformatter
over specific file patterns, but this option should really just be built into jsfmt itself for cross-compatibility. And it's rather involved to implement an accurate shell script snippet for allowingbin/<NodeJS-script-with-a-shebang-but-without-a-file-extension>
, compared to doing this right in esformatter.The text was updated successfully, but these errors were encountered: