File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : " 2"
22run :
33 build-tags :
4- - nosound
4+ - nosound
5+ timeout : 5m
6+
7+ linters :
8+ default : none
9+ enable :
10+ - errcheck
11+ - govet
12+ - ineffassign
13+ - staticcheck
14+ - unused
15+
16+ linters-settings :
17+ errcheck :
18+ check-type-assertions : true
19+ govet :
20+ enable :
21+ - fieldalignment
22+
23+ issues :
24+ max-issues-per-linter : 0
25+ max-same-issues : 0
26+ exclude-dirs :
27+ - vendor
28+ exclude-patterns :
29+ - " //nolint:"
Original file line number Diff line number Diff line change 1+ ## 1.5.2 (2025-09-07)
2+
3+ Bug fixes:
4+
5+ - Fix beep.Loop2 function call to handle two return values correctly
6+ - Improve golangci-lint configuration for better development workflow
7+ - Add comprehensive linter fixes: errcheck, staticcheck, and unused code warnings
8+ - Update development tooling documentation
9+
110## 1.5.1 (2025-09-07)
211
312Bug fixes:
Original file line number Diff line number Diff line change 88 <a href =" https://goreportcard.com/report/github.com/ronilaukkarinen/focus " ><img src =" https://goreportcard.com/badge/github.com/ronilaukkarinen/focus " alt =" GoReportCard " ></a >
99 <a href =" https://github.com/ronilaukkarinen/focus " ><img src =" https://img.shields.io/badge/go-1.24-blue.svg " alt =" Go version " ></a >
1010 <a href =" https://github.com/ronilaukkarinen/focus/blob/master/LICENCE " ><img src =" https://img.shields.io/github/license/ronilaukkarinen/focus.svg " alt =" LICENCE " ></a >
11- <a href =" https://github.com/ronilaukkarinen/focus/releases/ " ><img src =" https://img.shields.io/badge/version-1.5.1 -blue.svg " alt =" Latest release " ></a >
11+ <a href =" https://github.com/ronilaukkarinen/focus/releases/ " ><img src =" https://img.shields.io/badge/version-1.5.2 -blue.svg " alt =" Latest release " ></a >
1212</p >
1313
1414<h1 align =" center " >Focus on your task - with flow timer!</h1 >
@@ -472,6 +472,21 @@ focus delete --start '2023-02-21 21:21:00'
472472Bug reports and feature requests are much welcome! Please open an issue before
473473creating a pull request.
474474
475+ # # 🛠️ Development
476+
477+ This project includes comprehensive development tooling :
478+
479+ - **Linting**: Run `just lint` to check code quality with golangci-lint
480+ - **Testing**: Run `just test` for comprehensive test suite
481+ - **Pre-commit hooks**: Automatic linting and formatting on commit
482+ - **Build tools**: Run `just build` to compile binaries
483+
484+ The project uses :
485+ - [just](https://github.com/casey/just) for task running
486+ - [golangci-lint v2](https://golangci-lint.run/) for code quality
487+ - [pre-commit](https://pre-commit.com/) for git hooks
488+ - tools.mod for development dependency management
489+
475490# # ⚖ Licence
476491
477492Created by Ayooluwa Isaiah, and released under the terms of the
Original file line number Diff line number Diff line change 7575 SessionType string
7676)
7777
78- const Version = "v1.5.1 "
78+ const Version = "v1.5.2 "
7979
8080const (
8181 Work SessionType = "Work session"
Original file line number Diff line number Diff line change 11{
22 "name" : " @ronilaukkarinen/focus" ,
3- "version" : " 1.5.1 " ,
3+ "version" : " 1.5.2 " ,
44 "description" : " Focus is a flexible command-line productivity timer with flow mode for uninterrupted work sessions" ,
55 "main" : " " ,
66 "repository" : " https://github.com/ronilaukkarinen/focus" ,
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ func (t *Timer) setAmbientSound() error {
210210 return err
211211 }
212212
213- infiniteStream := beep .Loop2 (stream )
213+ infiniteStream , _ := beep .Loop2 (stream )
214214 t .SoundStream = infiniteStream
215215
216216 speaker .Play (t .SoundStream )
You can’t perform that action at this time.
0 commit comments