Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👔 转运营接口到cdn,更改工具接口 #84

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

74 changes: 0 additions & 74 deletions .eslintrc.json5

This file was deleted.

94 changes: 91 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,93 @@
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,rust,rust-analyzer,node,vue
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,rust,rust-analyzer,node,vue
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,rust,rust-analyzer,node,vue,jetbrains+all
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,rust,rust-analyzer,node,vue,jetbrains+all

### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### JetBrains+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.

.idea/*

!.idea/codeStyles
!.idea/runConfigurations

### Node ###
# Logs
Expand Down Expand Up @@ -192,4 +280,4 @@ docs/_book
# TODO: where does this rule come from?
test/

# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,rust,rust-analyzer,node,vue
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,rust,rust-analyzer,node,vue,jetbrains+all
4 changes: 4 additions & 0 deletions .lintstagedrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
"*.{js,jsx,ts,tsx,cjs,mjs,vue}": ["npm run lint:js:fix"],
"*.{css,scss}": ["npm run lint:style:fix"],
};
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tabWidth": 2,
"useTabs": false,
"trailingComma": "all",
"singleQuote": false,
"semi": true
}
120 changes: 120 additions & 0 deletions .stylelintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
module.exports = {
extends: [
// "stylelint-config-standard",
// "stylelint-config-prettier",
// "stylelint-config-html/vue",
// "stylelint-config-recommended-vue/scss",
// 'stylelint-config-recommended-less',
"stylelint-config-recommended-scss",
"stylelint-config-prettier",
],
plugins: ["stylelint-order"],
overrides: [
{
files: ["**/*.vue"],
customSyntax: "postcss-html",
},
],
ignoreFiles: ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts", "**/*.json"],
rules: {
"selector-pseudo-element-no-unknown": [
//禁止使用未知的伪元素
true,
{
ignorePseudoElements: ["v-deep", ":deep"],
},
],
"no-descending-specificity": null,
"function-url-quotes": "always",
"color-hex-length": "short", //允许缩写颜色
"font-family-no-missing-generic-family-keyword": null, //允许在字体系列名称列表中缺少通用系列
"property-no-unknown": true,
"selector-class-pattern": null,
"keyframes-name-pattern": null,
"length-zero-no-unit": true, //0不需要单位
"selector-type-no-unknown": [true, { ignoreTypes: ["drawer", "setting"] }],
"selector-pseudo-class-no-unknown": [
true,
{ ignorePseudoClasses: ["global", "deep", "export"] },
],
"function-no-unknown": null,
"order/properties-order": [
"position",
"top",
"right",
"bottom",
"left",
"z-index",
"display",
"justify-content",
"align-items",
"float",
"clear",
"overflow",
"overflow-x",
"overflow-y",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"font-size",
"font-family",
"font-weight",
"border",
"border-style",
"border-width",
"border-color",
"border-top",
"border-top-style",
"border-top-width",
"border-top-color",
"border-right",
"border-right-style",
"border-right-width",
"border-right-color",
"border-bottom",
"border-bottom-style",
"border-bottom-width",
"border-bottom-color",
"border-left",
"border-left-style",
"border-left-width",
"border-left-color",
"border-radius",
"text-align",
"text-justify",
"text-indent",
"text-overflow",
"text-decoration",
"white-space",
"color",
"background",
"background-position",
"background-repeat",
"background-size",
"background-color",
"background-clip",
"opacity",
"filter",
"list-style",
"outline",
"visibility",
"box-shadow",
"text-shadow",
"resize",
"transition",
],
},
};
Loading