@archpublicwebsite/eslint-config 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tools/setup/vscode.mjs +19 -0
package/package.json
CHANGED
package/tools/setup/vscode.mjs
CHANGED
|
@@ -38,6 +38,25 @@ const VSCODE_ESLINT_SETTINGS = {
|
|
|
38
38
|
'[jsonc]': {
|
|
39
39
|
'editor.defaultFormatter': 'dbaeumer.vscode-eslint',
|
|
40
40
|
},
|
|
41
|
+
|
|
42
|
+
// Git commit message validation (50/72 formatting)
|
|
43
|
+
'git.inputValidation': true,
|
|
44
|
+
'git.inputValidationSubjectLength': 50,
|
|
45
|
+
'git.inputValidationLength': 72,
|
|
46
|
+
|
|
47
|
+
// Editor rules for git commit editor
|
|
48
|
+
'[git-commit]': {
|
|
49
|
+
'editor.rulers': [50, 72],
|
|
50
|
+
'editor.wordWrap': 'wordWrapColumn',
|
|
51
|
+
'editor.wordWrapColumn': 72,
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
// Editor rules for SCM input box (VS Code 1.86+)
|
|
55
|
+
'[scminput]': {
|
|
56
|
+
'editor.rulers': [50, 72],
|
|
57
|
+
'editor.wordWrap': 'wordWrapColumn',
|
|
58
|
+
'editor.wordWrapColumn': 72,
|
|
59
|
+
},
|
|
41
60
|
}
|
|
42
61
|
|
|
43
62
|
/**
|