File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
cd " $( dirname " $0 " ) " || exit
11
11
rm -rf node_modules/eslint
12
- {
12
+ (
13
13
mkdir eslint-tmp
14
14
cd eslint-tmp || exit
15
15
npm init --yes
16
16
17
17
npm install --global-style --no-bin-links --production --no-package-lock eslint@latest
18
18
19
- {
19
+ (
20
20
cd node_modules/eslint || exit
21
21
22
22
npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown@latest
23
- }
23
+ )
24
24
25
25
26
26
# Use dmn to remove some unneeded files.
27
27
npx dmn@2.2.2 -f clean
28
28
# Use removeNPMAbsolutePaths to remove unused data in package.json.
29
29
# This avoids churn as absolute paths can change from one dev to another.
30
30
npx removeNPMAbsolutePaths@1.0.4 .
31
- }
31
+ )
32
32
33
33
mv eslint-tmp/node_modules/eslint node_modules/eslint
34
34
rm -rf eslint-tmp/
You can’t perform that action at this time.
0 commit comments