We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f00fd commit f3828c9Copy full SHA for f3828c9
tools/update-eslint.sh
@@ -9,26 +9,26 @@
9
10
cd "$( dirname "$0" )" || exit
11
rm -rf node_modules/eslint
12
-{
+(
13
mkdir eslint-tmp
14
cd eslint-tmp || exit
15
npm init --yes
16
17
npm install --global-style --no-bin-links --production --no-package-lock eslint@latest
18
19
- {
+ (
20
cd node_modules/eslint || exit
21
22
npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown@latest
23
- }
+ )
24
25
26
# Use dmn to remove some unneeded files.
27
npx [email protected] -f clean
28
# Use removeNPMAbsolutePaths to remove unused data in package.json.
29
# This avoids churn as absolute paths can change from one dev to another.
30
npx [email protected] .
31
-}
+)
32
33
mv eslint-tmp/node_modules/eslint node_modules/eslint
34
rm -rf eslint-tmp/
0 commit comments