This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Rebuild project to support more QML language features.
- Loading branch information
1 parent
f670130
commit 4c77f9b
Showing
101 changed files
with
2,102 additions
and
10,748 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 |
---|---|---|
@@ -1,88 +1,24 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"project": ["tsconfig.json"] | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:rxjs/recommended" | ||
], | ||
"rules": { | ||
"no-console": "error", | ||
"prefer-const": "error", | ||
"no-param-reassign": "error", | ||
"no-else-return": "error", | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 100, | ||
"ignoreStrings": true, | ||
"ignoreUrls": true, | ||
"ignoreTemplateLiterals": true, | ||
"ignoreRegExpLiterals": true | ||
} | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"class-methods-use-this": "error", | ||
"no-magic-numbers": "off", | ||
"@typescript-eslint/no-magic-numbers": [ | ||
"error", | ||
{ "ignore": [0, 1], "ignoreDefaultValues": true } | ||
], | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ "argsIgnorePattern": "^_" } | ||
], | ||
"@typescript-eslint/array-type": "error", | ||
"@typescript-eslint/no-unnecessary-condition": "error", | ||
"@typescript-eslint/no-unnecessary-qualifier": "error", | ||
"@typescript-eslint/no-unnecessary-type-arguments": "error", | ||
"@typescript-eslint/prefer-for-of": "error", | ||
"@typescript-eslint/prefer-function-type": "error", | ||
"@typescript-eslint/prefer-includes": "error", | ||
"@typescript-eslint/prefer-nullish-coalescing": "error", | ||
"@typescript-eslint/prefer-optional-chain": "error", | ||
"@typescript-eslint/prefer-readonly": "error", | ||
"@typescript-eslint/prefer-as-const": "error", | ||
"@typescript-eslint/prefer-string-starts-ends-with": "error", | ||
"@typescript-eslint/prefer-ts-expect-error": "error", | ||
"@typescript-eslint/promise-function-async": [ | ||
"error", | ||
{ "checkArrowFunctions": false } | ||
], | ||
"@typescript-eslint/member-ordering": [ | ||
"error", | ||
{ | ||
"default": [ | ||
"static-field", | ||
"abstract-field", | ||
"instance-field", | ||
"decorated-field", | ||
"constructor", | ||
"static-method", | ||
"abstract-method", | ||
"instance-method", | ||
"decorated-method" | ||
] | ||
} | ||
], | ||
"rxjs/finnish": "error", | ||
"rxjs/no-ignored-notifier": "off" | ||
}, | ||
"ignorePatterns": ["**/*.d.ts"], | ||
"overrides": [ | ||
{ | ||
"files": ["**/test/**/*.ts"], | ||
"rules": { | ||
"@typescript-eslint/no-magic-numbers": "off", | ||
"no-console": ["error", { "allow": ["error"] }] | ||
} | ||
} | ||
] | ||
"rules": { | ||
"@typescript-eslint/naming-convention": "warn", | ||
"@typescript-eslint/semi": "warn", | ||
"curly": "warn", | ||
"eqeqeq": "warn", | ||
"no-throw-literal": "warn", | ||
"semi": "off" | ||
}, | ||
"ignorePatterns": [ | ||
"out", | ||
"dist", | ||
"**/*.d.ts" | ||
] | ||
} |
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,45 @@ | ||
name: pre-release | ||
on: | ||
push: | ||
branches: | ||
- next | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Release Please | ||
uses: google-github-actions/release-please-action@v3 | ||
id: release | ||
with: | ||
release-type: node | ||
default-branch: next | ||
|
||
- name: Install dependencies | ||
if: steps.release.outputs.release_created | ||
run: npm ci | ||
|
||
- name: Package VSIX | ||
if: steps.release.outputs.release_created | ||
run: npx vsce package --pre-release | ||
|
||
- name: Publish on Visual Studio Code Extension Marketplace | ||
if: steps.release.outputs.release_created | ||
run: npx vsce publish --pre-release | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
|
||
- name: Upload VSIX to release assets | ||
if: steps.release.outputs.release_created | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix |
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.