Skip to content

Commit

Permalink
Remove references to unsupported ESLint rule node/no-unsupported-feat…
Browse files Browse the repository at this point in the history
…ures/es-syntax.
  • Loading branch information
DavidAnson committed Jun 26, 2022
1 parent f1cfd93 commit 18ad756
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion markdownlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ try {
if (files.length > 0 && !options.stdin) {
lintAndPrint(null, diff);
} else if (files.length === 0 && options.stdin && !options.fix) {
// eslint-disable-next-line node/no-unsupported-features/es-syntax
import('get-stdin')
.then(module => module.default())
.then(lintAndPrint);
Expand Down
1 change: 0 additions & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const os = require('os');
const process = require('process');
const test = require('ava');

// eslint-disable-next-line node/no-unsupported-features/es-syntax
const execa = (...args) => import('execa').then(module => module.execa(...args));

const errorPattern = /(\.md|\.markdown|\.mdf|stdin):\d+(:\d+)? MD\d{3}/gm;
Expand Down

0 comments on commit 18ad756

Please sign in to comment.