ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / comment-spacing
Requires consistent empty lines around comments.
module.exports = {
plugins: ["misc"],
rules: {
"misc/comment-spacing": "error"
}
};
// Comment
function f() {}
/** Comment */
function g() {}
/*
Comment
*/
function h() {}
// Comment
function f() {}
/** Comment */
function g() {}
/*
Comment
*/
function h() {}