Skip to content

Commit a336d8b

Browse files
committed
fix(ci): resolve editorconfig-checker failures in docs and config
- Change 3-space list indents to 4-space in all docs/specs/live/*.md files to satisfy indent_size=2 (must be multiple of 2) - Change insert_final_newline from "ignore" to "false" for JSON files in .editorconfig (ignore is not a valid boolean value) https://claude.ai/code/session_01UNAUtVFRfFTyfXXLy7dJNz
1 parent 9466999 commit a336d8b

6 files changed

Lines changed: 54 additions & 54 deletions

File tree

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ trim_trailing_whitespace = true
1010
insert_final_newline = true
1111

1212
[*.json]
13-
insert_final_newline = ignore
13+
insert_final_newline = false
1414

1515
[Makefile]
1616
indent_style = tab

docs/specs/live/cli-non-interactive-mode.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ Command-line interface for scripting and non-TTY environments.
1111
### Functional Requirements
1212

1313
1. **TTY Detection**
14-
- Detect when stdin/stdout are not TTY
15-
- Automatically switch to non-interactive behavior
14+
- Detect when stdin/stdout are not TTY
15+
- Automatically switch to non-interactive behavior
1616

1717
2. **Usage Display (no arguments)**
18-
- Print usage information
19-
- List existing worktrees with paths
20-
- List branches without worktrees
18+
- Print usage information
19+
- List existing worktrees with paths
20+
- List branches without worktrees
2121

2222
3. **Branch Switch (`git-wt [branch]`)**
23-
- Create worktree if doesn't exist
24-
- Print worktree path to stdout (for `cd "$(git-wt branch)"`)
25-
- Silent operation (no interactive prompts)
23+
- Create worktree if doesn't exist
24+
- Print worktree path to stdout (for `cd "$(git-wt branch)"`)
25+
- Silent operation (no interactive prompts)
2626

2727
4. **Exec Flags**
28-
- `--exec` - Spawn shell in worktree (override default)
29-
- `--no-exec` - Print path only (default in CLI mode)
28+
- `--exec` - Spawn shell in worktree (override default)
29+
- `--no-exec` - Print path only (default in CLI mode)
3030

3131
5. **Error Handling**
32-
- Exit with non-zero status on errors
33-
- Print errors to stderr
32+
- Exit with non-zero status on errors
33+
- Print errors to stderr
3434

3535
### Non-Functional Requirements
3636

@@ -58,8 +58,8 @@ cd "$(git-wt feature-branch)"
5858

5959
### Usage Output
6060
```
61-
Usage: git-wt [branch] Switch to or create worktree
62-
git-wt d [branch] Delete worktree (requires --force)
61+
Usage: git-wt [branch] Switch to or create worktree
62+
git-wt d [branch] Delete worktree (requires --force)
6363
6464
Options:
6565
--exec Spawn shell in worktree (instead of printing path)

docs/specs/live/interactive-worktree-selector.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ The primary interactive TUI for selecting and managing git worktrees using fzf.
1111
### Functional Requirements
1212

1313
1. **Worktree Listing**
14-
- Display all existing worktrees with their branch names and paths
15-
- Show root checkout labeled as `[root]`
16-
- Show worktrees labeled as `[worktree]`
14+
- Display all existing worktrees with their branch names and paths
15+
- Show root checkout labeled as `[root]`
16+
- Show worktrees labeled as `[worktree]`
1717

1818
2. **Branch Listing**
19-
- Display local branches without worktrees
20-
- Display remote branches (with `origin/` prefix stripped in display)
19+
- Display local branches without worktrees
20+
- Display remote branches (with `origin/` prefix stripped in display)
2121

2222
3. **Selection Interface**
23-
- Use fzf for fuzzy-finding selection
24-
- Support keyboard navigation
25-
- Show preview panel with PR information (if gh CLI available)
23+
- Use fzf for fuzzy-finding selection
24+
- Support keyboard navigation
25+
- Show preview panel with PR information (if gh CLI available)
2626

2727
4. **Actions on Selection**
28-
- Switch to existing worktree
29-
- Create new worktree for branch without one
30-
- Create new branch and worktree
28+
- Switch to existing worktree
29+
- Create new worktree for branch without one
30+
- Create new branch and worktree
3131

3232
5. **Post-Selection Behavior**
33-
- Spawn new shell in selected worktree directory
34-
- Support `--no-exec` to print path instead
33+
- Spawn new shell in selected worktree directory
34+
- Support `--no-exec` to print path instead
3535

3636
### Non-Functional Requirements
3737

docs/specs/live/repo-switching.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ Switch between different git repositories when not already in a repo.
1111
### Functional Requirements
1212

1313
1. **Repo Discovery**
14-
- Scan configured directory for git repositories
15-
- Default scan directory: `~/src`
16-
- Configurable via `--scan-dir DIR`
14+
- Scan configured directory for git repositories
15+
- Default scan directory: `~/src`
16+
- Configurable via `--scan-dir DIR`
1717

1818
2. **Repo Selection**
19-
- Use fzf for fuzzy-finding repos
20-
- Display repo paths for selection
19+
- Use fzf for fuzzy-finding repos
20+
- Display repo paths for selection
2121

2222
3. **Post-Selection**
23-
- Continue to normal worktree selector for chosen repo
23+
- Continue to normal worktree selector for chosen repo
2424

2525
### Non-Functional Requirements
2626

docs/specs/live/upgrade-notifications.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ Background check for new releases with non-intrusive notification.
1111
### Functional Requirements
1212

1313
1. **Background Check**
14-
- Check GitHub releases API asynchronously
15-
- Do not block main script execution
16-
- Cache/throttle to avoid excessive API calls
14+
- Check GitHub releases API asynchronously
15+
- Do not block main script execution
16+
- Cache/throttle to avoid excessive API calls
1717

1818
2. **Version Comparison**
19-
- Compare current version against latest release
20-
- Only notify if newer version available
19+
- Compare current version against latest release
20+
- Only notify if newer version available
2121

2222
3. **Notification Display**
23-
- Show at script exit (after main operation completes)
24-
- Display current version and available version
25-
- Provide upgrade command
23+
- Show at script exit (after main operation completes)
24+
- Display current version and available version
25+
- Provide upgrade command
2626

2727
4. **Suppression**
28-
- Do NOT show in non-interactive mode
29-
- Only show when TTY available
28+
- Do NOT show in non-interactive mode
29+
- Only show when TTY available
3030

3131
### Non-Functional Requirements
3232

docs/specs/live/worktree-deletion.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ Delete git worktrees with appropriate safety confirmations.
1111
### Functional Requirements
1212

1313
1. **Delete Command**
14-
- `git-wt d [branch]` to delete worktree for specified branch
15-
- Cannot delete root checkout
14+
- `git-wt d [branch]` to delete worktree for specified branch
15+
- Cannot delete root checkout
1616

1717
2. **Interactive Mode**
18-
- Show confirmation prompt via gum
19-
- If uncommitted changes, show force confirmation
20-
- Use gum spinner during deletion
18+
- Show confirmation prompt via gum
19+
- If uncommitted changes, show force confirmation
20+
- Use gum spinner during deletion
2121

2222
3. **Non-Interactive Mode**
23-
- Require `--force` flag
24-
- Fail with helpful error if `--force` not provided
23+
- Require `--force` flag
24+
- Fail with helpful error if `--force` not provided
2525

2626
4. **Error Handling**
27-
- Error if branch has no worktree
28-
- Error if trying to delete root checkout
29-
- Handle uncommitted changes gracefully
27+
- Error if branch has no worktree
28+
- Error if trying to delete root checkout
29+
- Handle uncommitted changes gracefully
3030

3131
### Non-Functional Requirements
3232

0 commit comments

Comments
 (0)