Skip to content

Commit

Permalink
fix workflow issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Jul 29, 2022
1 parent 94f8330 commit 3bd6c64
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"extends": [
"eslint:recommended",
"plugin:jsdoc/recommended",
"plugin:import/typescript",
"plugin:regexp/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
Expand All @@ -17,6 +16,7 @@
"rules": {
"prefer-const": "warn",
"no-empty-function": "warn",
"jsdoc/require-jsdoc": "off",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-member-accessibility": ["warn", { "accessibility": "explicit" }],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
declare -g $1="$2"
}
set_var VSIX_FILE $(eval echo keep-a-changelog-*.vsix)
set_var VERSION $(echo ${VSIX_FILE%.*} | cut -d- -f2)
set_var VERSION $(echo ${VSIX_FILE%.*} | cut -d- -f4)
- name: Install changelog parser
uses: taiki-e/install-action@parse-changelog
Expand All @@ -53,6 +53,6 @@ jobs:
files: ${{ env.VSIX_FILE }}

- name: Publish
run: yarn release
run: yarn publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
9 changes: 5 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 120,
"proseWrap": "preserve",
"quoteProps": "as-needed",
Expand All @@ -15,9 +12,13 @@
"tabWidth": 4,
"trailingComma": "none",
"useTabs": false,
"jsdocDescriptionWithDot": true,
"jsdocVerticalAlignment": true,
"jsdocPrintWidth": 80,
"plugins": ["./node_modules/prettier-plugin-packagejson", "./node_modules/prettier-plugin-jsdoc"],
"overrides": [
{
"files": "*.{json,yml,yaml,editorconfig,prettierrc,eslintrc}",
"files": "*.{json,yml,yaml,prettierrc,eslintrc}",
"options": {
"tabWidth": 2
}
Expand Down

0 comments on commit 3bd6c64

Please sign in to comment.