Skip to content

Commit

Permalink
fix: update rule schema
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 17, 2023
1 parent 010651d commit 037b30c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rules/no-restricted-exports.js
Expand Up @@ -27,9 +27,9 @@ module.exports = {
},

schema: [{
type: "object",
anyOf: [
{
type: "object",
properties: {
restrictedNamedExports: {
type: "array",
Expand All @@ -42,6 +42,7 @@ module.exports = {
additionalProperties: false
},
{
type: "object",
properties: {
restrictedNamedExports: {
type: "array",
Expand Down

0 comments on commit 037b30c

Please sign in to comment.