Skip to content

Commit a7e4e1a

Browse files
committed
ci: improve linting checks
1 parent 72cf1cd commit a7e4e1a

File tree

17 files changed

+19
-3
lines changed

17 files changed

+19
-3
lines changed

examples/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"test": "npm run test:unit",
1414
"lint": "biome lint .",
1515
"lint:fix": "biome check --write .",
16+
"lint:ci": "biome ci .",
1617
"test:unit": "export POWERTOOLS_DEV=true && vitest --run --silent",
1718
"test:e2e": "echo 'To be implemented ...'",
1819
"cdk": "cdk"

examples/snippets/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"test:e2e": "echo 'Not Applicable'",
1313
"build": "echo 'Not Applicable'",
1414
"lint": "biome lint .",
15-
"lint:fix": "biome check --write ."
15+
"lint:fix": "biome check --write .",
16+
"lint:ci": "biome ci ."
1617
},
1718
"license": "MIT-0",
1819
"repository": {

layers/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"package": "echo 'Not applicable'",
2121
"lint": "biome lint .",
2222
"lint:fix": "biome check --write .",
23+
"lint:ci": "biome ci .",
2324
"createLayerFolder": "cdk synth --context BuildFromLocal=true"
2425
},
2526
"repository": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"vitest": "^3.0.9"
6666
},
6767
"lint-staged": {
68-
"*.{js,ts}": "biome check --write",
68+
"*.{js,ts,json}": "biome check --write --no-errors-on-unmatched",
6969
"*.md": "markdownlint-cli2 --fix"
7070
},
7171
"engines": {

packages/batch/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"build": "npm run build:esm & npm run build:cjs",
2323
"lint": "biome lint .",
2424
"lint:fix": "biome check --write .",
25+
"lint:ci": "biome ci .",
2526
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
2627
},
2728
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/batch#readme",
@@ -89,4 +90,4 @@
8990
"@aws-lambda-powertools/testing-utils": "file:../testing",
9091
"zod": "^4.1.11"
9192
}
92-
}
93+
}

packages/commons/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"build": "npm run build:esm & npm run build:cjs",
2222
"lint": "biome lint .",
2323
"lint:fix": "biome check --write .",
24+
"lint:ci": "biome ci .",
2425
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
2526
},
2627
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/commons#readme",

packages/event-handler/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"build": "npm run build:esm & npm run build:cjs",
2323
"lint": "biome lint .",
2424
"lint:fix": "biome check --write .",
25+
"lint:ci": "biome ci .",
2526
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
2627
},
2728
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript#readme",

packages/idempotency/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"build": "npm run build:esm & npm run build:cjs",
2424
"lint": "biome lint .",
2525
"lint:fix": "biome check --write .",
26+
"lint:ci": "biome ci .",
2627
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
2728
},
2829
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/idempotency#readme",

packages/jmespath/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"build": "npm run build:esm & npm run build:cjs",
2121
"lint": "biome lint .",
2222
"lint:fix": "biome check --write .",
23+
"lint:ci": "biome ci .",
2324
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
2425
},
2526
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript",

packages/kafka/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"build": "npm run build:esm & npm run build:cjs",
2323
"lint": "biome lint .",
2424
"lint:fix": "biome check --write .",
25+
"lint:ci": "biome ci .",
2526
"prepack": "node ../../.github/scripts/release_patch_package_json.js .",
2627
"proto:gen": "npx pbjs -t static-module -w es6 -o $(pwd)/tests/protos/product.es6.generated.js $(pwd)/tests/protos/product.proto && npx pbts -o $(pwd)/tests/protos/product.es6.generated.d.ts $(pwd)/tests/protos/product.es6.generated.js && npx pbjs -t static-module -w commonjs -o $(pwd)/tests/protos/product.cjs.generated.js $(pwd)/tests/protos/product.proto && npx pbts -o $(pwd)/tests/protos/product.cjs.generated.d.ts $(pwd)/tests/protos/product.cjs.generated.js"
2728
},

0 commit comments

Comments
 (0)