Skip to content

Commit

Permalink
feat: 🚀 add setting.json
Browse files Browse the repository at this point in the history
  • Loading branch information
limuen committed Jun 14, 2024
1 parent 17a75ea commit 5b1ac8e
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 26 deletions.
58 changes: 32 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
# Logs
logs
*.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# dependencies
# Dependencies
node_modules
dist
dist-ssr
*.local
.pnp
.pnp.js

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Testing
coverage

# Turbo
.turbo

# Vercel
.vercel

# turbo
.turbo
# Build Outputs
.next/
out/
build
dist


# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Misc
.DS_Store
*.pem
104 changes: 104 additions & 0 deletions .vscode/setting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit"
},
"stylelint.enable": true,
"stylelint.validate": ["css", "less", "postcss", "scss", "sass", "html"],
"files.eol": "\n",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"[css]": {
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit"
}
},
"[less]": {
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit"
}
},
"cSpell.words": [
"acroutes",
"adcode",
"ahooks",
"alicdn",
"AMAP",
"antd",
"anticon",
"apifox",
"Appstore",
"Biao",
"breakline",
"brotli",
"commitlint",
"contentleft",
"contentright",
"countup",
"curveness",
"doclock",
"echarts",
"esbuild",
"fangda",
"geeker",
"Gitee",
"hexs",
"hoverable",
"Iconfont",
"juejin",
"liquidfill",
"loglevel",
"metas",
"nprogress",
"openapi",
"persistor",
"Popconfirm",
"Prefixs",
"reduxjs",
"screenfull",
"Sider",
"sortablejs",
"sousuo",
"styl",
"stylelint",
"suoxiao",
"truetype",
"tuichu",
"xiala",
"xiaoxi",
"zhongyingwen",
"zhuti",
"zlevel"
],
"i18n-ally.localesPaths": ["src/languages"]
}

0 comments on commit 5b1ac8e

Please sign in to comment.