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

feat: upgrade to new version of yarn #72

Merged
merged 15 commits into from
Nov 14, 2023
Merged
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
46 changes: 32 additions & 14 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,68 @@
"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:import/typescript"
],
"env": {
"shared-node-browser": true,
"es2022": true
"es2023": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true,
"ecmaVersion": 2021,
"ecmaVersion": 2023,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "import", "wc"],
"plugins": ["@typescript-eslint", "import"],
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"ecmaVersion": 2023,
"project": ["**/tsconfig.json"],
"projectFolderIgnoreList": ["**/node_modules/**"]
},
"node": true
},
"wc": {
"elementBaseClasses": ["LitElement"]
}
},
"rules": {
"max-len": ["error", {"code": 300}],
"max-len": ["error", {"code": 120}],
"no-eval": ["error", {"allowIndirect": true}],
"no-floating-decimal": "error",
"space-infix-ops": "error",
"new-cap": ["error", {"capIsNewExceptionPattern": "Mixin$"}],
"brace-style": ["error", "stroustrup", {"allowSingleLine": true}],
"indent": "off",
"@typescript-eslint/indent": [
"error",
2,
{
"SwitchCase": 1,
"VariableDeclarator": 1,
"outerIIFEBody": 1,
"MemberExpression": 1,
"FunctionDeclaration": {"parameters": 1, "body": 1},
"FunctionExpression": {"parameters": 1, "body": 1},
"CallExpression": {"arguments": 1},
"ArrayExpression": 1,
"ObjectExpression": 1,
"ImportDeclaration": 1,
"flatTernaryExpressions": false,
"ignoreComments": false,
"ignoredNodes": [
"TemplateLiteral *",
"TSTypeParameterInstantiation",
"FunctionExpression > .params[decorators.length > 0]",
"FunctionExpression > .params > :matches(Decorator, :not(:first-child))",
"ClassBody.body > PropertyDefinition[decorators.length > 0] > .key"
]
}
],
"operator-linebreak": ["error", "after", {"overrides": {"?": "before", ":": "before"}}],
"import/order": [
"error",
Expand All @@ -57,10 +78,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",
Expand Down
3 changes: 0 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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
101 changes: 0 additions & 101 deletions .gitconfig

This file was deleted.

81 changes: 0 additions & 81 deletions .github/ISSUE_TEMPLATE/1-bug-report.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/2-feature-request.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

25 changes: 16 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

version: 2
updates:
-
package-ecosystem: github-actions
- package-ecosystem: github-actions
directory: /
open-pull-requests-limit: 20
reviewers:
Expand All @@ -17,10 +16,9 @@ updates:
groups:
github-actions:
patterns:
- "*"
- '*'

-
package-ecosystem: npm
- package-ecosystem: npm
directory: /
versioning-strategy: increase
open-pull-requests-limit: 20
Expand All @@ -35,11 +33,20 @@ updates:
- maintenance
groups:
production-dependencies:
dependency-type: "production"
dependency-type: 'production'
exclude-patterns:
- '@alwatr/*'
- 'fract'
development-dependencies:
dependency-type: "development"
dependency-type: 'development'
exclude-patterns:
- "*lint*"
- '*lint*'
- '@alwatr/*'
- 'fract'
lint-dependencies:
patterns:
- "*lint*"
- '*lint*'
alwatr-dependencies:
patterns:
- '@alwatr/*'
- 'fract'
9 changes: 8 additions & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
- name: 'bug-report'
color: ee0811
description: 'Inconsistencies or issues which will cause a problem for users or implementors.'
- name: 'feature-request'
color: 0e9a26
description: 'Request new features or options.'

- name: 'breaking-change'
color: ee0701
description: 'A change that changes the API or breaks backward compatibility for users.'
Expand All @@ -12,7 +19,7 @@
description: 'Enhancement of the code, not introducing new features.'
- name: 'refactor'
color: 1d76db
description: 'Updating the code with simpler, easier to understand or more efficient syntax or methods, but not introducing new features.'
description: 'Updating the code with simpler, easier to understand or more efficient syntax or methods.'
- name: 'performance'
color: 1d76db
description: 'Improving performance of the project, not introducing new features.'
Expand Down
Loading