Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 23, 2022
1 parent eb3f3d6 commit 4710c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.js
Expand Up @@ -31,7 +31,7 @@ describe('rule documentation files have the correct content', () => {
hasSuggestions: '💡 This rule provides editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).',
};

function getConfigsForRule(ruleName, checkForEnabled = true) {
function getConfigsForRule(ruleName, checkForEnabled) {
const configNames = [];
Object.keys(plugin.configs).forEach((configName) => {
const value = plugin.configs[configName].rules[`react/${ruleName}`];
Expand Down

0 comments on commit 4710c94

Please sign in to comment.