Skip to content

Commit bb9538a

Browse files
fix(deps): update dependency eslint-compat-utils to ^0.3.0 (#294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <[email protected]>
1 parent b8766d1 commit bb9538a

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.changeset/neat-lamps-grow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-jsonc": patch
3+
---
4+
5+
fix(deps): update dependency eslint-compat-utils to ^0.3.0

lib/rules/indent.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ export default createRule("indent", {
835835
} else {
836836
const previousElement = elements[index - 1]!;
837837
const firstTokenOfPreviousElement =
838-
previousElement && getFirstToken(previousElement)!;
838+
previousElement && getFirstToken(previousElement);
839839
const previousElementLastToken =
840840
previousElement && sourceCode.getLastToken(previousElement as any)!;
841841

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"homepage": "https://ota-meshi.github.io/eslint-plugin-jsonc/",
6868
"dependencies": {
6969
"@eslint-community/eslint-utils": "^4.2.0",
70-
"eslint-compat-utils": "^0.2.0",
70+
"eslint-compat-utils": "^0.3.0",
7171
"espree": "^9.6.1",
7272
"graphemer": "^1.4.0",
7373
"jsonc-eslint-parser": "^2.0.4",
@@ -89,8 +89,8 @@
8989
"@types/natural-compare": "^1.4.0",
9090
"@types/node": "^20.0.0",
9191
"@types/semver": "^7.3.1",
92-
"@typescript-eslint/eslint-plugin": "^6.0.0",
93-
"@typescript-eslint/parser": "^6.0.0",
92+
"@typescript-eslint/eslint-plugin": "^6.19.0",
93+
"@typescript-eslint/parser": "^6.19.0",
9494
"dts-bundle": "^0.7.3",
9595
"env-cmd": "^10.1.0",
9696
"esbuild": "^0.19.3",

0 commit comments

Comments
 (0)