File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99
1010cd " $( dirname " $0 " ) " || exit
1111rm -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 dmn@2.2.2 -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 removeNPMAbsolutePaths@1.0.4 .
31- }
31+ )
3232
3333mv eslint-tmp/node_modules/eslint node_modules/eslint
3434rm -rf eslint-tmp/
You can’t perform that action at this time.
0 commit comments