Open opngrumd opened 8 years ago
Trying to format a file with invalid format,
semistandard -F index.js
, i get this output:
index.js:6:13: Expected indentation of 10 space characters but found 12.
However, the file does not get formatted even if the error is detected.
Example file, index.js:
module.exports = function (opt) { return { start: function () { var connection = { ssl: opt.ssl || { enabeled: false } }; console.log(connection); } }; };
This error also affects standard-format. Because this project is a fork of standard-format, you may want to direct your issue there.
Trying to format a file with invalid format,
, i get this output:
However, the file does not get formatted even if the error is detected.
Example file, index.js: