Comments (2)
Dev behavior change. Use it and close the task.
from ladder99.
This my commitlint.config.json
in my other project. Again, we can discuss individual configs; nothing is built into stone.
commitlint.config.json
const {readdirSync} = require('fs')
module.exports = {
extends: ['@commitlint/config-conventional'],
formatter: '@commitlint/format',
// TODO: Change this URL to our Wiki page with the description of the commit message format.
helpUrl: 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint',
parserPreset: {
parserOpts: {
issuePrefixes: ['#']
}
},
rules: {
'body-case': [2, 'always', 'sentence-case'],
'body-empty': [0, 'never'],
'body-full-stop': [2, 'always', '.'],
'body-leading-blank': [2, 'always'],
'body-max-line-length': [0, 'never', 0],
'footer-empty': [0, 'never'],
'footer-leading-blank': [2, 'always'],
'footer-max-line-length': [0, 'never', 0],
'header-full-stop': [2, 'never', '.'],
'header-max-length': [0, 'never', 0],
'scope-enum': async () => {
const apps = readdirSync('apps', {withFileTypes: true})
.filter(dirent => dirent.isDirectory())
.map(dirent => dirent.name)
const libs = readdirSync('libs', {withFileTypes: true})
.filter(dirent => dirent.isDirectory())
.map(dirent => dirent.name)
let allowedScopes = [];
[...apps, ...libs].forEach(a => {
const modules = readdirSync(`${apps.indexOf(a) > -1 ? 'apps' : 'libs'}/${a}/src`, {withFileTypes: true})
.filter(dirent => dirent.isDirectory())
.map(dirent => dirent.name)
allowedScopes.push(a)
})
return [2, 'always', [...allowedScopes]]
},
'subject-case': [1, 'always', 'lower-case'],
'subject-empty': [2, 'never'],
'subject-full-stop': [2, 'never', '.'],
'type-case': [2, 'always', 'lower-case'],
'type-empty': [2, 'never'],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
]
}
}
from ladder99.
Related Issues (20)
- Handle offline mode better in `l99 start` command HOT 4
- Refactor initial walkthrough
- shell/dev files - implement, remove, or move all to wiki or docs HOT 1
- Allow absolute paths to setup folders HOT 3
- Eliminate requirement of `sudo` in `l99 disk` command
- Do full security audit HOT 3
- Test MQTT driver with Kepware IoT Gateway egress HOT 2
- Handle `SIGINT` and other signals to shutdown all running apps gracefully HOT 2
- Add more SQL examples how to query database HOT 2
- Create a custom driver in example setup and demonstrate it HOT 1
- Monitor disk space usage and prune dataitems when low HOT 4
- Make `l99` command installation optional HOT 1
- Create GraphQL egress endpoint HOT 1
- Add an API to manage configuration, machines and machine monitoring
- docs - bring design/*.md into main docs HOT 6
- Relay service should be an adapter.
- Allow fanuc-driver to start up with l99 stack.
- Add support for Mazak CNCs without MTConnect
- Re-design `ladder99` HOT 1
- cant able to build the Release Docker -- version 0.6.5 source code in visual studio code (.net framework runtime and SDK 7.0) tried with x86 and x64 but cant able to built. issue is there is 32 bit issue in the x64 and unexpected runtimeid in win10x86 with the x86 Any suggestions HOT 2
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 ladder99.