Skip to content

Commit

Permalink
chore(pie-monorepo): DSW-1047 update eslint pkg and eslintignore (#673)
Browse files Browse the repository at this point in the history
* chore(pie-monorepo): DSW-1047 update eslint pkg and eslintignore

chore(eslint-config-pie): DSW-1047 updated typescript eslint package

* chore(eslint-config-pie): DSW-1047 added changesets file

* chore(eslint-config-pie): DSW-1047 updated eslintignore

---------

Co-authored-by: Joshua Ng <joshua.ng@just-eat.com>
  • Loading branch information
JoshuaNg2332 and Joshua Ng authored Aug 2, 2023
1 parent 0cd6596 commit 90258cf
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 54 deletions.
6 changes: 6 additions & 0 deletions .changeset/pretty-bags-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"pie-monorepo": minor
---

[Updated] - @typescript-eslint/parser package
[Added] - .eslintignorefile
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.turbo
node_modules
lit-browsers-report
lit-visual-report
test-results

generators
src/app/templates
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
packages/tools/git-hooks-scripts/check-branch-name.js $(git symbolic-ref --short HEAD)

# Checks the diff files for lint errors before allowing to push
yarn eslint $(git diff --name-only main HEAD | grep -E '\.(ts|tsx|js|jsx)$' | xargs) --max-warnings 0
yarn eslint $(git diff --name-only main HEAD | grep -E '\.(ts|tsx|js|jsx)$' | xargs)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@types/node": "20.4.5",
"@types/react": "18.0.33",
"@typescript-eslint/eslint-plugin": "5.60.1",
"@typescript-eslint/parser": "5.59.2",
"@typescript-eslint/parser": "6.2.1",
"allure-commandline": "2.21.0",
"autoprefixer": "10.4.14",
"babel-loader": "8.3.0",
Expand Down
114 changes: 62 additions & 52 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10026,20 +10026,21 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:5.59.2":
version: 5.59.2
resolution: "@typescript-eslint/parser@npm:5.59.2"
"@typescript-eslint/parser@npm:6.2.1":
version: 6.2.1
resolution: "@typescript-eslint/parser@npm:6.2.1"
dependencies:
"@typescript-eslint/scope-manager": 5.59.2
"@typescript-eslint/types": 5.59.2
"@typescript-eslint/typescript-estree": 5.59.2
"@typescript-eslint/scope-manager": 6.2.1
"@typescript-eslint/types": 6.2.1
"@typescript-eslint/typescript-estree": 6.2.1
"@typescript-eslint/visitor-keys": 6.2.1
debug: ^4.3.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 0d3f992c49e062ff509606fb72846abaa66602d93ca15bc6498c345c55effa28c8d523b829cd180d901eaf04bca3d93a165d56a387ce109333d60d67b09b5638
checksum: cf4768cbfc696ce1d4b15ae55b3d2b52761e91a4a80e738cf3a75c501c2257d735cd6e462567965069d0d693a8cf5463ab9e8b97c36c6ed1fccd3c1c09855bdb
languageName: node
linkType: hard

Expand All @@ -10060,16 +10061,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:5.59.2":
version: 5.59.2
resolution: "@typescript-eslint/scope-manager@npm:5.59.2"
dependencies:
"@typescript-eslint/types": 5.59.2
"@typescript-eslint/visitor-keys": 5.59.2
checksum: e7adce27890ebaadd0fb36a35639c9a97d2965973643aef4b4b0dcfabb03181c82235d7171e718b002dd398e52fefd67816eb34912ddbc2bb738b47755bd502a
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:5.60.1":
version: 5.60.1
resolution: "@typescript-eslint/scope-manager@npm:5.60.1"
Expand All @@ -10090,6 +10081,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:6.2.1":
version: 6.2.1
resolution: "@typescript-eslint/scope-manager@npm:6.2.1"
dependencies:
"@typescript-eslint/types": 6.2.1
"@typescript-eslint/visitor-keys": 6.2.1
checksum: 3bb461678c7e729895c5ac16781ec7d66efc6ffa944bb49693ce8e9560f9a6cac70929157c0fc0875b2829ae19a5cdabb97973ddcfb7e81c16e22cdd5d39e3fd
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:5.60.1":
version: 5.60.1
resolution: "@typescript-eslint/type-utils@npm:5.60.1"
Expand Down Expand Up @@ -10124,13 +10125,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/types@npm:5.59.2":
version: 5.59.2
resolution: "@typescript-eslint/types@npm:5.59.2"
checksum: 5a91cfbcaa8c7e92ad91f67abd0ce43ae562fdbdd8c32aa968731bf7c200d13a0415e87fc032bd48f7e5b7d3ed1447cb14449ef2592c269ca311974b15ce0af2
languageName: node
linkType: hard

"@typescript-eslint/types@npm:5.60.1":
version: 5.60.1
resolution: "@typescript-eslint/types@npm:5.60.1"
Expand All @@ -10145,21 +10139,10 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:5.59.2":
version: 5.59.2
resolution: "@typescript-eslint/typescript-estree@npm:5.59.2"
dependencies:
"@typescript-eslint/types": 5.59.2
"@typescript-eslint/visitor-keys": 5.59.2
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
semver: ^7.3.7
tsutils: ^3.21.0
peerDependenciesMeta:
typescript:
optional: true
checksum: e8bb8817fe53f826f54e4ca584e48a6700dae25e0cc20ab7db38e7e5308987c5759408b39a4e494d4d6dcd7b4bca9f9c507fae987213380dc1c98607cb0a60b1
"@typescript-eslint/types@npm:6.2.1":
version: 6.2.1
resolution: "@typescript-eslint/types@npm:6.2.1"
checksum: 388d32f15a9db8ad5d80794caf9ab280d6e5a428efdf4f6a6dfc4069afe4d19da32d628acf638e4c5b92ee77a9a18eecf728a778a3b91cc8a24484af579fc9cf
languageName: node
linkType: hard

Expand Down Expand Up @@ -10199,6 +10182,24 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:6.2.1":
version: 6.2.1
resolution: "@typescript-eslint/typescript-estree@npm:6.2.1"
dependencies:
"@typescript-eslint/types": 6.2.1
"@typescript-eslint/visitor-keys": 6.2.1
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
semver: ^7.5.4
ts-api-utils: ^1.0.1
peerDependenciesMeta:
typescript:
optional: true
checksum: 3d9beeb5e36b8827de5c160ed8e5c111dd66ca00671b183409b051e242b291480679b900bb74aaf4895dcae49497037567d3fcbbe67fa9930786ddd01c685f04
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:5.60.1":
version: 5.60.1
resolution: "@typescript-eslint/utils@npm:5.60.1"
Expand Down Expand Up @@ -10235,16 +10236,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:5.59.2":
version: 5.59.2
resolution: "@typescript-eslint/visitor-keys@npm:5.59.2"
dependencies:
"@typescript-eslint/types": 5.59.2
eslint-visitor-keys: ^3.3.0
checksum: 3057a017bca03b4ec3bee442044f2bc2f77a4af0d83ea9bf7c6cb2a12811126d93d9d300d89ef8078d981e478c6cc38693c51a2ae4b10a717796bba880eff924
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:5.60.1":
version: 5.60.1
resolution: "@typescript-eslint/visitor-keys@npm:5.60.1"
Expand All @@ -10265,6 +10256,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:6.2.1":
version: 6.2.1
resolution: "@typescript-eslint/visitor-keys@npm:6.2.1"
dependencies:
"@typescript-eslint/types": 6.2.1
eslint-visitor-keys: ^3.4.1
checksum: c05a1c45129f2cf9a8c49dadc3da10b675232e59b69dfe9fdc0bfb45d3be077ceff78097baf50e502dab3e71ce9fd799d2015e356a4be2787ee10c6c7a44ea8a
languageName: node
linkType: hard

"@unhead/dom@npm:1.1.30":
version: 1.1.30
resolution: "@unhead/dom@npm:1.1.30"
Expand Down Expand Up @@ -28631,7 +28632,7 @@ __metadata:
"@types/node": 20.4.5
"@types/react": 18.0.33
"@typescript-eslint/eslint-plugin": 5.60.1
"@typescript-eslint/parser": 5.59.2
"@typescript-eslint/parser": 6.2.1
allure-commandline: 2.21.0
autoprefixer: 10.4.14
babel-loader: 8.3.0
Expand Down Expand Up @@ -33566,7 +33567,7 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^7.2.1":
"semver@npm:^7.2.1, semver@npm:^7.5.4":
version: 7.5.4
resolution: "semver@npm:7.5.4"
dependencies:
Expand Down Expand Up @@ -36210,6 +36211,15 @@ __metadata:
languageName: node
linkType: hard

"ts-api-utils@npm:^1.0.1":
version: 1.0.1
resolution: "ts-api-utils@npm:1.0.1"
peerDependencies:
typescript: ">=4.2.0"
checksum: 78794fc7270d295b36c1ac613465b5dc7e7226907a533125b30f177efef9dd630d4e503b00be31b44335eb2ebf9e136ebe97353f8fc5d383885d5fead9d54c09
languageName: node
linkType: hard

"ts-dedent@npm:^2.0.0":
version: 2.2.0
resolution: "ts-dedent@npm:2.2.0"
Expand Down

0 comments on commit 90258cf

Please sign in to comment.