Giter VIP home page Giter VIP logo

Comments (5)

leonardoanalista avatar leonardoanalista commented on June 3, 2024 1

It sounds good to me.
I was going to write a PR today to skip scope. Some places we just want to commit like “feat: this is my feature”. In those cases, scope is unimportant and better if the question is not even asked. Maybe this is a different case.

Btw I think we have an option to allow empty scope already. Let me have a look later. I’m in the phone now.

from cz-customizable.

leonardoanalista avatar leonardoanalista commented on June 3, 2024

I think scope can be empty, or even “custom” for you to type. Take a look at the code before you write a PR for this. Cheers Leo

from cz-customizable.

rylek90 avatar rylek90 commented on June 3, 2024

@leonardoanalista thanks, I'll do a double-check. Guess this one can wait since at our side we do linting later 🤔

from cz-customizable.

leonardoanalista avatar leonardoanalista commented on June 3, 2024

we have this outcome when allowCustomScopes = true

image

It allows you to select, manually type of have it empty.

Currently, if you don't have scope array in your config, it will allow you to type the scope. I think this is useful to most users - question is always asked as per today.

We can create a new option skipScope to not ask the scope question at all. This would take precedence over scope array in config file and allowCustomScopes. This is actually my case where I work. We never use scope but always have a commit type e.g. [minor] this is a new feature.

I can implement this soon as you have a way around this issue for now.

from cz-customizable.

leonardoanalista avatar leonardoanalista commented on June 3, 2024

Actually we have already the option skipQuestions, type array of string for this purpose. So
skipQuestions: ['scope'] would not ask scope question at all.

from cz-customizable.

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.