Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Feb 17, 2021
1 parent 4b1970d commit 5df3203
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/descriptionlessDisables.js
@@ -1,7 +1,7 @@
'use strict';

const validateDisableSettings = require('./validateDisableSettings');
const optionsMatches = require('./utils/optionsMatches');
const validateDisableSettings = require('./validateDisableSettings');

/** @typedef {import('postcss/lib/comment')} PostcssComment */
/** @typedef {import('stylelint').RangeType} RangeType */
Expand Down Expand Up @@ -39,6 +39,7 @@ module.exports = function (results) {
// don't want to report the copies that match except, so we record
// the comment as already reported.
if (!enabled && rule === 'all') alreadyReported.add(range.comment);

return;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/invalidScopeDisables.js
@@ -1,7 +1,7 @@
'use strict';

const validateDisableSettings = require('./validateDisableSettings');
const optionsMatches = require('./utils/optionsMatches');
const validateDisableSettings = require('./validateDisableSettings');

/** @typedef {import('stylelint').RangeType} RangeType */

Expand Down
4 changes: 2 additions & 2 deletions lib/needlessDisables.js
@@ -1,9 +1,9 @@
'use strict';

const _ = require('lodash');
const validateDisableSettings = require('./validateDisableSettings');
const putIfAbsent = require('./utils/putIfAbsent');
const optionsMatches = require('./utils/optionsMatches');
const putIfAbsent = require('./utils/putIfAbsent');
const validateDisableSettings = require('./validateDisableSettings');

/** @typedef {import('postcss/lib/comment')} PostcssComment */
/** @typedef {import('stylelint').DisabledRange} DisabledRange */
Expand Down

0 comments on commit 5df3203

Please sign in to comment.