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.
1 parent 283dfc4 commit 491e4c4Copy full SHA for 491e4c4
src/rules/no-empty-definitions.js
@@ -88,9 +88,9 @@ export default {
88
},
89
90
create(context) {
91
- const allowDefinitions = new Set(context.options[0]?.allowDefinitions);
+ const allowDefinitions = new Set(context.options[0].allowDefinitions);
92
const allowFootnoteDefinitions = new Set(
93
- context.options[0]?.allowFootnoteDefinitions,
+ context.options[0].allowFootnoteDefinitions,
94
);
95
const [{ checkFootnoteDefinitions }] = context.options;
96
0 commit comments