pocka/rusted

View on GitHub
src/enum.js

Summary

Maintainability
A
1 hr
Test Coverage

Function factory has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

let factory=function(variants){
    let EnumValue=function(name,data){
        Object.defineProperties(this,{
            '__rusted':{
                value:true,
Severity: Minor
Found in src/enum.js - About 1 hr to fix

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

    import panic from './panic';
    Severity: Minor
    Found in src/enum.js by eslint

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

    There are no issues that match your filters.

    Category
    Status