From e2228964d48528b5fee2f1a96614057d79e2c92b Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Fri, 25 Aug 2017 18:54:37 -0500 Subject: [PATCH] Fix issue when CSSLint isn't loaded --- edit/lint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edit/lint.js b/edit/lint.js index 3061bc15..09e3df1a 100644 --- a/edit/lint.js +++ b/edit/lint.js @@ -203,8 +203,6 @@ function toggleLintReport() { } function showLintHelp() { - const CSSLintRules = CSSLint.getRules(); - const findCSSLintRule = id => CSSLintRules.find(rule => rule.id === id); const makeLink = (url, txt) => `${txt}`; const linter = prefs.get('editor.linter'); const url = linter === 'stylelint' @@ -216,6 +214,8 @@ function showLintHelp() { let list = '