Skip to content
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

Coding standards #1089

Closed
joshbruce opened this issue Feb 27, 2018 · 5 comments
Closed

Coding standards #1089

joshbruce opened this issue Feb 27, 2018 · 5 comments

Comments

@joshbruce
Copy link
Member

joshbruce commented Feb 27, 2018

Marked version: n/a

Proposal type: project operations

What pain point are you perceiving?

More contributions and a lack of defined and documented coding standards.

See also #1082, #1081, #1083, and a few other conversation areas where we've expressed having this pain point.

What solution are you suggesting?

  1. We have lint checks now.
  2. We have Travis now.
  3. We have NPM scripts that fix lint issues for us.
  4. Update docs #1081 has an updated checklist for contributing and a list of our NPM scripts and what they do - not merged yet.

What else do we need or want to help contributors know what is expected in their code?

@intcreator
Copy link

As a new contributor, should I list a few things here that I don't immediately know?

One of the biggest things is whether or not contributors should use ES6/ES7 features (like arrow functions, object spread, filter, map, reduce, etc.).

I tried hacking the code to customize it a bit and I really have no idea what I'm doing despite having two years of experience working with JavaScript. Maybe if someone wrote a doc explaining the underlying mechanics of how the library works newcomers could read it and understand the vision better. This kind of architecture documentation (and indeed an architect who is in charge of the design) is vital to software projects.

@UziTech
Copy link
Member

UziTech commented Feb 28, 2018

No ES6+ until we figure out a transpile build step. We still support older browsers.

@joshbruce
Copy link
Member Author

That's a fair question...let's go over to #1096

@joshbruce
Copy link
Member Author

Oh! Since you mentioned architecture, check out #746. Get some idea of where we're planning on going. Fortunately, and unfortunately, we have a large user base; so, we're really trying to satisfy the rest of the zero-major promises, before doing anything drastic.

@UziTech
Copy link
Member

UziTech commented Aug 20, 2019

I think eslint covers this pretty well.

@UziTech UziTech closed this as completed Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants