mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 00:08:06 +00:00
4224ff30e4
* init * update env * update rules * cleanup dependency * cleanup * update * update
17 lines
342 B
YAML
17 lines
342 B
YAML
id: use-schema-result
|
|
message: Use schema::Result as API interface
|
|
severity: error
|
|
language: rust
|
|
files:
|
|
- ./ee/tabby-schema/src/**
|
|
ignores:
|
|
- ./ee/tabby-schema/src/lib.rs
|
|
- ./ee/tabby-schema/src/dao.rs
|
|
rule:
|
|
any:
|
|
- pattern: anyhow
|
|
not:
|
|
inside:
|
|
kind: enum_variant
|
|
stopBy: end
|
|
- pattern: FieldResult |