ElMassimo/vite_ruby

View on GitHub
vite-plugin-ruby/src/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function config has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function config (userConfig: UserConfig, env: ConfigEnv): UserConfig {
  const config = loadConfiguration(env.mode, projectRoot, userConfig)
  const { assetsDir, base, outDir, server, root, entrypoints, ssrBuild } = config

  const isLocal = config.mode === 'development' || config.mode === 'test'
Severity: Minor
Found in vite-plugin-ruby/src/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status