pankaryp/crana

View on GitHub

Showing 3 of 3 total issues

Function create has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function create() {
  return {
    entry: ['babel-polyfill', path.join(PATHS.client.app, 'index.jsx')],
    resolve: {
      extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx'],
Severity: Major
Found in src/config/webpack/browser/webpack.common.js - About 2 hrs to fix

    Function colorize has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function colorize(str) {
      const colorsMods = {
        Reset: '\x1b[0m',
        Bright: '\x1b[1m',
        Dim: '\x1b[2m',
    Severity: Minor
    Found in src/util.js - About 1 hr to fix

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

      module.exports = function create() {
        const DEV_CONFIG = {
          mode: 'development',
          devtool: 'cheap-eval-source-map',
          devServer: {
      Severity: Minor
      Found in src/config/webpack/browser/webpack.dev.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language