eslint-plugin-jsonc
eslint-plugin-jsonc copied to clipboard
ESLint plugin for JSON(C|5)? files
Since eslint v9, we have the following issue in MegaLinter ```sh [eslint-plugin-jsonc] command: ['eslint', '--no-ignore', '--fix', '-c', '/action/lib/.automation/.eslintrc-json.json', '--no-config-lookup', '--format', '@microsoft/eslint-formatter-sarif', '-o', '/tmp/257cdc5b-5fd5-4117-9ea3-9a25b1c03ecb/sarif/JSON_ESLINT_PLUGIN_JSONC.sarif', 'json_fix_1.json'] [eslint-plugin-jsonc] CWD: /tmp/lint/.automation/test/json [Sarif] ERROR: there...
Hello, do you have an example of how to set-up the configuration when using this plugin with the typescript parser?
This plugin is so good that I'd like to just rely on it when using VSCode instead of using the unmaintained JSON5 extension. To do so I associate `.json5` files...
- [ ] Drop support for older versions of Node.js. (
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [espree](https://togithub.com/eslint/espree) | [`^9.6.1` -> `^10.0.0`](https://renovatebot.com/diffs/npm/espree/9.6.1/10.1.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
typescript gives an error saying `synckit` is an ESM package, but `synckit` can also be used with commonjs. I don't quite understand the correct way to configure typescript 😓 _Originally...
### description - `sort-keys` misplaces the comments in a `tsconfig.json` ### reproduction - create a `package.json` ```json { "dependencies": { "eslint": "^8.49.0", "eslint-plugin-jsonc": "^2.9.0" }, "eslintConfig": { "plugins": [ "eslint-plugin-jsonc"...
👋 I'm a big fan of this plugin and use it in http://github.com/JoshuaKGoldberg/template-typescript-node-package to sort `package.json` contents. Thanks for making it! Turns out sometimes `package.json` content ordering _does_ matter. Per...
Hi and many thanks for creating this plugin, it's very useful to me! I am trying to run this plugin in the browser using Vite and eslint4b, but I am...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-markdown](https://togithub.com/eslint/eslint-plugin-markdown) | [`^3.0.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-markdown/3.0.1/5.1.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...