Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.

Commit 50f6457

Browse files
RyanTheAllmightyRyan Dowling
authored andcommitted
feat(commitlint-config-atlauncher): add in commitlint config
1 parent ce61e82 commit 50f6457

File tree

4 files changed

+75
-29
lines changed

4 files changed

+75
-29
lines changed

lerna.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@
33
"packages": [
44
"packages/atlauncher-scripts",
55
"packages/babel-preset-atlauncher",
6+
"packages/commitlint-config-atlauncher",
67
"packages/eslint-config-atlauncher",
78
"packages/eslint-plugin-atlauncher"
89
],
910
"commands": {
1011
"publish": {
11-
"ignore": [
12-
"*.md",
13-
".nvmrc",
14-
".eslintrc",
15-
".gitignore",
16-
".npmignore",
17-
"mocha.opts"
18-
]
12+
"ignore": ["*.md", ".nvmrc", ".eslintrc", ".gitignore", ".npmignore", "mocha.opts"]
1913
}
2014
},
2115
"version": "independent"

package-lock.json

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
rules: {
3+
'body-leading-blank': [1, 'always'],
4+
'footer-leading-blank': [1, 'always'],
5+
'header-max-length': [2, 'always', 72],
6+
'scope-case': [2, 'always', 'lower-case'],
7+
'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']],
8+
'subject-empty': [2, 'never'],
9+
'subject-full-stop': [2, 'never', '.'],
10+
'type-case': [2, 'always', 'lower-case'],
11+
'type-empty': [2, 'never'],
12+
'type-enum': [
13+
2,
14+
'always',
15+
[
16+
'build',
17+
'chore',
18+
'ci',
19+
'docs',
20+
'feat',
21+
'fix',
22+
'perf',
23+
'refactor',
24+
'revert',
25+
'style',
26+
'test',
27+
],
28+
],
29+
},
30+
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "@atlauncher/commitlint-config-atlauncher",
3+
"version": "0.0.0",
4+
"description": "commitlint rules for use by ATLauncher projects",
5+
"main": "index.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/ATLauncher/style-guide"
9+
},
10+
"keywords": ["commitlint", "commitlint-config", "config", "javascript", "styleguide"],
11+
"author": "Ryan Dowling (https://twitter.com/@RyanAllmighty1)",
12+
"license": "MIT",
13+
"bugs": {
14+
"url": "https://github.com/ATLauncher/style-guide/issues"
15+
},
16+
"homepage": "https://github.com/ATLauncher/style-guide",
17+
"engineStrict": true,
18+
"engines": {
19+
"node": ">= 8",
20+
"npm": ">=5"
21+
}
22+
}

0 commit comments

Comments
 (0)