Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"license": "Apache-2.0",
"dependencies": {
"@eslint/core": "^0.14.0",
"@eslint/plugin-kit": "^0.3.1",
"@eslint/plugin-kit": "^0.4.0",
"@humanwhocodes/momoa": "^3.3.4",
"natural-compare": "^1.4.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/languages/json-language.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export class JSONLanguage {
}
}

/* eslint-disable class-methods-use-this -- Required to complete interface. */
/**
* Creates a new `JSONSourceCode` object from the given information.
* @param {File} file The virtual file to create a `JSONSourceCode` object from.
Expand All @@ -164,7 +163,8 @@ export class JSONLanguage {
return new JSONSourceCode({
text: /** @type {string} */ (file.body),
ast: parseResult.ast,
lineStart: this.lineStart,
columnStart: this.columnStart,
});
}
/* eslint-enable class-methods-use-this -- Required to complete interface. */
}
Loading