Skip to content

Commit 8c7544e

Browse files
committed
🧱 build(settings): Added workspace configurations for recommended VSCode extensions
Added workspace configurations for recommended VSCode extensions: - Shellcheck - Commit Message Editor
1 parent 1a926e8 commit 8c7544e

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

.vscode/settings.json

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"shellcheck.enableQuickFix": true,
3+
"shellcheck.customArgs": [
4+
"-x",
5+
"--enable=add-default-case,require-variable-braces,deprecate-which"
6+
],
7+
8+
// Set the default view of the "Commit Message Editor" to "Form"
9+
"commit-message-editor.view.defaultView": "form",
10+
11+
// Customize default messages to add Emojis
12+
"commit-message-editor.tokens": [
13+
{
14+
"label": "Type",
15+
"name": "type",
16+
"type": "enum",
17+
"options": [
18+
{
19+
"label": "---",
20+
"value": ""
21+
},
22+
{
23+
"label": "🧱 build",
24+
"description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)"
25+
},
26+
{
27+
"label": "chore",
28+
"description": "Updating grunt tasks etc; no production code change"
29+
},
30+
{
31+
"label": "🔄 ci",
32+
"description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)"
33+
},
34+
{
35+
"label": "📄 docs",
36+
"description": "Documentation only changes"
37+
},
38+
{
39+
"label": "✨ feat",
40+
"description": "A new feature"
41+
},
42+
{
43+
"label": "🐞 fix",
44+
"description": "A bug fix"
45+
},
46+
{
47+
"label": "🚀 perf",
48+
"description": "A code change that improves performance"
49+
},
50+
{
51+
"label": "🩺 refactor",
52+
"description": "A code change that neither fixes a bug nor adds a feature"
53+
},
54+
{
55+
"label": "🔙 revert"
56+
},
57+
{
58+
"label": "🎨 style",
59+
"description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)"
60+
},
61+
{
62+
"label": "🧪 test",
63+
"description": "Adding missing tests or correcting existing tests"
64+
}
65+
],
66+
"description": "Type of changes"
67+
},
68+
{
69+
"label": "Scope",
70+
"name": "scope",
71+
"description": "A scope may be provided to a commit’s type, to provide additional contextual information and is contained within parenthesis, e.g., \"feat(parser): add ability to parse arrays\".",
72+
"type": "text",
73+
"multiline": false,
74+
"prefix": "(",
75+
"suffix": ")"
76+
},
77+
{
78+
"label": "Short description",
79+
"name": "description",
80+
"description": "Short description in the subject line.",
81+
"type": "text",
82+
"multiline": false
83+
},
84+
{
85+
"label": "Body",
86+
"name": "body",
87+
"description": "Optional body",
88+
"type": "text",
89+
"multiline": true,
90+
"lines": 5,
91+
"maxLines": 10
92+
},
93+
{
94+
"label": "Breaking change",
95+
"name": "breaking_change",
96+
"type": "boolean",
97+
"value": "BREAKING CHANGE: ",
98+
"default": false
99+
},
100+
{
101+
"label": "Footer",
102+
"name": "footer",
103+
"description": "Optional footer",
104+
"type": "text",
105+
"multiline": true
106+
}
107+
],
108+
}

0 commit comments

Comments
 (0)