Git Product home page Git Product logo

Comments (6)

ngetchell avatar ngetchell commented on August 14, 2024

Sorry that the lack of consistency is keeping you from contributing. My goal is to make the barrier to entry small so more of the GitLab API is covered by more people. I don't have the time to produce all of the code in the module so it requires help. More hands means more inconsistency.

In this case, I'd welcome help with setting a standard and using technology to guide contributors as long as they are guidelines. Tests and Linting via PSScriptAnalyzer are as far as I'd like the project to go when it comes to requirements before merging.

I look forward to viewing your PR!

from psgitlab.

robinmalik avatar robinmalik commented on August 14, 2024

Interesting view. It makes sense to keep the barrier for entry low; this is one of the great things about PowerShell.

Personally the imposition of strict rules off-putting and is likely to result in me not engaging, unless there is extremely clear documentation on how to automatically format code after writing in our own style.

from psgitlab.

jetersen avatar jetersen commented on August 14, 2024

@robinmalik the formatting is pretty clear in that VSCode will format as expected since it is setup inside the branch of #208 and CI will complain if you skipped on formatting.

If you're using a different editor, I suggest you configure it once and commit it to the repo.
If you're using PowerShell ISE your out of luck 😆

from psgitlab.

robinmalik avatar robinmalik commented on August 14, 2024

Ok, if it's automated via CI then that's great! (also: VSCode ftw).

from psgitlab.

jetersen avatar jetersen commented on August 14, 2024

I agree. Humans should not care about formatting unless it prevents the readability.
Which in this case it does.
I had a tough time contributing to project without the changes looking like major refactoring because the code format made it hard to read and the code that had changed looked like gratuitous changes.

from psgitlab.

ngetchell avatar ngetchell commented on August 14, 2024

Thanks for tackling it @Casz. I go back and forth on mandating readability but I feel like I chose incorrectly years ago and now have to pay the price.

from psgitlab.

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.