-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Few questions #3
Comments
Will ask more questions as I continue to tinker. |
Cool thanks for checking it out! I guess firstly I'l just say I didn't do a lot of thinking of any improvements and it's mostly just
Yeah the last time I tested it it seemed like none of the rules failed other than the ones related to quotes and other tests related to the cli. The only other failing tests were the function declaration one which I already fixed in jscs master ( |
I think we'll still need acorn and the esprima to acorn work for a parser that supports the new node types. In regards to the monkeypatch, I'd rather not hardcode the new visitor keys into jscs (we'd then have to maintain the list), but pull in babel-core and lodash.assign the keys into our tree iterator. Im also not sure (yet) whether we need the comment modifications provided here. |
Yeah I mentioned in the other issue jscs-dev/node-jscs#1446 that importing babel-core might make jscs bigger? If that's not the case or not a big deal that sounds good. I think we need the comments since |
For sure.
I personally don't care about the download size. Alternatively, can babel just move its types definition to another module like
You're right. We need it. Will close and ping when I get closer to making the jscs test suite stable with babel-jscs. |
require.resolve('jscs')
? There's room for trouble since jscs will depend on babel-jscs which depends on jscs. But from my local tests, I haven't seen an issue yet.The text was updated successfully, but these errors were encountered: