Skip to content

Commit

Permalink
chore: Remove --ext argument from eslint as it's deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir committed Feb 13, 2025
1 parent abd9d9f commit d41e82e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/@cdktf/cli-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/@cdktf/commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/@cdktf/provider-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/cdktf-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/cdktf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -94,7 +94,7 @@
],
"no-instanceof/no-instanceof": "error"
},
"files": ["**/*.ts", "**/*.tsx"],
"files": ["**/*.ts"],
"ignorePatterns": [
"node_modules",
"dist",
Expand Down
4 changes: 2 additions & 2 deletions tools/generate-function-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d41e82e

Please sign in to comment.