Code Monkey home page Code Monkey logo

Comments (14)

ForbesLindesay avatar ForbesLindesay commented on August 15, 2024

+1 We could create issues automatically using the github api.

from component.

buschtoens avatar buschtoens commented on August 15, 2024

+1 for that issue magic.

from component.

tj avatar tj commented on August 15, 2024

@ForbesLindesay yup :D that's the plan, should be pretty cool. We could possibly even detect if they're using say .classList directly and suggest that they use the "classes" component

from component.

ForbesLindesay avatar ForbesLindesay commented on August 15, 2024

True, that would be neat. It'd be great if we could automatically detect jshint options were present and then execute jshint on the library, but that may be overkill.

I'd really really really love a feature that detected when global variables were being leaked and created issues for that.

from component.

tj avatar tj commented on August 15, 2024

that would be cool too, component/lint could house all that stuff, whatever we want really I suppose haha

from component.

ForbesLindesay avatar ForbesLindesay commented on August 15, 2024

It should have some way to disable the linting though...otherwise it would be really annoying sometimes.

Also this encroaches on the territory of Travis... Perhaps we should just set repositories up by default to do these things when people enable travis CI on them?

from component.

ForbesLindesay avatar ForbesLindesay commented on August 15, 2024

I mean in component-create or component-init

from component.

adamsanderson avatar adamsanderson commented on August 15, 2024

@visionmedia and @ForbesLindesay: Is anyone working on this? If not I have a script that ,while not terribly pretty, is more or less working.

component-lint 
        lint : /Users/adam/Projects/trigger-event/component.json
          ok : name
          ok : repo
          ok : main
          ok : description
        warn : keywords – are suggested

If you're interested I can work through the remainder of the spec and we should have something reasonable.

from component.

tj avatar tj commented on August 15, 2024

@adamsanderson cool! a command would be great too, I was thinking more of a script that works off of http://component.io/components/all and opens issues on github fixing things etc haha, but yeah a command-line tool would be great

from component.

adamsanderson avatar adamsanderson commented on August 15, 2024

@visionmedia ok, I'll clean it up and load in the rest of the spec.

I figure some other script could drive the command-line tool if someone wanted a github nagging bot. Are the end points for http://component.io documented anywhere?

Bonus: while writing this, I realized I never added any keywords to my component.

from component.

tj avatar tj commented on August 15, 2024

haha nice, I use the words from the description as well so that's usually enough but keywords dont hurt.

right now there's only http://component.io/components/search/ui for search queries and http://component.io/components/all. I'll remove the /components/ prefix soon

from component.

adamsanderson avatar adamsanderson commented on August 15, 2024

@visionmedia for what it's worth I put together component-lint.
Eventually, I would like it to suggest fixes for easy things (missing name, description, license, etc.), and also do some checks against the files, like warning if people are using prefixed css.

I think component-bot could even use it to open issues ;)

from component.

tj avatar tj commented on August 15, 2024

sweet ill have a look soon

from component.

adamsanderson avatar adamsanderson commented on August 15, 2024

If you have any suggestions, let me know. I haven't done much with node outside of little personal projects.

from component.

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.