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: fix update-eslint.sh · nodejs/node@b398e40

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • update-eslint.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/update-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-eslint.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99

1010
cd "$( dirname "$0" )" || exit
1111
rm -rf node_modules/eslint
12-
{
12+
(
1313
mkdir eslint-tmp
1414
cd eslint-tmp || exit
1515
npm init --yes
1616

1717
npm install --global-style --no-bin-links --production --no-package-lock eslint@latest
1818

19-
{
19+
(
2020
cd node_modules/eslint || exit
2121

2222
npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown@latest
23-
}
23+
)
2424

2525

2626
# Use dmn to remove some unneeded files.
2727
npx [email protected] -f clean
2828
# Use removeNPMAbsolutePaths to remove unused data in package.json.
2929
# This avoids churn as absolute paths can change from one dev to another.
3030
npx [email protected] .
31-
}
31+
)
3232

3333
mv eslint-tmp/node_modules/eslint node_modules/eslint
3434
rm -rf eslint-tmp/

0 commit comments

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