Skip to content

Commit

Permalink
rules/no-imports-down: add options schema
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed Sep 10, 2024
1 parent f52e1dd commit a2a6e2f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/rules/no-imports-down.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ const rule: Rule = {
ImportDeclaration: process,
};
},
meta: {
schema: [
{
additionalProperties: false,
properties: {
ignoreRegexes: {
items: { type: "string" },
type: "array",
},
},
type: "object",
},
],
},
};

export default rule;

0 comments on commit a2a6e2f

Please sign in to comment.