mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 00:08:06 +00:00
ccf332177a
* refactor out RepositoryError * switch auth service to CoreError * migrate email to schema::Result * migrate job to schema::Result * migrate license to schema::Result * migrate worker to schema::Result * migrate repository to schema::Result * migrate settings to schema::Result * refactor out SendEmailError * fix error converstion * simplify return value * fix * add lint rule use-schema-result * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
12 lines
227 B
YAML
12 lines
227 B
YAML
id: use-schema-result
|
|
message: Use schema::Result as API interface
|
|
severity: error
|
|
language: rust
|
|
files:
|
|
- ./ee/tabby-webserver/src/schema/**
|
|
rule:
|
|
pattern: anyhow
|
|
not:
|
|
inside:
|
|
kind: enum_variant
|
|
stopBy: end |