search_query.linter
Query linter hook.
Functions
|
Lint a search file and return the messages. |
|
Lint a query string and return the messages. |
|
Entrypoint for the query linter hook |
- search_query.linter.lint_file(search_file: SearchFile) dict
Lint a search file and return the messages.
- search_query.linter.lint_query_string(search_string: str, *, platform: str, field_general: str = '') dict
Lint a query string and return the messages.
- search_query.linter.pre_commit_hook(file_path: str) int
Entrypoint for the query linter hook