Skip to content

Commit

Permalink
fix(deps): update dependency eslint-compat-utils to ^0.3.0 (#294)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
  • Loading branch information
renovate[bot] and ota-meshi committed Jan 16, 2024
1 parent b8766d1 commit bb9538a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-lamps-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-jsonc": patch
---

fix(deps): update dependency eslint-compat-utils to ^0.3.0
2 changes: 1 addition & 1 deletion lib/rules/indent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ export default createRule("indent", {
} else {
const previousElement = elements[index - 1]!;
const firstTokenOfPreviousElement =
previousElement && getFirstToken(previousElement)!;
previousElement && getFirstToken(previousElement);
const previousElementLastToken =
previousElement && sourceCode.getLastToken(previousElement as any)!;

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"homepage": "https://ota-meshi.github.io/eslint-plugin-jsonc/",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"eslint-compat-utils": "^0.2.0",
"eslint-compat-utils": "^0.3.0",
"espree": "^9.6.1",
"graphemer": "^1.4.0",
"jsonc-eslint-parser": "^2.0.4",
Expand All @@ -89,8 +89,8 @@
"@types/natural-compare": "^1.4.0",
"@types/node": "^20.0.0",
"@types/semver": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"dts-bundle": "^0.7.3",
"env-cmd": "^10.1.0",
"esbuild": "^0.19.3",
Expand Down

0 comments on commit bb9538a

Please sign in to comment.