Coder Social home page Coder Social logo

Comments (3)

dvdzkwsk avatar dvdzkwsk commented on April 20, 2024

Hey, so as a temporary fix what you'd want to do is disable the eslint preloader in ~/build/webpack/client.js (and server.js as well if you're using it):

  module : {
    // preLoaders : [
    //   {
    //     test : /\.(js|jsx)$/,
    //     loaders : ['eslint-loader'],
    //     include : paths.project(config.get('dir_src'))
    //   }
    // ],
    loaders : [
      {
        test : /\.(js|jsx)$/,
        include :  paths.project(config.get('dir_src')),
        loaders : ['react-hot', 'babel?optional[]=runtime&stage=0']
      },
      {
        test    : /\.scss$/,
        loader : ExtractTextPlugin.extract('style-loader', [
          'css-loader',
          'autoprefixer?browsers=last 2 version',
          'sass-loader?includePaths[]=' + paths.src('styles')
        ].join('!'))
      }
    ]
  }

I realize that it's not the greatest solution, but that will at least let you develop freely for now. When I get some time I'll take a look at improving the linting so that it's not as intrusive during development, and probably make the default eslint config much more lenient.

from react-redux-starter-kit.

dvdzkwsk avatar dvdzkwsk commented on April 20, 2024

Hey @victorbjelkholm, since I still haven't figured out how to get the lint errors to not show up in the console, I've added a configuration option here 8f8fd5d:

config.set('webpack_lint_in_dev', true);

You can set this to false to disable linting when developing. It will still lint in all other environments, which is useful for validating PR's and whatnot. I know it's not ideal, but it's at least a workaround until I can find some documentation on disabling certain browser output.

from react-redux-starter-kit.

dvdzkwsk avatar dvdzkwsk commented on April 20, 2024

Closing this for now since this option is available and should serve most use cases. I'll continue to explore the possibility of disabling output in the browser console, but I've yet to find any documentation around how to achieve this.

from react-redux-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.