eslint-plugin-jsonc icon indicating copy to clipboard operation
eslint-plugin-jsonc copied to clipboard

ESLint plugin for JSON(C|5)? files

Results 28 eslint-plugin-jsonc issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@ota-meshi/eslint-plugin](https://togithub.com/ota-meshi/eslint-plugin) | [`^0.15.0` -> `^0.17.0`](https://renovatebot.com/diffs/npm/@ota-meshi%2feslint-plugin/0.15.3/0.17.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@ota-meshi%2feslint-plugin/0.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.0.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.2.0) |...

**Why do I want this?** I have a monorepo with the current file structure: ``` apps/ - app1/ - package.json ............. - app127/ - package.json packages/ - package1/ - package.json...

Hello. I create a ESLint config and export it like this: // myESLintConfig.js ``` import jsdoc from 'eslint-plugin-jsdoc'; import importx from 'eslint-plugin-import-x'; import jsonc from 'eslint-plugin-jsonc'; import configESLint from './configESLint.json'...

"eslint": "^9.6.0" "typescript": "5.5.3", "eslint-plugin-jsonc": "^2.16.0" [email protected] ``` [Info - 15:06:30] ESLint library loaded from: [my_path]/.yarn/sdks/eslint/lib/api.js Uncaught exception received. Error: Cannot find module '[my_path]/.yarn/__virtual__/eslint-plugin-jsonc-virtual-921eb7150c/0/cache/eslint-plugin-jsonc-npm-2.16.0-988161132b-20ca0eff63.zip/node_modules/eslint-plugin-jsonc/dist/utils/get-auto-jsonc-rules-config/worker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15) at Module._load (node:internal/modules/cjs/loader:908:27)...

needs repro

👋 Hi! Coming over from https://github.com/typescript-eslint/typescript-eslint/issues/9501: we're working on typescript-eslint v8 and would like to try the beta out on plugins such as `eslint-plugin-jsonc`. I'm sending this draft PR as...

Thanks for awesome library 😁 I created a custom eslint rule using this package to lint json files. I have similar code to what you have in this file **lib/rules/key-name-casing.ts**...

help wanted

I have very large translation files that should be alphabetized according to the `jsonc/sort-keys` rule, but they autofix doesn't work in 1 iteration. For a particularly large JSON file, it...