Skip to content

Commit

Permalink
attempt run lint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Konrad Jamrozik committed Jul 15, 2024
1 parent 7943e33 commit 282db7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_reusable-eng-tools-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
working-directory: ./eng/tools/${{ inputs.package }}

- run: npm run lint
if: ${{ github.event.inputs.lint == 'true' }}
if: inputs.lint == true
shell: pwsh
working-directory: ./eng/tools/${{ inputs.package }}

- run: npm run prettier
if: ${{ github.event.inputs.prettier == 'true' }}
if: inputs.prettier == true
shell: pwsh
working-directory: ./eng/tools/${{ inputs.package }}

Expand Down
4 changes: 2 additions & 2 deletions eng/tools/specs-model/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": [
"../tsconfig.json",
// [strictest]
// [strictest], but see the comment inside the extended file.
"../tsconfig_strictest.json"
],
"compilerOptions": {
Expand All @@ -10,7 +10,7 @@
"lib": ["ES2022"],

// checkJS is set to true by [strictest] but we need to disable it to avoid this [build failure].
// We don't need it anyway, as all sources are in JS except the cmd entry-point.
// We don't need it anyway, as all sources are in .js except the 3-line cmd entry-point.
// https://www.typescriptlang.org/tsconfig/#checkJs
"checkJs": false
}
Expand Down

0 comments on commit 282db7b

Please sign in to comment.