Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/oxlint/src-js/plugins/rule_meta.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { Options } from "./options.ts";

/**
* Rule metadata.
* `meta` property of `Rule`.
Expand Down Expand Up @@ -43,9 +45,8 @@ export interface RuleMeta {
* Default options for the rule.
* If present, any user-provided options in their config will be merged on top of them recursively.
*/
// TODO: Make this more precise.
// TODO: Use this to alter options passed to rules.
defaultOptions?: unknown[];
defaultOptions?: Options;
/**
* Indicates whether the rule has been deprecated, and info about the deprecation and possible replacements.
*/
Expand Down
Loading