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
{{ message }}
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.
eclint only indents comments in a JS file, everything else is kept as it is.
How to reproduce
Example JS file:
/* * Some comment on the module. */vardriver=(function(){/* * This is some property. */varproperty=null;/* * Get the property. */vargetProperty=function(){returnproperty;};return{getProperty: getProperty};})();
/* * Some comment on the module. */vardriver=(function(){/* * This is some property. */varproperty=null;/* * Get the property. */vargetProperty=function(){returnproperty;};return{getProperty: getProperty};})();
As we see, the only thing that's changed are the comments inside of the closure (which are not properly indented, either). The property and the method are not changed. I'd expect the file to be indented using four spaces.
Version
$ eclint --version
2.8.1
The text was updated successfully, but these errors were encountered:
Description
eclint
only indents comments in a JS file, everything else is kept as it is.How to reproduce
Example JS file:
.editorconfig
in use:The result of this command is:
As we see, the only thing that's changed are the comments inside of the closure (which are not properly indented, either). The property and the method are not changed. I'd expect the file to be indented using four spaces.
Version
The text was updated successfully, but these errors were encountered: