GarthDB/postcss-inherit

View on GitHub

Showing 1 of 1 total issue

Function _atRuleInheritsFromRoot has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  _atRuleInheritsFromRoot(atRule) {
    atRule.walkAtRules(this.propertyRegExp, (importRule) => {
      const originRule = importRule.parent;
      const importValue = _cleanParams(importRule.params);
      const originAtParams = _isAtruleDescendant(originRule);
Severity: Minor
Found in src/inherit.js - About 1 hr to fix
Severity
Category
Status
Source
Language