RubyLouvre/avalon

View on GitHub
src/parser/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function addScope has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function addScope(expr, type) {
    var cacheKey = expr + ':' + type
    var cache = exprCache.get(cacheKey)
    if (cache) {
        return cache.slice(0)
Severity: Minor
Found in src/parser/index.js - About 1 hr to fix

    Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
    Open

    import { avalon, msie, Cache } from '../seed/core'
    Severity: Minor
    Found in src/parser/index.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status