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 1b85ae9 commit 7054421Copy full SHA for 7054421
test/plugin.js
@@ -45,9 +45,9 @@ describe('Plugin', function () {
45
});
46
47
it('recommended rules count equals the number of existing rules', function () {
48
- assert.equal(plugin.configs.recommended.rules.length, plugin.rules.length);
+ assert.equal(plugin.configs.recommended.overrides[0].rules.length, plugin.rules.length);
49
50
- let recommendedRules = Object.keys(plugin.configs.recommended.rules);
+ let recommendedRules = Object.keys(plugin.configs.recommended.overrides[0].rules);
51
52
// Strip out scoped module path then sort the array.
53
recommendedRules = recommendedRules
0 commit comments