Skip to content

Commit

Permalink
Address new linting issues flagged by previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Nov 28, 2022
1 parent 3836486 commit f6a43cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions markdownlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

'use strict';

const fs = require('fs');
const path = require('path');
const Module = require('module');
const os = require('os');
const process = require('process');
const fs = require('node:fs');
const path = require('node:path');
const Module = require('node:module');
const os = require('node:os');
const process = require('node:process');
const program = require('commander');

const options = program.opts();
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"promise/prefer-await-to-then": 0,
"object-shorthand": 0,
"unicorn/prefer-module": 0,
"unicorn/prefer-ternary": 0
"unicorn/prefer-ternary": 0,
"unicorn/prefer-top-level-await": 0
}
},
"prettier": {
Expand Down
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';

const fs = require('fs');
const path = require('path');
const os = require('os');
const process = require('process');
const fs = require('node:fs');
const path = require('node:path');
const os = require('node:os');
const process = require('node:process');
const test = require('ava');

const execa = (...args) => import('execa').then(module => module.execa(...args));
Expand Down

0 comments on commit f6a43cd

Please sign in to comment.