Skip to content

Commit f0d365b

Browse files
committed
chore: update package helper
1 parent 5b8c56f commit f0d365b

3 files changed

Lines changed: 43 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"editor.formatOnSave": true,
1818
"editor.defaultFormatter": "Posit.air-vscode",
1919
// disable hover for R, to remove visual noise
20-
"editor.hover.enabled": false
20+
"editor.hover.enabled": "off"
2121
},
2222

2323
// ********** settings for C / C++ **********

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Rscript -e "devtools::check()"
4343
* Use these mlr3misc utilities when appropriate:
4444
`map()`, `map_chr()`, `invoke()`, `calculate_hash()`, `str_collapse()`, `%nin%`, `%??%`.
4545
* Before implementing something, read similar existing files first to match the established patterns.
46-
* Always use `#nolint next` to disable linters for the next line instead of `# nolint` on the same line.
46+
* Always use `# nolint next` to disable linters for the next line instead of `# nolint` on the same line.
4747

4848
## File structure and naming
4949

extra-rules/commit-messages.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Commit Messages
2+
3+
Follow the Conventional Commits specification.
4+
5+
## Format
6+
7+
```
8+
<type>(<optional scope>): <description>
9+
10+
[optional body]
11+
12+
[optional footer(s)]
13+
```
14+
15+
- The **description** must be a short summary immediately following the colon and space.
16+
- The optional **body** provides additional contextual information, separated from the description by a blank line.
17+
- The optional **footer** follows the git trailer format (e.g., `Fixes #123`), separated from the body by a blank line.
18+
19+
## Types
20+
21+
- **feat**: a new feature (correlates with MINOR in SemVer)
22+
- **fix**: a bug fix (correlates with PATCH in SemVer)
23+
- **docs**: changes to documentation only
24+
- **style**: formatting, whitespace, etc.; no code change
25+
- **refactor**: refactoring production code, e.g., renaming a variable
26+
- **test**: adding or refactoring tests; no production code change
27+
- **chore**: maintenance tasks; no production code change
28+
- **perf**: performance improvements
29+
- **ci**: changes to CI configuration
30+
- **build**: changes to the build system or dependencies
31+
32+
## Breaking Changes
33+
34+
Add a `BREAKING CHANGE:` footer: `BREAKING CHANGE: parameter 'x' has been removed`.
35+
36+
## Rules
37+
38+
- Use the imperative mood in the description ("add feature", not "added feature").
39+
- Do not capitalize the first word of the description.
40+
- Do not end the description with a period.
41+
- Keep the first line (type + scope + description) under 72 characters.

0 commit comments

Comments
 (0)