{"_id":"@cjean-fr/eslint-plugin-jsx-string","_rev":"2-31fe903dbe110d498f965f5674a923e4","name":"@cjean-fr/eslint-plugin-jsx-string","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@cjean-fr/eslint-plugin-jsx-string","version":"0.1.0","keywords":["eslint","eslintplugin","jsx-string","react","static-rendering","xss-prevention"],"author":{"name":"Christophe Jean"},"license":"MIT","_id":"@cjean-fr/eslint-plugin-jsx-string@0.1.0","maintainers":[{"name":"cjean","email":"christophe@cjean.fr"}],"homepage":"https://github.com/cjean-fr/atelier/tree/main/packages/eslint-plugin-jsx-string#readme","bugs":{"url":"https://github.com/cjean-fr/atelier/issues"},"dist":{"shasum":"1002de7e780d2c517248283b476386f0557e46f4","tarball":"https://registry.npmjs.org/@cjean-fr/eslint-plugin-jsx-string/-/eslint-plugin-jsx-string-0.1.0.tgz","fileCount":17,"integrity":"sha512-CBiU28l0feDwaQF4+lNMklKRJO8hxzlpWb9y6t37Z41+qj/1XEUxy29UmI8AzZN2Dc6c43inec6v7PSMy980Yw==","signatures":[{"sig":"MEUCIAfY+Fo4N2jDP1BeAcd0hpAQzaZpPEe5opu2ITec4rEMAiEAqPA4sPLZJyOLJbfpU3uiei9CPR04kE+s5cYF9ucRAhw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13096},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"638931b9913582cbe9fa45db5352d78575930194","scripts":{"test":"bun test","build":"tsc","check":"tsc --noEmit","format":"prettier --write \"**/*.{ts,json,md}\""},"_npmUser":{"name":"cjean","email":"christophe@cjean.fr"},"repository":{"url":"git+https://github.com/cjean-fr/atelier.git","type":"git","directory":"packages/eslint-plugin-jsx-string"},"_npmVersion":"11.13.0","description":"ESLint plugin for @cjean-fr/jsx-string to ensure static rendering compatibility","directories":{},"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"catalog:","@types/bun":"catalog:","typescript":"catalog:","@typescript-eslint/utils":"catalog:","@typescript-eslint/parser":"catalog:","@typescript-eslint/rule-tester":"catalog:"},"peerDependencies":{"eslint":">=8","@cjean-fr/jsx-string":">=1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-jsx-string_0.1.0_1777122516612_0.8131463203542553","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cjean-fr/eslint-plugin-jsx-string","version":"0.1.1","description":"ESLint plugin for @cjean-fr/jsx-string to ensure static rendering compatibility","author":"Christophe Jean","license":"MIT","homepage":"https://github.com/cjean-fr/atelier/tree/main/packages/eslint-plugin-jsx-string#readme","repository":{"type":"git","url":"git+https://github.com/cjean-fr/atelier.git","directory":"packages/eslint-plugin-jsx-string"},"bugs":{"url":"https://github.com/cjean-fr/atelier/issues"},"keywords":["eslint","eslintplugin","jsx-string","react","static-rendering","xss-prevention"],"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","test":"bun test","check":"tsc --noEmit","format":"prettier --write \"**/*.{ts,json,md}\""},"peerDependencies":{"eslint":">=8","@cjean-fr/jsx-string":">=1.3.0"},"devDependencies":{"@typescript-eslint/parser":"^8","@typescript-eslint/rule-tester":"^8","@typescript-eslint/utils":"^8","@types/bun":"^1","eslint":"^10","typescript":"^6"},"_id":"@cjean-fr/eslint-plugin-jsx-string@0.1.1","_integrity":"sha512-nSzFv4QuOLJ035PajKW1Hf+JbsicJE/1+0NyxTe8RK1L3GEQM1j5QKHmxZjz75VHLfZ1vpVjPBPgbg5gzek/xQ==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"902df137f2133c7f05d686dd0e1fddf0ef1e79ef","dist":{"integrity":"sha512-nSzFv4QuOLJ035PajKW1Hf+JbsicJE/1+0NyxTe8RK1L3GEQM1j5QKHmxZjz75VHLfZ1vpVjPBPgbg5gzek/xQ==","shasum":"902df137f2133c7f05d686dd0e1fddf0ef1e79ef","tarball":"https://registry.npmjs.org/@cjean-fr/eslint-plugin-jsx-string/-/eslint-plugin-jsx-string-0.1.1.tgz","fileCount":31,"unpackedSize":21501,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDNJ2HgZoiLMKs8KPlFLqEjZwoJlJCroPQiAQEF9QvyggIhANM+kgel4aJEcKkEJTJUGVl8qyfmTgAnNeNw8+l6BzVX"}]},"_npmUser":{"name":"cjean","email":"christophe@cjean.fr"},"directories":{},"maintainers":[{"name":"cjean","email":"christophe@cjean.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-plugin-jsx-string_0.1.1_1782075332640_0.6004040668526305"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-25T13:08:36.518Z","modified":"2026-06-21T20:55:32.951Z","0.1.0":"2026-04-25T13:08:36.763Z","0.1.1":"2026-06-21T20:55:32.760Z"},"bugs":{"url":"https://github.com/cjean-fr/atelier/issues"},"author":"Christophe Jean","license":"MIT","homepage":"https://github.com/cjean-fr/atelier/tree/main/packages/eslint-plugin-jsx-string#readme","keywords":["eslint","eslintplugin","jsx-string","react","static-rendering","xss-prevention"],"repository":{"type":"git","url":"git+https://github.com/cjean-fr/atelier.git","directory":"packages/eslint-plugin-jsx-string"},"description":"ESLint plugin for @cjean-fr/jsx-string to ensure static rendering compatibility","maintainers":[{"name":"cjean","email":"christophe@cjean.fr"}],"readme":"# @cjean-fr/eslint-plugin-jsx-string\n\nESLint plugin for `@cjean-fr/jsx-string` to ensure compatibility with static rendering.\n\n## Installation\n\n```bash\nbun add -D @cjean-fr/eslint-plugin-jsx-string\n# or\nnpm install --save-dev @cjean-fr/eslint-plugin-jsx-string\n```\n\n## Usage (Flat Config)\n\nAdd the plugin to your `eslint.config.js`:\n\n```javascript\nimport jsxString from \"@cjean-fr/eslint-plugin-jsx-string\";\n\nexport default [\n  jsxString.configs.recommended,\n  {\n    rules: {\n      // You can override rules if needed\n      \"@cjean-fr/jsx-string/no-unsafe-event-handlers\": \"warn\",\n    },\n  },\n];\n```\n\n## Rules\n\n| Rule                       | Description                                                | Default |\n| -------------------------- | ---------------------------------------------------------- | ------- |\n| `no-react-imports`         | Disallow React and React-DOM imports.                      | `error` |\n| `no-react-hooks`           | Disallow React hooks usage (useState, useEffect, etc).     | `error` |\n| `no-unsafe-event-handlers` | Warn about event handlers which might be unsafely handled. | `warn`  |\n| `no-javascript-urls`       | Disallow `javascript:` URLs in href attributes.            | `error` |\n| `no-context`               | Disallow React Context usage.                              | `error` |\n| `no-refs`                  | Disallow React refs usage.                                 | `error` |\n\n## License\n\nMIT © Christophe Jean\n\n---\n\n<p align=\"center\">Made with ❤️ in Paris</p>\n","readmeFilename":"README.md"}