Appearance
region-comment
This rule enforces that each // #region comment is named and paired with a corresponding // #endregion comment.
// #region
// #endregion
// #region Region1 export function foo() {} // #endregion Region1
Regions can overlap:
// #region Region1 // #region Region2 export function foo() {} // #endregion Region2 // #endregion Region1
// Missing name for region // #region export function foo() {} // #endregion // Missing #region tag export function bar() {} // #endregion 1
region-commentThis rule enforces that each
// #regioncomment is named and paired with a corresponding// #endregioncomment.✅ Examples of correct code for this rule
Regions can overlap:
❌ Examples of incorrect code for this rule