diff --git a/layers/package.json b/layers/package.json index 46d306e102..705eebac15 100644 --- a/layers/package.json +++ b/layers/package.json @@ -18,9 +18,7 @@ "test:e2e": "jest --group=e2e", "createLayerFolder": "cdk synth --context BuildFromLocal=true" }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, + "repository": { "type": "git", "url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git" diff --git a/package.json b/package.json index 891cd8449f..31e6041a88 100644 --- a/package.json +++ b/package.json @@ -75,9 +75,10 @@ "typescript": "^5.4.5" }, "lint-staged": { + "*.{js,ts}": "eslint --fix", "*.md": "markdownlint-cli2 --fix" }, "engines": { "node": ">=16" } -} \ No newline at end of file +} diff --git a/packages/batch/package.json b/packages/batch/package.json index d21f05d535..438d8a8b84 100644 --- a/packages/batch/package.json +++ b/packages/batch/package.json @@ -25,9 +25,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/batch#readme", "license": "MIT-0", "type": "module", diff --git a/packages/commons/package.json b/packages/commons/package.json index 04f7752b02..6ffce9ce2d 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -23,9 +23,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/commons#readme", "license": "MIT-0", "type": "module", diff --git a/packages/idempotency/package.json b/packages/idempotency/package.json index 95138b1bde..9b8db7d075 100644 --- a/packages/idempotency/package.json +++ b/packages/idempotency/package.json @@ -25,9 +25,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/idempotency#readme", "license": "MIT-0", "type": "module", diff --git a/packages/jmespath/package.json b/packages/jmespath/package.json index 683c17577b..616995a3f2 100644 --- a/packages/jmespath/package.json +++ b/packages/jmespath/package.json @@ -22,9 +22,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript", "license": "MIT-0", "type": "module", diff --git a/packages/logger/package.json b/packages/logger/package.json index 8bcd89ab00..6908cd1aa1 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -25,9 +25,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/logger#readme", "license": "MIT-0", "type": "module", diff --git a/packages/metrics/package.json b/packages/metrics/package.json index 64df02b435..9ad9c54d47 100644 --- a/packages/metrics/package.json +++ b/packages/metrics/package.json @@ -24,9 +24,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/metrics#readme", "license": "MIT-0", "type": "module", diff --git a/packages/parameters/package.json b/packages/parameters/package.json index 2cde347273..dd99aff7e2 100644 --- a/packages/parameters/package.json +++ b/packages/parameters/package.json @@ -25,9 +25,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/parameters#readme", "license": "MIT-0", "type": "module", diff --git a/packages/parser/package.json b/packages/parser/package.json index 814bdcd815..faea3e80bd 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -21,9 +21,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/parser#readme", "license": "MIT-0", "type": "module", diff --git a/packages/testing/package.json b/packages/testing/package.json index 3e54972069..74babe907e 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -20,9 +20,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "repository": { "type": "git", "url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git" diff --git a/packages/tracer/package.json b/packages/tracer/package.json index 47cc3f23e3..fe70667cf7 100644 --- a/packages/tracer/package.json +++ b/packages/tracer/package.json @@ -25,9 +25,6 @@ "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", "prepack": "node ../../.github/scripts/release_patch_package_json.js ." }, - "lint-staged": { - "*.{js,ts}": "npm run lint-fix" - }, "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/tracer#readme", "license": "MIT-0", "devDependencies": {