We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RuleMeta
defaultOptions
1 parent fa3b070 commit 86fa667Copy full SHA for 86fa667
apps/oxlint/src-js/plugins/rule_meta.ts
@@ -1,3 +1,5 @@
1
+import type { Options } from "./options.ts";
2
+
3
/**
4
* Rule metadata.
5
* `meta` property of `Rule`.
@@ -43,9 +45,8 @@ export interface RuleMeta {
43
45
* Default options for the rule.
44
46
* If present, any user-provided options in their config will be merged on top of them recursively.
47
*/
- // TODO: Make this more precise.
48
// TODO: Use this to alter options passed to rules.
- defaultOptions?: unknown[];
49
+ defaultOptions?: Options;
50
51
* Indicates whether the rule has been deprecated, and info about the deprecation and possible replacements.
52
0 commit comments