GithubHelp home page GithubHelp logo

Jshint? about snowman HOT 5 OPEN

Gpeschke avatar Gpeschke commented on June 15, 2024
Jshint?

from snowman.

Comments (5)

videlais avatar videlais commented on June 15, 2024

That would probably mean including jshint in the build itself, which would be a major addition for what seems like a smaller number of use cases.

from snowman.

Gpeschke avatar Gpeschke commented on June 15, 2024

To clarify- I was meaning before eval, not before eval().
Linting is similar to syntax highlighting in the dev cycle.
Jshint is javascript's linting tool.

from snowman.

videlais avatar videlais commented on June 15, 2024

@Gpeschke Strict enforcement of ESLint "Standard" is now part of the GitHub action workflow.

from snowman.

Gpeschke avatar Gpeschke commented on June 15, 2024

Hmmm... still seems like we are talking bout separate things.

I'm talking about within twine, when you are developing a story, it'd be nice to be able to lint.

from snowman.

videlais avatar videlais commented on June 15, 2024

@Gpeschke: We were originally talking about the same thing, I think. For you to be able to lint in the editor, either Twine 2 would have to add it (which it probably won't) or Snowman would have to carry and maintain the functionality (which is a huge hassle for little gain).

I'd like to eventually be able to add #20 at some point, but linting seems a long way off unless Twine 2 adds it for editing Story JavaScript.

If you want linting in your code, I'd recommend using something like TweeGo or my own Extwee and working on JavaScript outside of the browser or application. Linting could easily be part of the compiling process through ESLint or other tools.

from snowman.

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.