tom-weatherhead/thaw-grammar

View on GitHub
src/common/grammar-factory.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createGrammar has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createGrammar(ls: LanguageSelector): IGrammar {
    switch (ls) {
        case LanguageSelector.MinimalLanguage:
            return new MinimalLanguageGrammar();

Severity: Minor
Found in src/common/grammar-factory.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status