{"_id":"@bratislava/eslint-plugin-no-raw-text-or-elements","_rev":"9-f00b98d86889c554c6056b5269e7ecad","name":"@bratislava/eslint-plugin-no-raw-text-or-elements","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@bratislava/eslint-plugin-no-raw-text-or-elements","version":"0.0.1","author":{"name":"Miroslav Valkovic"},"license":"ISC","_id":"@bratislava/eslint-plugin-no-raw-text-or-elements@0.0.1","maintainers":[{"name":"daksas303","email":"dkalamar93@gmail.com"},{"name":"valkovmirec","email":"valkovic.m@protonmail.com"},{"name":"skifahrer","email":"richard.dvorsky@bratislava.sk"},{"name":"marekbodingerba","email":"marek.bodinger@bratislava.sk"},{"name":"kristianduda","email":"kristian.duda@extropy.sk"},{"name":"inovacie.bratislava","email":"inovacie.bratislava@gmail.com"}],"dist":{"shasum":"2249da3ab158e832e779873aa69eef3a226b1649","tarball":"https://registry.npmjs.org/@bratislava/eslint-plugin-no-raw-text-or-elements/-/eslint-plugin-no-raw-text-or-elements-0.0.1.tgz","fileCount":6,"integrity":"sha512-6GbCOYHF3QRx39YzU0kYeONvaGOob7FISCv0tVz11+Fre1QOGZdOf7U6BhEEhBPg1xN5hgcIXNhGqpHb9uGpag==","signatures":[{"sig":"MEQCIBlK0pDOeA+pf8E0jUI9+yOY2zOM1PV3xVlw6cdT2CHoAiBt+Jud6rAY1wwEM9do1G0ZpBRnIF4eta56AZEi4qz6UA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4390},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"valkovmirec","email":"valkovic.m@protonmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"9.5.1","description":"Eslint rule for detecting html elements and raw text within them.","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-no-raw-text-or-elements_0.0.1_1701176050955_0.862181532004695","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-11-28T12:54:10.857Z","modified":"2026-06-24T07:50:23.361Z","0.0.1":"2023-11-28T12:54:11.168Z"},"author":{"name":"Miroslav Valkovic"},"license":"ISC","description":"Eslint rule for detecting html elements and raw text within them.","maintainers":[{"email":"marek.bodinger@bratislava.sk","name":"marekbodingerba"},{"email":"inovacie.bratislava@gmail.com","name":"inovacie.bratislava"},{"email":"mpinter.pinto@gmail.com","name":"mpinter"},{"email":"erik.rehulka@gmail.com","name":"erehulka"},{"email":"pavel.filo@bratislava.sk","name":"pavel.filo"},{"email":"lukas.babula@bratislava.sk","name":"lukas.babula"},{"email":"jakubicka.adam@gmail.com","name":"ty-ci"}],"readme":"# @bratislava/eslint-plugin-no-raw-text-or-elements\n\nESLint plugin for enforcing rules related to raw text and HTML elements.\n\n## Installation\n\nInstall the package using either npm or yarn:\n\n```bash\n# With npm\nnpm install @bratislava/eslint-plugin-no-raw-text-or-elements --save-dev\n\n# With yarn\nyarn add @bratislava/eslint-plugin-no-raw-text-or-elements --dev\n```\n\n## Configuration\n\n1. Add the plugin to your ESLint configuration file (e.g., .eslintrc.js):\n\n```\nmodule.exports = {\n  // Other ESLint configurations...\n\n  plugins: [\n    // Add the plugin\n    '@bratislava/no-raw-text-or-elements',\n  ],\n\n  rules: {\n    // Configure rules provided by the plugin\n    '@bratislava/no-raw-text-or-elements/no-html-elements': 'error',\n    '@bratislava/no-raw-text-or-elements/string-literal-wrapped-in-typography': 'error',\n    \n    // Other rules...\n  },\n};\n\n```\n\n2. Ensure the rules are configured according to your preferences.\n\n## Rules\n\n`@bratislava/no-raw-text-or-elements/no-html-elements`\n\nDetect usage of HTML elements.\n\nExample Configuration:\n\n```\nmodule.exports = {\n  rules: {\n    '@bratislava/no-raw-text-or-elements/no-html-elements': 'error',\n  },\n};\n```\n\n`@bratislava/no-raw-text-or-elements/string-literal-wrapped-in-typography`\n\nEnforce wrapping text in a Typography component.\n\n```\nmodule.exports = {\n  rules: {\n    '@bratislava/no-raw-text-or-elements/string-literal-wrapped-in-typography': 'error',\n  },\n};\n```\n\n\n","readmeFilename":"README.md"}