![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@guidecx/config-branchlint
Advanced tools
Branch linting script for use in GCX applications
GCX Branchlint Script
The index.js
file exports the branchlint node script. In another project, you can do the following to include these linting rules:
npm install --save-dependency @guidecx/config-branchlint
husky
and lint-staged
, install them. according to the lint-staged docs, the easiest way to do this is by running npx mrm lint-staged
.package.json
file, include the following to your husky commands:
"husky": {
"hooks": {
"pre-commit": "node ./node_modules/@guidecx/config-branchlint"
}
}
.husky/
folder that manages your scripts, add npm run branchlint
into the bash file for pre-commit
, and then create an npm script in your package.json
like:
"scripts": {
"branchlint": "node ./node_modules/@guidecx/config-branchlint"
}
git commit
will now enforce our branch linting rulesWhen using this package, all branch names must match the following pattern:
currentUser/type/chStory/simple-description
where 'type' is an enum [chore, feat, fix, revert], chStory is a positive integer that matches a clubhouse story number prefaced with ch
, and simple-description is a brief description of the changes made.
Based on the rules file, these are some of the patterns that are considered valid:
agarvin/feat/ch1823/add-unit-tests-to-view
iclaw/chore/ch891/disable-time-entry-page
jgomez/revert/ch2761/revert-disable-time-entry-page
FAQs
Branch linting script for use in GCX applications
The npm package @guidecx/config-branchlint receives a total of 4 weekly downloads. As such, @guidecx/config-branchlint popularity was classified as not popular.
We found that @guidecx/config-branchlint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.