Giter Site home page Giter Site logo

running eslint about suicrux HOT 6 CLOSED

metnew avatar metnew commented on May 2, 2024
running eslint

from suicrux.

Comments (6)

Metnew avatar Metnew commented on May 2, 2024

Eslint works with webpack (eslint-loader) and lints your code on build or run(npm run dev)

from suicrux.

allenwalker3 avatar allenwalker3 commented on May 2, 2024

Excellent. Do you recommend a way to set up a directive to run eslint on the command line by setting it up in package.json ?

from suicrux.

Metnew avatar Metnew commented on May 2, 2024

Yeah, you can run eslint from cli, but personally, I don't see any real purpose to do it.
Lint code without --watch isn't a good idea.
Lint files in webpack_config folder - maybe it's the only one purpose for eslint from cli.
Maybe, it will be useful for linting code written for server.

from suicrux.

allenwalker3 avatar allenwalker3 commented on May 2, 2024

I'm having issues getting 'npm run dev' to recompile after changing code in a source file. Is this default behavior?

from suicrux.

Metnew avatar Metnew commented on May 2, 2024

Can you describe it more detailed?

from suicrux.

allenwalker3 avatar allenwalker3 commented on May 2, 2024

This may be an operating system issue (ubuntu) and not a package related issue. I will close. Thanks

from suicrux.

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.