Skip to content

Commit

Permalink
fix json rules
Browse files Browse the repository at this point in the history
  • Loading branch information
djahandarie committed Dec 28, 2024
1 parent 330a375 commit 3bb9d54
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .htmlvalidate.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"elements": [
"html5"
]
}
}
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@
"@stylistic/string-quotes": "single",
"@stylistic/unit-case": "lower"
}
}
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"dbaeumer.vscode-eslint",
"html-validate.vscode-html-validate",
"stylelint.vscode-stylelint",
"codeandstuff.package-json-upgrade",
"codeandstuff.package-json-upgrade"
]
}
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"runtimeArgs": [
"run",
"test:unit",
"--",
"--"
// "test/text-source-range.test.js" // Replace and uncomment this line to run a single test file
],
"runtimeExecutable": "npm",
Expand All @@ -17,4 +17,4 @@
"type": "node"
}
]
}
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"source.addMissingImports": "explicit",
"source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit"
},
}
},
"[typescript]": {
"editor.codeActionsOnSave": {
"source.addMissingImports": "never",
"source.organizeImports": "never",
"source.fixAll.eslint": "explicit"
},
}
},
"eslint.format.enable": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
Expand Down
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,15 @@ export default [
parser: parser,
},
},
{
files: [
'.vscode/launch.json',
],

rules: {
'jsonc/no-comments': 'off',
},
},
{
files: [
'ext/data/schemas/options-schema.json',
Expand Down

0 comments on commit 3bb9d54

Please sign in to comment.