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: lint doc code examples in strict mode · nodejs/node@214c608

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .eslintrc.js
  • doc
    • .eslintrc.yaml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ module.exports = {
4040
],
4141
parserOptions: { sourceType: 'module' },
4242
},
43+
{
44+
files: ['**/*.md'],
45+
parserOptions: { ecmaFeatures: { impliedStrict: true } },
46+
rules: { strict: 'off' },
47+
},
4348
],
4449
rules: {
4550
// ESLint built-in rules
Collapse file

‎doc/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: doc/.eslintrc.yaml
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ rules:
55
no-restricted-properties: off
66
no-undef: off
77
no-unused-vars: off
8-
strict: off
98
symbol-description: off
109

1110
# add new ECMAScript features gradually

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.