{"_id":"@deriv/eslint-plugin-localize-usage","_rev":"4-e6ff89d9b515166505da40debaecabd8","name":"@deriv/eslint-plugin-localize-usage","dist-tags":{"latest":"1.1.2-beta"},"versions":{"1.0.6-beta":{"name":"@deriv/eslint-plugin-localize-usage","version":"1.0.6-beta","description":"ESLint rules for enforcing the usage of localize function and component","keywords":["eslint","eslint-plugin","react","localize"],"author":{"name":"Amir Ali"},"main":"lib/index.js","scripts":{"lint:fix":"npm run lint -- --fix","test":"mocha tests --recursive"},"repository":{"type":"git","url":"git+https://github.com/amir-deriv/eslint-plugin-localize-usage.git"},"homepage":"https://github.com/amir-deriv/eslint-plugin-localize-usage","peerDependencies":{"eslint":">= 6"},"devDependencies":{"babel-eslint":"^8.2.6","eslint":"^8.6.0","mocha":"^5.2.0"},"engines":{"node":">=6"},"license":"MIT","gitHead":"db75246a868491745080ddb78bf02a7388ca2578","bugs":{"url":"https://github.com/amir-deriv/eslint-plugin-localize-usage/issues"},"_id":"@deriv/eslint-plugin-localize-usage@1.0.6-beta","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-klC6H+SkB+zl8chRz1ViaWl3HVJJWKV5x9+cP1jWCFMCplFONiHzX1FExEh02U8t3ZedQITaSMIYL1md0yEDdw==","shasum":"9f6deece8e63833ba0b480f5b8cbde3c349c8a77","tarball":"https://registry.npmjs.org/@deriv/eslint-plugin-localize-usage/-/eslint-plugin-localize-usage-1.0.6-beta.tgz","fileCount":16,"unpackedSize":21169,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT1WqQC7T2z5/K9EQJEfDgepd4PZ8DPBX8N3gIoKeKvQIgFc/HukWZ3e5kc4fIS9Hgvw7yzk+I3A5aQjoVxWJoxr8="}]},"_npmUser":{"name":"deriv-frontend","email":"fe-access@deriv.com"},"directories":{},"maintainers":[{"name":"lipika-deriv","email":"lipika@deriv.com"},{"name":"deriv-frontend","email":"fe-access@deriv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-localize-usage_1.0.6-beta_1687231493715_0.7594536120119955"},"_hasShrinkwrap":false},"1.0.7-beta":{"name":"@deriv/eslint-plugin-localize-usage","version":"1.0.7-beta","description":"ESLint rules for enforcing the usage of localize function and component","keywords":["eslint","eslint-plugin","react","localize"],"author":{"name":"Amir Ali"},"main":"lib/index.js","scripts":{"lint:fix":"npm run lint -- --fix","test":"mocha tests --recursive"},"repository":{"type":"git","url":"git+https://github.com/amir-deriv/eslint-plugin-localize-usage.git"},"homepage":"https://github.com/amir-deriv/eslint-plugin-localize-usage","peerDependencies":{"eslint":">= 6"},"devDependencies":{"babel-eslint":"^8.2.6","eslint":"^8.6.0","mocha":"^5.2.0"},"engines":{"node":">=6"},"license":"MIT","gitHead":"a66c912050d66ba15e67b9a4e525fb5471615ba2","bugs":{"url":"https://github.com/amir-deriv/eslint-plugin-localize-usage/issues"},"_id":"@deriv/eslint-plugin-localize-usage@1.0.7-beta","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-GOLlqsbTqq3H2SYpxo9NdZ252k9HqB7+psvjhaPL0Vbow4HSbw2LmQ/AWuKEaQDXF1XwNfq6261BxKlG4RKsNA==","shasum":"824a5acda15c858cb8c7c234957ccbb191ce7012","tarball":"https://registry.npmjs.org/@deriv/eslint-plugin-localize-usage/-/eslint-plugin-localize-usage-1.0.7-beta.tgz","fileCount":16,"unpackedSize":21190,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz2FQQwddiIOjCbTjUPCi9ZQ4y2VWlvEX9PzUJJ85LBAIgd8ZkWDfbKCAv3Ve/ulSYc0lwlBPIQWJnTjB28JxXUJ0="}]},"_npmUser":{"name":"deriv-frontend","email":"fe-access@deriv.com"},"directories":{},"maintainers":[{"name":"lipika-deriv","email":"lipika@deriv.com"},{"name":"deriv-frontend","email":"fe-access@deriv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-localize-usage_1.0.7-beta_1687343440935_0.16890603537175775"},"_hasShrinkwrap":false},"1.1.0-beta":{"name":"@deriv/eslint-plugin-localize-usage","version":"1.1.0-beta","description":"ESLint rules for enforcing the usage of localize function and component","keywords":["eslint","eslint-plugin","react","localize"],"author":{"name":"Amir Ali"},"main":"lib/index.js","scripts":{"lint:fix":"npm run lint -- --fix","test":"mocha tests --recursive"},"repository":{"type":"git","url":"git+https://github.com/amir-deriv/eslint-plugin-localize-usage.git"},"homepage":"https://github.com/amir-deriv/eslint-plugin-localize-usage","peerDependencies":{"eslint":">= 6"},"devDependencies":{"babel-eslint":"^8.2.6","eslint":"^8.6.0","mocha":"^5.2.0"},"engines":{"node":">=6"},"license":"MIT","gitHead":"994b6f2aa0cda81df70ed05edab025d0c341ebfb","bugs":{"url":"https://github.com/amir-deriv/eslint-plugin-localize-usage/issues"},"_id":"@deriv/eslint-plugin-localize-usage@1.1.0-beta","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-gswzsbClnztAePdPzwpixDLiLkO3gdU9o7c4zYpliXrTl/N2jrTUV6EO+fCSSR1xhAhJ1ZrSsaGz44eQgQeLLw==","shasum":"b391c7e672dd795449f770f22a19eed1c8200b2c","tarball":"https://registry.npmjs.org/@deriv/eslint-plugin-localize-usage/-/eslint-plugin-localize-usage-1.1.0-beta.tgz","fileCount":16,"unpackedSize":26221,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjCpI31zheJwbzC/qbQm2dyEo+dcCTvpREefv2KDSIaQIgTYdY7VRxIfx1DAO5z2W+l4m1zE1VzmkfXFhKcAinJDo="}]},"_npmUser":{"name":"deriv-frontend","email":"fe-access@deriv.com"},"directories":{},"maintainers":[{"name":"lipika-deriv","email":"lipika@deriv.com"},{"name":"deriv-frontend","email":"fe-access@deriv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-localize-usage_1.1.0-beta_1688360953098_0.49606621611301804"},"_hasShrinkwrap":false},"1.1.1-beta":{"name":"@deriv/eslint-plugin-localize-usage","version":"1.1.1-beta","description":"ESLint rules for enforcing the usage of localize function and component","keywords":["eslint","eslint-plugin","react","localize"],"author":{"name":"Amir Ali"},"main":"lib/index.js","scripts":{"lint:fix":"npm run lint -- --fix","test":"mocha tests --recursive"},"repository":{"type":"git","url":"git+https://github.com/amir-deriv/eslint-plugin-localize-usage.git"},"homepage":"https://github.com/amir-deriv/eslint-plugin-localize-usage","peerDependencies":{"eslint":">= 6"},"devDependencies":{"babel-eslint":"^8.2.6","eslint":"^8.6.0","mocha":"^5.2.0"},"engines":{"node":">=6"},"license":"MIT","gitHead":"b2df4226ca63fa0279e1b8ac168c1a79849b5374","bugs":{"url":"https://github.com/amir-deriv/eslint-plugin-localize-usage/issues"},"_id":"@deriv/eslint-plugin-localize-usage@1.1.1-beta","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-wzpdIAexTo6kgsKh3Vzu0QDxy5IVLQkPyJ19pqyVzLPD8wgx/iesIuNCu5OE9JxBBY58Xlbs/lCAUaD/JGEKFQ==","shasum":"21559d5c15d47e705086bc79f686de68579b0165","tarball":"https://registry.npmjs.org/@deriv/eslint-plugin-localize-usage/-/eslint-plugin-localize-usage-1.1.1-beta.tgz","fileCount":16,"unpackedSize":26050,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUvzgDEwc3IgbnjO5ayUCUM9IwHOU1Uex9HPj/97s01QIhAMTEeuEEfPNoTByg6oo8SqP1do83K3Y7Yo+sOs6pqrD7"}]},"_npmUser":{"name":"deriv-frontend","email":"fe-access@deriv.com"},"directories":{},"maintainers":[{"name":"lipika-deriv","email":"lipika@deriv.com"},{"name":"deriv-frontend","email":"fe-access@deriv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-localize-usage_1.1.1-beta_1688468728438_0.978016828270587"},"_hasShrinkwrap":false},"1.1.2-beta":{"name":"@deriv/eslint-plugin-localize-usage","version":"1.1.2-beta","description":"ESLint rules for enforcing the usage of localize function and component","keywords":["eslint","eslint-plugin","react","localize"],"author":{"name":"Amir Ali"},"main":"lib/index.js","scripts":{"lint:fix":"npm run lint -- --fix","test":"mocha tests --recursive"},"repository":{"type":"git","url":"git+https://github.com/binary-com/eslint-plugin-localize-usage.git"},"homepage":"https://github.com/binary-com/eslint-plugin-localize-usage","peerDependencies":{"eslint":">= 6"},"devDependencies":{"babel-eslint":"^8.2.6","eslint":"^8.6.0","mocha":"^5.2.0"},"engines":{"node":">=6"},"license":"MIT","gitHead":"04095c38dd16d5886f616e40180221018e5ae44e","bugs":{"url":"https://github.com/binary-com/eslint-plugin-localize-usage/issues"},"_id":"@deriv/eslint-plugin-localize-usage@1.1.2-beta","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-TV0bvusoIQUGSSnMWYjjLEbNwle/vnwkh/TMSGK6p0nwjLJNTVJJ9NFq1xYzc/h9oZtj3GvRSsNQCy/+WCyFTQ==","shasum":"a4ab065a897c282507fa79e46811956b273c2c0e","tarball":"https://registry.npmjs.org/@deriv/eslint-plugin-localize-usage/-/eslint-plugin-localize-usage-1.1.2-beta.tgz","fileCount":16,"unpackedSize":26085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzOlCQbiPpyyoi6dUGJARrSeQhSD1AZtdiLfxDs35oyAiEAhOm+vNublDHUziEmhnuBwfdPdi8VOO/aBnVFFjYEzBc="}]},"_npmUser":{"name":"deriv-frontend","email":"fe-access@deriv.com"},"directories":{},"maintainers":[{"name":"lipika-deriv","email":"lipika@deriv.com"},{"name":"deriv-frontend","email":"fe-access@deriv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-localize-usage_1.1.2-beta_1689237470658_0.9246130245444535"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-20T03:24:53.646Z","1.0.6-beta":"2023-06-20T03:24:53.851Z","modified":"2023-07-13T08:37:51.050Z","1.0.7-beta":"2023-06-21T10:30:41.091Z","1.1.0-beta":"2023-07-03T05:09:13.254Z","1.1.1-beta":"2023-07-04T11:05:28.598Z","1.1.2-beta":"2023-07-13T08:37:50.841Z"},"maintainers":[{"name":"lipika-deriv","email":"lipika@deriv.com"},{"name":"deriv-frontend","email":"fe-access@deriv.com"}],"description":"ESLint rules for enforcing the usage of localize function and component","homepage":"https://github.com/binary-com/eslint-plugin-localize-usage","keywords":["eslint","eslint-plugin","react","localize"],"repository":{"type":"git","url":"git+https://github.com/binary-com/eslint-plugin-localize-usage.git"},"author":{"name":"Amir Ali"},"bugs":{"url":"https://github.com/binary-com/eslint-plugin-localize-usage/issues"},"license":"MIT","readme":"# @deriv/eslint-plugin-localize-usage\n\nEslint rules for enforcing the correct usage of `localize` function and `Localize` component in the app\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `@deriv/eslint-plugin-localize-usage`:\n\n```\n$ npm install @deriv/eslint-plugin-localize-usage --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `@deriv/eslint-plugin-localize-usage` globally.\n\n## Usage\n\nAdd `localize-usage` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n  \"plugins\": [\"@deriv/localize-usage\"]\n}\n```\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n  \"rules\": {\n    \"localize-usage/rule-name\": \"error\"\n  }\n}\n```\n\nYou can also use the recommended config instead\n\n```json\n{\n  \"extends\": [\"plugin:localize-usage/recommended\"]\n}\n```\n\n## Supported Rules\n\n- [localize-usage/only-string-literal-argument](docs/rules/only-string-literal-argument.md): Enforce using static strings as keys for localize functions which we use for translation\n- [localize-usage/no-invalid-identifier-in-prop-value](docs/rules/no-invalid-identifier-in-prop-value.md):  Validate string literal passed to Localize component in i18n_default_text prop is valid and has all the identifiers in values prop ","readmeFilename":"README.md"}