Comments (5)
- Please make sure you have installed
@commitlint/config-conventional
. - Please make sure your commitlint config is valid. See Commitlint Website.
from vscode-conventional-commits.
I don't understand. Where do I have to install @commitlint/config-conventional
?
I'm using Visual Studio Code with your vscode-conventional-commits
extension, but I want to change the type-enum.
I don't have a Node project.
So where or how do I have to install @commitlint/config-conventional
?
You write in your README: "Respect commitlint configs." So you don't read the commitlint.config.js
?
from vscode-conventional-commits.
You have to install @commitlint/config-conventional
in your project or in global.
And your commitlint.config.js
is not valid. Please correct it according to Commitlint docs.
By design, vscode-conventional-commits
extension does not install commitlint configs. Because there are lots of configs and lots of versions. If you'd like to use commitlint, please at least follow the commitlint config specification.
Here's some details about logic. The @commitlint/config-conventional
preset represents some commitlint rules. The vscode-conventional-commits
extension reads the config file, and finds out the preset rule name as @commitlint/config-conventional
. But the extension does not know what exact the rules are, until it finds out the detailed @commitlint/config-conventional
config files. You can install @commitlint/config-conventional
in your project, which is recommended. Or you can copy the @commitlint/config-conventional
rules to your commitlint.config.js
.
Thank you for your question, looking forward to your response.
from vscode-conventional-commits.
Ok, thanks for you explanation.
I installed @commitlint/config-conventiona
and fixed my commitlint.config.js
and and it works.
Unfortunately after every "type" you put a colon ":", which is against the commit rules for TYPO3 projects. Is it possible to get rid of the colon?
from vscode-conventional-commits.
vscode-conventional-commits
follows Conventional Commits which is not compatible with Commit Message rules for TYPO3 CMS. Maybe you can try to find or build another extension. 😃
from vscode-conventional-commits.
Related Issues (20)
- [FEAT] Auto add the branch name to commit message HOT 3
- [FEAT] Using with Husky HOT 3
- [FEAT] Allow line break in long description HOT 4
- [FEAT] option to add more than one change per commit HOT 1
- [BUG] Description writing restrictions HOT 2
- [FEAT] Trigger when typing in standard message input HOT 3
- [QUESTION] HOT 3
- [FEAT] Limit presented items
- [FEAT] Add customization options for title of commit
- [FEAT] Add version of project prompt
- [FEAT] Publish for Visual Studio Code for the Web HOT 1
- [QUESTION] Ability to define / limit commit types HOT 1
- [BUG] The COMMIT_EDITMSG tab auto-closes unpredictably?
- [BUG]: Cannot read properties of null (reading 'rootUri') HOT 3
- [BUG] Github, emoji not showing well HOT 1
- [BUG] The plugin stops working completely HOT 5
- [FEAT] Store scopes in user settings HOT 5
- [FEAT] Add support for generating commit messages via github copilot
- [FEAT] Add common messages to vscode's settings.json HOT 2
- [BUG] gitmoji ":technologist:" is not rendered using emoji.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-conventional-commits.