chore: update @electron/lint-roller to 3.1.1 (#47257)
* chore: update @electron/lint-roller to 3.1.1 Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * docs: fix broken link in breaking-changes.md Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * chore: fix for Node.js versions without require(esm) Co-authored-by: David Sanders <dsanders11@ucsbalum.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
parent
c0149676fb
commit
584fa31adc
4 changed files with 27 additions and 308 deletions
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
const { getCodeBlocks } = require('@electron/lint-roller/dist/lib/markdown');
|
||||
|
||||
const { GitProcess } = require('dugite');
|
||||
const { ESLint } = require('eslint');
|
||||
const minimist = require('minimist');
|
||||
|
@ -281,6 +279,7 @@ const LINTERS = [{
|
|||
ignoreRoots: ['.git', 'node_modules', 'spec/node_modules'],
|
||||
test: filename => filename.endsWith('.md'),
|
||||
run: async (opts, filenames) => {
|
||||
const { getCodeBlocks } = await import('@electron/lint-roller/dist/lib/markdown.js');
|
||||
let errors = false;
|
||||
|
||||
// Run markdownlint on all Markdown files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue