Closed trydofor closed 1 month ago
## .vscode and editor
cat > .editorconfig << "EOF"
root = true
[*]
charset = utf-8-bom
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
EOF
mkdir .vscode
cat > .vscode/settings.json << EOF
{
"files.encoding": "utf8bom",
"files.autoGuessEncoding": true
}
EOF
mv packages/front-desktop/.vscode/extensions.json .vscode
rm -rf packages/front-desktop/.vscode
rm -rf packages/front-mobile/.vscode
cat > .gitignore << "EOF"
## temp
*~
*.sw[mnpcod]
.tmp
*.tmp
*.tmp.*
*.sublime-project
*.sublime-workspace
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
$RECYCLE.BIN/
## log
*.log
log.txt
npm-debug.log*
logs/
## project
.idea/
.ionic/
.sass-cache/
.sourcemaps/
.versions/
coverage/
node_modules/
dist/
platforms/
plugins/
EOF
rm -rf packages/front-desktop/.gitignore
rm -rf packages/front-mobile/.gitignore
find packages -name .gitignore
##> packages/front-mobile/ios/.gitignore
##> packages/front-mobile/android/app/.gitignore
##> packages/front-mobile/android/.gitignore
##> packages/front-desktop/electron/.gitignore
git add --all && git commit -am '3.1 .vscode, .gitignore #3'
nuxt eslint at top project
layer the flat eslint config to each multi-repo