-
Notifications
You must be signed in to change notification settings - Fork 2
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
Setup loose linting #12
Comments
Since you mention "loose", what exactly should we put in there? Make our own spec? Decide for a modified one (such as JSSS)? What kind of rules do we want to see? Here are the important points I want to see:
|
The code is using __ proto __ atm. How could we rewrite this so it works cross-browser?
Ok. But can we agree that the transpiled code size should be a metric?
I tried this once but had much difficulty with it. So I decided to move the comments into the readme (since many people won't read the actual code). If you know how to use this I would love to learn. Because it could also help us to generate readable documentation. So yes, all for it! I basically agree with you on everything. 👍 EDIT: Oops the questions: |
See #16
Yes, definitely!
I once had problems, too, but it is supported by many tools and really simple once you grasp the basics. I can make a PR with trivial JSDoc comments. We do not need them for every little thing, but having them for the most-used functions would be nice :)
OK. I will write a separate file with a few rules, which conforms 90% to what you already have, but makes the code more readable imho. After that, we can think about gradual steps for changing the source linting :) |
Great plan! 👍 |
@minecrawler see #4 and #9
The text was updated successfully, but these errors were encountered: