Skip to content

Commit

Permalink
feat: add ignorePackages option
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Sep 19, 2023
1 parent 205ce5f commit c43ef5f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/rules/requireExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,17 @@ export default createRule<Options, MessageIds>({
messages: {
extensionMissing: 'Must include file extension',
},
schema: [],
schema: [
{
additionalProperties: false,
properties: {
ignorePackages: {
type: 'boolean',
},
},
type: 'object',
},
],
type: 'layout',
},
name: 'require-extension',
Expand Down

0 comments on commit c43ef5f

Please sign in to comment.