GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: update eslint-plugin-markdown configuration · hernanc/node@934d3f0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .eslintrc.js
  • Makefile
  • tools/node_modules/eslint
    • node_modules
      • eslint-plugin-markdown
        • README.md
        • index.js
        • lib
          • index.js
          • processor.js
        • package.json
      • object-assign
        • index.js
        • license
        • package.json
        • readme.md
      • string-width
        • index.js
        • package.json
    • package.json
  • vcbuild.bat
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
+10-6Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ module.exports = {
5353
overrides: [
5454
{
5555
files: [
56-
'doc/api/esm.md',
57-
'doc/api/fs.md',
58-
'doc/api/module.md',
59-
'doc/api/modules.md',
60-
'doc/api/packages.md',
61-
'doc/api/wasi.md',
56+
'doc/api/esm.md/*.js',
57+
'doc/api/fs.md/*.js',
58+
'doc/api/module.md/*.js',
59+
'doc/api/modules.md/*.js',
60+
'doc/api/packages.md/*.js',
61+
'doc/api/wasi.md/*.js',
6262
'test/es-module/test-esm-type-flag.js',
6363
'test/es-module/test-esm-type-flag-alias.js',
6464
'*.mjs',
@@ -68,6 +68,10 @@ module.exports = {
6868
},
6969
{
7070
files: ['**/*.md'],
71+
processor: 'markdown/markdown',
72+
},
73+
{
74+
files: ['**/*.md/*.js'],
7175
parserOptions: { ecmaFeatures: { impliedStrict: true } },
7276
rules: { strict: 'off' },
7377
},
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ lint-md: lint-js-doc | tools/.mdlintstamp
12091209
LINT_JS_TARGETS = .eslintrc.js benchmark doc lib test tools
12101210

12111211
run-lint-js = tools/node_modules/eslint/bin/eslint.js --cache \
1212-
--report-unused-disable-directives --ext=$(EXTENSIONS) $(LINT_JS_TARGETS)
1212+
--report-unused-disable-directives $(LINT_JS_TARGETS)
12131213
run-lint-js-fix = $(run-lint-js) --fix
12141214

12151215
.PHONY: lint-js-fix
@@ -1220,8 +1220,6 @@ lint-js-fix:
12201220
.PHONY: lint-js-doc
12211221
# Note that on the CI `lint-js-ci` is run instead.
12221222
# Lints the JavaScript code with eslint.
1223-
lint-js lint-js-fix: EXTENSIONS=.js,.mjs,.md
1224-
lint-js-doc: EXTENSIONS=.md
12251223
lint-js lint-js-doc:
12261224
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
12271225
echo "Skipping $@ (no crypto)"; \
@@ -1234,7 +1232,7 @@ jslint: lint-js
12341232
$(warning Please use lint-js instead of jslint)
12351233

12361234
run-lint-js-ci = tools/node_modules/eslint/bin/eslint.js \
1237-
--report-unused-disable-directives --ext=.js,.mjs,.md -f tap \
1235+
--report-unused-disable-directives -f tap \
12381236
-o test-eslint.tap $(LINT_JS_TARGETS)
12391237

12401238
.PHONY: lint-js-ci

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.