Skip to content

Commit 0bbf1bf

Browse files
committed
Fix lint
1 parent d8569e4 commit 0bbf1bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/UnexpectedMarkdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var maps = {};
66

77
// Make the md-to-mocha transpiler avaliable as a side effect of requiring unexpected-markdown
88
// so that mocha --compilers md:unexpected-markdown will work:
9-
// eslint-disable-next-line node/no-deprecated-api
9+
// eslint-disable-next-line n/no-deprecated-api
1010
require.extensions['.md'] = function (module, fileName) {
1111
var sourceMapWithCode = convertMarkdownToMocha(
1212
fs.readFileSync(fileName, 'utf-8'),

test/convertMarkdownToMocha.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function codeToString(obj) {
2222

2323
function createRequire(filepath) {
2424
const filename = path.join(filepath, 'noop.js');
25-
// eslint-disable-next-line node/no-deprecated-api
25+
// eslint-disable-next-line n/no-deprecated-api
2626
return (Module.createRequire || Module.createRequireFromPath)(filename);
2727
}
2828

0 commit comments

Comments
 (0)