Browse Source

update

main
wangshaoping 1 year ago
parent
commit
e63eb41bf9
  1. 14
      io.sc.engine.mv.frontend/.editorconfig
  2. 36
      io.sc.engine.mv.frontend/.eslintrc.cjs
  3. 31
      io.sc.engine.mv.frontend/.gitignore
  4. 0
      io.sc.engine.mv.frontend/.npmignore
  5. 11
      io.sc.engine.mv.frontend/.npmrc

14
io.sc.engine.mv.frontend/.editorconfig

@ -0,0 +1,14 @@
#################################################################
# 强制对使用该基本代码的所有人实施一致的编码样式
#################################################################
# 顶级配置(即不集成父配置)
root = true
# 针对所有文件
[*]
charset = utf-8 # 字符集: utf-8
indent_size = 2 # 缩进大小: 2
indent_style = space # 缩进风格: 空格
insert_final_newline = true # 是否在文件的最后插入一个空行
trim_trailing_whitespace = true # 是否删除行尾的空格

36
io.sc.engine.mv.frontend/.eslintrc.cjs

@ -0,0 +1,36 @@
module.exports = {
root: true,
env: {
browser: true,
es2022: true,
"vue/setup-compiler-macros": true,
},
parserOptions:{
ecmaVersion: 2022,
sourceType:"module",
},
extends:[
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
parser: "vue-eslint-parser",
parserOptions: {
ecmaVersion: 2022,
parser: "@typescript-eslint/parser",
sourceType: "module",
},
rules:{
'semi':[1],
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
"@typescript-eslint/no-unused-vars": 'off',
'vue/multi-word-component-names': 'off', /* 禁用 vue 组件名称检查规则 */
},
};

31
io.sc.engine.mv.frontend/.gitignore

@ -0,0 +1,31 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
/cypress/videos/
/cypress/screenshots/
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
test-results/
playwright-report/

0
io.sc.engine.mv.frontend/.npmignore

11
io.sc.engine.mv.frontend/.npmrc

@ -0,0 +1,11 @@
# npm 仓库地址, 在 npm install 时使用
registry=http://nexus.sc.io:8000/repository/npm-public/
# 用户邮箱
email=
# 注意: 以下 // 不是注释,不能去掉哦
# 登录 npm 仓库的用户认证信息, 在 npm publish 时使用, publish 的 npm registry 在 package.json 文件中 publishConfig 部分配置
# _authToken 可通过以下命令获取
# curl -X PUT -H "Content-Type:application/json" -d '{"_id":"org.couchdb.user:admin","name":"admin","password":"admin"}' http://nexus.sc.io:8000/repository/npm-releases/-/user/org.couchdb.user:admin
//nexus.sc.io:8000/repository/npm-releases/:_authToken=NpmToken.193db44c-7ca5-3cb6-a990-d24b93fb0d10
Loading…
Cancel
Save