forked from openimsdk/openkf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add frontend specifications (openimsdk#18)
- Loading branch information
wangyu116
committed
Jun 27, 2023
1 parent
ea1c9f5
commit ca3c28d
Showing
12 changed files
with
2,550 additions
and
1,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:vue/vue3-essential', | ||
], | ||
overrides: [ | ||
{ | ||
env: { | ||
node: true, | ||
}, | ||
files: ['.eslintrc.{js,cjs}'], | ||
parserOptions: { | ||
sourceType: 'script', | ||
}, | ||
}, | ||
], | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
parser: '@typescript-eslint/parser', | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint', 'vue'], | ||
rules: {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/dist/* | ||
.local | ||
.output.js | ||
/node_modules/** | ||
|
||
**/*.svg | ||
**/*.sh | ||
**/*.md | ||
**/*.yml | ||
*.html | ||
|
||
/public/* | ||
/build | ||
/coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
printWidth: 80, // 每行代码长度(默认80) | ||
tabWidth: 4, // 每个tab相当于多少个空格(默认2) | ||
useTabs: false, // 是否使用tab进行缩进(默认false) | ||
singleQuote: true, // 使用单引号(默认false) | ||
semi: true, // 声明结尾使用分号(默认true) | ||
trailingComma: 'all', // 多行使用拖尾逗号(默认none) | ||
bracketSpacing: true, // 对象字面量的大括号间使用空格(默认true) | ||
arrowParens: 'avoid', // 只有一个参数的箭头函数的参数是否带圆括号(默认avoid) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.