diff --git a/.eslintrc.json b/.eslintrc.json index 9ce8e5a3..80e2c496 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,15 +2,13 @@ "root": true, "extends": [ "eslint:recommended", - "google", "plugin:@typescript-eslint/strict", "plugin:@typescript-eslint/stylistic", // "plugin:@typescript-eslint/strict-type-checked", // "plugin:@typescript-eslint/stylistic-type-checked", "plugin:import/recommended", "plugin:import/typescript", - "plugin:wc/best-practice", - "plugin:lit/recommended" + "plugin:lit/all" ], "env": { "shared-node-browser": true, @@ -22,7 +20,7 @@ "ecmaVersion": 2021, "sourceType": "module" }, - "plugins": ["@typescript-eslint", "import", "wc"], + "plugins": ["@typescript-eslint", "import", "lit"], "settings": { "import/resolver": { "typescript": { @@ -31,9 +29,6 @@ "projectFolderIgnoreList": ["**/node_modules/**"] }, "node": true - }, - "wc": { - "elementBaseClasses": ["LitElement"] } }, "rules": { @@ -57,10 +52,7 @@ } ], "@typescript-eslint/prefer-string-starts-ends-with": "off", - "lit/attribute-value-entities": "off", "@typescript-eslint/no-dynamic-delete": "off", - "import/no-unresolved": "off", - "wc/guard-super-call": "off", "@typescript-eslint/no-non-null-assertion": "off", "no-throw-literal": "off", "require-jsdoc": "off", diff --git a/.gitattributes b/.gitattributes index 6ffa6257..bdb4e166 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,2 @@ -cloud/classic/lib/* filter=crypt diff=crypt merge=crypt -ssh-* filter=crypt diff=crypt merge=crypt **/secret/** filter=crypt diff=crypt merge=crypt *.env filter=crypt diff=crypt merge=crypt -*.http filter=crypt diff=crypt merge=crypt diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index 17e5b836..00000000 --- a/.gitconfig +++ /dev/null @@ -1,101 +0,0 @@ -[user] - # name = Ali Mihandoost - # email = ali.mihandoost@gmail.com - -[alias] - c = commit -m - ca = commit -am - cl = clone - cl1 = clone --depth=1 - pl = pull --prune --progress --autostash --rebase=true - plm = pull --prune --progress --autostash --rebase=false - p = push - pp = push --prune - pa = push --all - pt = push --tags - b = branch - ba = branch -avv - bd = push origin --delete - s = status -s - st = stash -u - sp = stash pop - m = merge - r = rebase - rc = rebase --continue - ra = rebase --abort - rs = rebase --skip - co = checkout - sw = switch - f = fetch - chp = cherry-pick - d = diff --color --color-words --abbrev - rn = !"git pl && git rebase origin/${1:-next} && git push -f #" - feat = !"git fetch && git switch -c feat/$1 origin/next && git push -u #" - sep = !"git fetch && git switch -c feat/$1 origin/v2 && shift && git cherry-pick $@ && git push -u && gh pr create --assignee @me --base v2 --fill --web #" - l = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- - # Show the diff between the latest commit and the current state - df = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat" - ru = rebase-update # depot_tools specific - t = tag -ln3 - - hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short - type = cat-file -t - dump = cat-file -p - -[help] - autocorrect = 1 - -[push] - default = current - -[pull] - rebase = false - -# so much color -[color] - ui = always - -[color "diff"] - meta = yellow bold - commit = green bold - frag = magenta bold - old = red bold - new = green bold - whitespace = red reverse - -[color "diff-highlight"] - oldNormal = red bold - oldHighlight = "red bold 52" - newNormal = "green bold" - newHighlight = "green bold 22" - -[color "branch"] - current = yellow reverse - local = yellow - remote = green - -[color "status"] - added = yellow - changed = green - untracked = cyan - -[http] - sslVerify = false - -# [credential] -# helper = manager - -[core] - autocrlf = input - -[init] - defaultBranch = main - -[commit] - gpgsign = true - -[filter "lfs"] - process = git-lfs filter-process - required = true - clean = git-lfs clean -- %f - smudge = git-lfs smudge -- %f diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.md b/.github/ISSUE_TEMPLATE/1-bug-report.md new file mode 100644 index 00000000..79d60038 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug-report.md @@ -0,0 +1,44 @@ +--- +name: 🐞 Bug report +about: File a bug/issue +title: '[BUG]