stash/pkg/sqlite
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
..
filter.go Remove new-from-rev from the linter (#1783) 2021-09-28 09:29:45 +10:00
filter_internal_test.go Always wrap filter conditions in parentheses (#1577) 2021-07-14 18:29:59 +10:00
gallery.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
gallery_test.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
image.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
image_test.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
movies.go Add movie count to performer and studio card (#1760) 2021-09-27 11:31:49 +10:00
movies_test.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
performer.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
performer_test.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
query.go Lint checks phase 2 (#1747) 2021-09-23 17:15:50 +10:00
repository.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
saved_filter.go Saved filters (#1474) 2021-06-16 14:53:32 +10:00
saved_filter_test.go Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
scene.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
scene_marker.go Fix scene marker sort by scene updated SQL error (#1777) 2021-09-27 12:26:38 +10:00
scene_marker_test.go Fix scene marker sort by scene updated SQL error (#1777) 2021-09-27 12:26:38 +10:00
scene_test.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
scraped_item.go Remove unused (#1709) 2021-09-09 14:10:08 +10:00
setup_test.go refactor: move from io/ioutil to io and os package (#1772) 2021-09-27 10:55:23 +10:00
sql.go Remove unused (#1709) 2021-09-09 14:10:08 +10:00
stash_id_test.go Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
studio.go Add AND, OR and NOT support to studio filter (#1726) 2021-09-16 12:09:23 +10:00
studio_test.go Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
tag.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
tag_test.go Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
transaction.go Saved filters (#1474) 2021-06-16 14:53:32 +10:00