forked from Postcatlab/postcat
-
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: update extension UI * fix(components): [manage-access] a tag rename to span * feat: update e2e Co-authored-by: buqiyuan <1743369777@qq.com> Co-authored-by: 夜鹰 <17kungfuboy@gmail.com>
- Loading branch information
1 parent
ec354ae
commit a51feb0
Showing
1,106 changed files
with
190,481 additions
and
104,647 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,34 @@ | ||
_cli-tpl/ | ||
dist/ | ||
coverage/ | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
**/*.json | ||
# Dependency directories | ||
node_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
.cache/ | ||
|
||
# yarn v2 | ||
.yarn |
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,134 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true | ||
}, | ||
parserOptions: { ecmaVersion: 2021 }, | ||
overrides: [ | ||
{ | ||
files: ['*.ts'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
createDefaultProgram: true, | ||
tsconfigRootDir: __dirname, | ||
project: ['tsconfig.json'], | ||
createDefaultProgram: true | ||
}, | ||
plugins: ['@typescript-eslint', 'jsdoc', 'import', 'deprecation'], | ||
extends: [ | ||
'plugin:@angular-eslint/recommended', | ||
'plugin:@angular-eslint/template/process-inline-templates', | ||
'plugin:prettier/recommended' | ||
], | ||
rules: { | ||
'prettier/prettier': ['error'], | ||
'jsdoc/newline-after-description': 1, | ||
'@angular-eslint/component-class-suffix': [ | ||
'error', | ||
{ | ||
suffixes: ['Directive', 'Component', 'Base', 'Widget'] | ||
} | ||
], | ||
'@angular-eslint/directive-class-suffix': [ | ||
'error', | ||
{ | ||
suffixes: ['Directive', 'Component', 'Base', 'Widget'] | ||
} | ||
], | ||
'@angular-eslint/component-selector': [ | ||
'off', | ||
{ | ||
type: ['element', 'attribute'], | ||
prefix: ['app', 'test'], | ||
style: 'kebab-case' | ||
} | ||
], | ||
'@angular-eslint/directive-selector': [ | ||
'off', | ||
{ | ||
type: 'attribute', | ||
prefix: ['app'] | ||
} | ||
], | ||
'@angular-eslint/no-attribute-decorator': 'error', | ||
'@angular-eslint/no-conflicting-lifecycle': 'off', | ||
'@angular-eslint/no-forward-ref': 'off', | ||
'@angular-eslint/no-host-metadata-property': 'off', | ||
'@angular-eslint/no-lifecycle-call': 'off', | ||
'@angular-eslint/no-pipe-impure': 'error', | ||
'@angular-eslint/prefer-output-readonly': 'error', | ||
'@angular-eslint/use-component-selector': 'off', | ||
'@angular-eslint/use-component-view-encapsulation': 'off', | ||
'@angular-eslint/no-input-rename': 'off', | ||
'@angular-eslint/no-output-native': 'off', | ||
'@typescript-eslint/array-type': [ | ||
'error', | ||
{ | ||
default: 'array-simple' | ||
} | ||
], | ||
'@typescript-eslint/ban-types': [ | ||
'off', | ||
{ | ||
types: { | ||
String: { | ||
message: 'Use string instead.' | ||
}, | ||
Number: { | ||
message: 'Use number instead.' | ||
}, | ||
Boolean: { | ||
message: 'Use boolean instead.' | ||
}, | ||
Function: { | ||
message: 'Use specific callable interface instead.' | ||
} | ||
} | ||
} | ||
], | ||
'import/no-duplicates': 'error', | ||
'import/no-unused-modules': 'error', | ||
'import/no-unassigned-import': 'off', | ||
'import/order': [ | ||
'error', | ||
{ | ||
alphabetize: { order: 'asc', caseInsensitive: false }, | ||
'newlines-between': 'always', | ||
groups: ['external', 'internal', ['parent', 'sibling', 'index']], | ||
pathGroups: [], | ||
pathGroupsExcludedImportTypes: [] | ||
} | ||
], | ||
'@typescript-eslint/no-this-alias': 'error', | ||
'@typescript-eslint/member-ordering': 'off', | ||
'no-irregular-whitespace': 'error', | ||
'no-multiple-empty-lines': 'error', | ||
'no-sparse-arrays': 'error', | ||
'prefer-object-spread': 'error', | ||
'prefer-template': 'error', | ||
'prefer-const': 'off', | ||
'max-len': 'off', | ||
'deprecation/deprecation': 'warn' | ||
} | ||
}, | ||
{ | ||
files: ['*.html'], | ||
extends: ['plugin:@angular-eslint/template/recommended'], | ||
rules: {} | ||
}, | ||
{ | ||
files: ['*.html'], | ||
excludedFiles: ['*inline-template-*.component.html'], | ||
extends: ['plugin:prettier/recommended'], | ||
rules: { | ||
'prettier/prettier': ['error', { parser: 'angular' }], | ||
'@angular-eslint/template/eqeqeq': 'off' | ||
} | ||
} | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
* text=auto eol=lf | ||
*.ts linguist-detectable=false | ||
*.css linguist-detectable=false | ||
*.scss linguist-detectable=false | ||
*.js linguist-detectable=true |
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
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
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
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
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,6 @@ | ||
#!/bin/sh | ||
|
||
# shellcheck source=./_/husky.sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit "$1" |
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,9 @@ | ||
#!/bin/sh | ||
command_exists () { | ||
command -v "$1" >/dev/null 2>&1 | ||
} | ||
|
||
# Workaround for Windows 10, Git Bash and Yarn | ||
if command_exists winpty && test -t 1; then | ||
exec < /dev/tty | ||
fi |
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,8 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
. "$(dirname "$0")/common.sh" | ||
|
||
[ -n "$CI" ] && exit 0 | ||
|
||
# Format and submit code according to lintstagedrc.js configuration | ||
npm run lint:lint-staged |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
save=true | ||
save-exact=true | ||
electron_mirror=https://npmmirror.com/mirrors/electron/ | ||
registry=https://registry.npmmirror.com |
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,18 @@ | ||
# add files you wish to ignore here | ||
**/*.md | ||
**/*.svg | ||
**/test.ts | ||
|
||
.stylelintrc | ||
.prettierrc | ||
|
||
src/assets/* | ||
src/index.html | ||
node_modules/ | ||
.vscode/ | ||
coverage/ | ||
dist/ | ||
package.json | ||
tslint.json | ||
|
||
_cli-tpl/**/* |
Oops, something went wrong.