Skip to content

Commit da1f838

Browse files
chore: improve linting
1 parent 6391234 commit da1f838

File tree

6 files changed

+16
-2
lines changed

6 files changed

+16
-2
lines changed

.github/workflows/common-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ jobs:
2828
npm run typecheck
2929
- name: Lint
3030
run: |
31-
npm run lint
31+
npx eslint .
32+
- name: Prettier
33+
run: |
34+
npx prettier --check .
3235
3336
build:
3437
needs:

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
concurrency:
3131
group: publish
32+
cancel-in-progress: false
3233
steps:
3334
- uses: actions/checkout@v4
3435
- name: Use Node.js

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.lldebugger
2+
dist
3+
cdk.out
4+
.serverless
5+
.aws-sam
6+
src/extension/aws

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default [
1111
"**/dist/**",
1212
"**/cdk.out/**",
1313
"**/.lldebugger/**",
14+
"**/.serverless/**",
1415
"**/.aws-sam/**",
1516
"src/extension/aws/*.js",
1617
],

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"extends": "@tsconfig/node20/tsconfig.json",
33
"compilerOptions": {
4+
"allowJs": true,
5+
"checkJs": true,
46
"outDir": "./dist",
57
"rootDir": "./src"
68
},
7-
"include": ["src/**/*", "test/**/*", "*"],
9+
"include": ["src/**/*", "test/**/*", "*.*"],
810
"exclude": ["node_modules", "dist"]
911
}

0 commit comments

Comments
 (0)