stash/pkg/image
SmallCoccinelle bc6d04dc2a
Remove new-from-rev from the linter (#1783)
* Fix all revive warnings in the code base

All of these are of the form

```
var Identifier Type = Expr
```

where the `Type` is known from the output of `Expr` and can be omitted
as a result.

* Handle unchecked errors

* Remove new-from-rev

Since the project passes all linter checks now, including older
revisions, we can remove new-from-rev. While here, reorder the linter
config file, and move the enabled linters up and settings down.

* Fix failing test cases

Studio & Performer export tests use local time rather than UTC. This
fixes the test cases so integration test
passes.
2021-09-28 09:29:45 +10:00
..
export.go Organised flag (#988) 2020-12-18 08:06:49 +11:00
export_test.go Remove new-from-rev from the linter (#1783) 2021-09-28 09:29:45 +10:00
image.go refactor: move from io/ioutil to io and os package (#1772) 2021-09-27 10:55:23 +10:00
image_test.go Detect cover images in subdirectories (#1144) 2021-03-04 10:52:45 +11:00
import.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
import_test.go Remove unused (#1709) 2021-09-09 14:10:08 +10:00
query.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
thumbnail.go Remove new-from-rev from the linter (#1783) 2021-09-28 09:29:45 +10:00
update.go Autotag support for images and galleries (#1345) 2021-05-03 13:09:46 +10:00