Skip to content

Expected JSDoc block to be aligned. jsdoc/check-alignment #368

Closed
@OmgImAlexis

Description

@OmgImAlexis

The first returns a warning. The second is what was returned from --fix. The example I'm using is from the examples on jsdoc/check-alignment.

  ⚠  8:0  Expected JSDoc block to be aligned.  jsdoc/check-alignment

  1 warning
module.exports = function (si) {
	/**
      * Desc
      *
      * @param {number} foo
      */
     function quux(foo) {
     }
};
module.exports = function(si) {
	/**
  * Desc
  *
  * @param {number} foo
  */
	function quux(foo) {
	}
};

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions