Rui Chen
6fd8130fe1
lint: gofmt -w -s . ( #2504 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-12 18:08:46 -07:00
Sarvar Muminov
90e92e3a13
chore: move CommandContext and CommandResult to models ( #193 ) ( #2093 )
...
* Moved CommandContext and CommandResult to models (#193 )
* Moved CommandContext and CommandResult to models
* move from models to command
rename CommandContext -> Context
rename CommandResult -> Result
* moved command related helpers into command package
* move ProjectCommandContext and ProjectResult to command/project package
* move project command context and project result
* revert unrelated code
* move tests
* fix left over
* fix linting
* fix tests
* remove unused import
* fix project context dependencies
* fix depenedecies
* fix typo
2022-03-21 10:36:13 -07:00
Sarvar Muminov
7a927c050b
Moving config files to core/config ( #2036 )
...
* Moving config files to core/config
* fix package names
* fix package dependencies
* linting fixes
* more linting fixes
* ran golangci-lint run --fix
2022-02-03 11:06:04 -08:00
Masayuki Morita
4b6c2f65da
build(lint): use revive instead of golint ( #1801 )
...
* Use revive instead of golint
The golint was officially deprecated.
https://github.com/golang/go/issues/38968
We have been using golint via golangci-lint and golangci-lint now
recommends using revive instead of golint.
https://golangci-lint.run/usage/linters/
> golint: The repository of the linter has been archived by the owner.
> Replaced by revive.
The revive is a drop-in replacement of golint. I think switching to
revive is a reasonable choice to check the same rules for free.
https://github.com/mgechev/revive
* Fix lint errors reported by revive
The revive is almost the same as golint, but there seems to be a bit
different results.
https://app.circleci.com/pipelines/github/runatlantis/atlantis/1519/workflows/75fd7da5-1532-4ed7-ac8a-4884902818a4/jobs/8314
https://github.com/runatlantis/atlantis/runs/3565887247?check_suite_focus=true
2021-09-10 09:14:56 -07:00
Nish Krishnan
d914eafd2a
Move core workflow packages under core. ( #1684 )
...
* Move core workflow packages under core.
* lint.
2021-07-01 12:54:44 -07:00