Skip to content

Commit ef47237

Browse files
committed
Ignore eslint errors
1 parent 93c5c8c commit ef47237

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/inline-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = (html, css, options) => {
7979
el = handleRule(rule, $);
8080

8181
editedElements.push(el);
82-
} catch (err) {
82+
} catch (err) { // eslint-disable-line
8383
// skip invalid selector
8484
return false;
8585
}

lib/pseudoCheck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const parser = require('slick').parse;
1010
function parse(text) {
1111
try {
1212
return parser(text)[0];
13-
} catch (e) {
13+
} catch (e) { // eslint-disable-line
1414
return [];
1515
}
1616
}

0 commit comments

Comments
 (0)