Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Comment (0.14 sec)

  1. .cm/plugins/filters/byCodeowner/ignore/index.js

    const checkPattern = pattern => pattern
        && isString(pattern)
        && !REGEX_TEST_BLANK_LINE.test(pattern)
        && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern)
    
        // > A line starting with # serves as a comment.
        && pattern.indexOf('#') !== 0
    
    const splitPattern = pattern => pattern.split(REGEX_SPLITALL_CRLF)
    
    class IgnoreRule {
        constructor (
            origin,
            pattern,
            negative,
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

        const automationActivations = enabled.get(automationName) || [];
    
        // Check if always enabled, or enabled by comment
        if (automationActivations.includes('always')) {
            result = true;
        } else {
            result = Object.values(pr.comments).some(comment => {
                const checks = extractCheckNames(comment.content);
                if (checks.includes(automationName)) {
                    return true;
                }
            });
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top