Skip to content

Commit

Permalink
Fix a type error
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Feb 17, 2021
1 parent f30091f commit 4b1970d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/invalidScopeDisables.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (results) {

const [enabled, options, stylelintResult] = settings;

const configRules = stylelintResult.config.rules || {};
const configRules = (stylelintResult.config || {}).rules || {};

const usedRules = new Set(Object.keys(configRules));

Expand Down

0 comments on commit 4b1970d

Please sign in to comment.