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 `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
- Timezone consistency problem in Postgres ladder 99 functions or raw to public schema HOT 4
- /home/fiab/ladder99/shell/l99: line 56: /home/fiab/shell/commands/using: No such file or directory HOT 3
- With docker already installed, following the instructions to create new user, that user needs to be manually added to docker group HOT 3
- l99 shell script bad substitution HOT 3
- pgAdmin cannot connect to db HOT 5
- RTD do not seem to update from main branch. HOT 1
- How to use Meter?
- Absolute paths in the example agent.cfg don't match with internal paths for image mtconnect/agent:2.2.0.16 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.