Comments (14)
+1 We could create issues automatically using the github api.
from component.
+1 for that issue magic.
from component.
@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.
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.
that would be cool too, component/lint could house all that stuff, whatever we want really I suppose haha
from component.
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.
I mean in component-create or component-init
from component.
@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.
@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.
@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.
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.
@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.
sweet ill have a look soon
from component.
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)
- Can I use non-component based libraries? HOT 4
- component {fork,unfork} <component> HOT 2
- ComponentJS vs JSPM + SystemJS HOT 1
- Can't use Component modules with a RequireJS environment HOT 12
- Private Repo doesn't seem to be working HOT 17
- Getting Uncaught Error: failed to require template HOT 11
- need auth for travis to avoid github rate limit and failed build status
- On chrome debug points off by two lines for --dev builds HOT 2
- Getting Failed to Require message HOT 3
- component.github.io shows no results HOT 1
- fatal : no remote found for dependency '....' HOT 20
- fatal : Error downloading "github//component/[email protected]". Got status code "404" HOT 5
- getting component module to be called with --harmony HOT 4
- fatal : no remote found for dependency... HOT 2
- Follow the chain of paths for remote dependencies HOT 4
- announce "this project is not maintained anymore" HOT 8
- How to install dependencies to a particular folder? HOT 2
- How can a project depend on a github repository that doesn't have a componser.json HOT 2
- Clean up the maintainers list? HOT 2
- Cant require node_modules when componentjs is installed? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from component.