diff --git a/packages/@cdktf/cli-core/package.json b/packages/@cdktf/cli-core/package.json index f6adecfc67..d71c588334 100644 --- a/packages/@cdktf/cli-core/package.json +++ b/packages/@cdktf/cli-core/package.json @@ -6,8 +6,8 @@ "build": "tsc", "watch": "tsc -w", "watch-preserve-output": "tsc -w --preserveWatchOutput", - "lint": "eslint . --ext .ts,.tsx", - "lint:fix": "eslint . --ext .ts,.tsx --fix", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "pretest": "yarn build", "pretest:ci": "yarn build", "test": "yarn lint && jest", diff --git a/packages/@cdktf/commons/package.json b/packages/@cdktf/commons/package.json index 22f04be163..ac8f18c14f 100644 --- a/packages/@cdktf/commons/package.json +++ b/packages/@cdktf/commons/package.json @@ -9,8 +9,8 @@ "build": "tsc", "watch": "tsc -w", "watch-preserve-output": "tsc -w --preserveWatchOutput", - "lint": "eslint . --ext .ts,.tsx", - "lint:fix": "eslint . --ext .ts,.tsx --fix", + "lint": "eslint . ", + "lint:fix": "eslint . --fix", "pretest": "yarn build", "pretest:ci": "yarn build", "test": "yarn lint && jest", diff --git a/packages/@cdktf/provider-schema/package.json b/packages/@cdktf/provider-schema/package.json index 7f5ff63e41..f658e6e378 100644 --- a/packages/@cdktf/provider-schema/package.json +++ b/packages/@cdktf/provider-schema/package.json @@ -9,8 +9,8 @@ "build": "tsc", "watch": "tsc -w", "watch-preserve-output": "tsc -w --preserveWatchOutput", - "lint": "eslint . --ext .ts,.tsx", - "lint:fix": "eslint . --ext .ts,.tsx --fix", + "lint": "eslint . ", + "lint:fix": "eslint . --fix", "pretest": "yarn build", "pretest:ci": "yarn build", "test": "yarn lint && jest", diff --git a/packages/cdktf-cli/package.json b/packages/cdktf-cli/package.json index 368d17bbf8..82fb2967eb 100644 --- a/packages/cdktf-cli/package.json +++ b/packages/cdktf-cli/package.json @@ -12,8 +12,8 @@ "postbuild": "node build.js", "watch": "yarn compile-build-config && node build.js --watch", "watch-preserve-output": "yarn watch", - "lint": "eslint . --ext .ts,.tsx", - "lint:fix": "eslint . --ext .ts,.tsx --fix", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "pretest": "yarn build", "pretest:ci": "yarn build", "test": "yarn lint && jest", diff --git a/packages/cdktf/package.json b/packages/cdktf/package.json index c1a8d52ca7..24ce87bdf7 100644 --- a/packages/cdktf/package.json +++ b/packages/cdktf/package.json @@ -13,7 +13,7 @@ "package:dotnet": "jsii-pacmak --targets dotnet", "package:js": "jsii-pacmak --targets js", "package:go": "jsii-pacmak --targets go", - "lint": "eslint . --ext .ts", + "lint": "eslint .", "test": "jest --passWithNoTests && yarn lint", "test:ci": "jest --ci --passWithNoTests && yarn lint", "dist-clean": "rm -rf dist" @@ -94,7 +94,7 @@ ], "no-instanceof/no-instanceof": "error" }, - "files": ["**/*.ts", "**/*.tsx"], + "files": ["**/*.ts"], "ignorePatterns": [ "node_modules", "dist", diff --git a/tools/generate-function-bindings/package.json b/tools/generate-function-bindings/package.json index e20df9c577..908a04559e 100644 --- a/tools/generate-function-bindings/package.json +++ b/tools/generate-function-bindings/package.json @@ -7,8 +7,8 @@ "build": "tsc", "watch": "tsc -w", "watch-preserve-output": "tsc -w --preserveWatchOutput", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", + "lint": "eslint .", + "lint:fix": "eslint . --fix", "pretest": "yarn build", "pretest:ci": "yarn build", "test": "yarn lint && jest",