How to use the codelyzer/walkerFactory/walkerFactory.Failure function in codelyzer

To help you get started, we’ve selected a few codelyzer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Alfresco / alfresco-ng2-components / adf-rules / adfClassNameRule.ts View on Github external
.fmap(name => {
                        const className = name.text;
                        if (Rule.invalidName(className)) {
                            return [new Failure(name, sprintf(Rule.FAILURE_STRING + className , className, suffixList))];
                        }
                    })
            ));