Skip to content

Commit

Permalink
chore: Enable JSON5 linting (#18979)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic authored Oct 2, 2024
1 parent ecbd522 commit b827029
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ module.exports = [
...json.configs.recommended
},

// JSON5 files
{
name: "eslint/json5",
files: ["**/*.json5"],
language: "json/json5",
...json.configs.recommended
},

// Restrict relative path imports
{
name: "eslint/lib",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"@arethetypeswrong/cli": "^0.16.4",
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@eslint/json": "^0.4.0",
"@eslint/json": "^0.5.0",
"@trunkio/launcher": "^1.3.0",
"@types/node": "^20.11.5",
"@typescript-eslint/parser": "^8.4.0",
Expand Down

0 comments on commit b827029

Please sign in to comment.