{"_id":"@atlassian/eslint-plugin-wrm-i18n","_rev":"4-ca56d5b47888b6e5d22bcbf97f44a2ab","name":"@atlassian/eslint-plugin-wrm-i18n","dist-tags":{"release-in-progress":"0.3.0-12345","latest":"0.3.3"},"versions":{"0.3.0-12345":{"name":"@atlassian/eslint-plugin-wrm-i18n","version":"0.3.0-12345","keywords":["eslint","eslintplugin","eslint-plugin","Atlassian","I18n","atlassian-webresource-manager","WRM"],"author":{"name":"Atlassian Pty Ltd."},"license":"Apache-2.0","_id":"@atlassian/eslint-plugin-wrm-i18n@0.3.0-12345","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"contributors":[{"name":"Michael Kemp","email":"mkemp@atlassian.com"}],"homepage":"https://bitbucket.org/atlassianlabs/fe-server","bugs":{"url":"https://ecosystem.atlassian.net/jira/software/c/projects/SPFE/issues/"},"dist":{"shasum":"10eee3dc0ed44315b24ebc0793937be3fd85bdf9","tarball":"https://registry.npmjs.org/@atlassian/eslint-plugin-wrm-i18n/-/eslint-plugin-wrm-i18n-0.3.0-12345.tgz","fileCount":13,"integrity":"sha512-Gs3m24d7eoO5fDM355s+NkbraATon8NUNkXFduzAUfT5pNXMo7XBBw1HUEx3Q8je2jpRtARaa2kdPgH35sZdjQ==","signatures":[{"sig":"MEUCIQCce8oUmFVtwdXaTG1/KVTyHchQ0YAxHvOXr8aIB6/twQIgWe4a0cCg32zuFifVLMGhOvdwlvz9+jubuHsbGLM0ctU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26754},"main":"./lib/index.js","_from":"file:/tmp/package-1-682ec2d2-be7f8f667c1125c15f596c23-1.tgz","exports":"./lib/index.js","gitHead":"416eab5a78751d752ee90a1977f79dc9f6c39049","private":false,"scripts":{"lint":"eslint .","test":"jest --verbose"},"_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"},"_resolved":"/tmp/package-1-682ec2d2-be7f8f667c1125c15f596c23-1.tgz","_integrity":"sha512-Gs3m24d7eoO5fDM355s+NkbraATon8NUNkXFduzAUfT5pNXMo7XBBw1HUEx3Q8je2jpRtARaa2kdPgH35sZdjQ==","repository":{"url":"git+ssh://git@bitbucket.org/atlassianlabs/fe-server.git","type":"git","directory":"packages/i18n-properties-loader"},"_npmVersion":"10.8.2","description":"Finds invalid usages of Atlassian webresource-manager's I18n system","directories":{},"_nodeVersion":"20.19.0","dependencies":{"requireindex":"^1.2.0"},"publishConfig":{"registry":"https://packages.atlassian.com/api/npm/npm-public/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.0.0","eslint":"^7.32.0","eslint-plugin-node":"^11.1.0","eslint-plugin-eslint-plugin":"^5.0.0"},"peerDependencies":{"eslint":">=7"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-wrm-i18n_0.3.0-12345_1747894998458_0.5213902847486194","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@atlassian/eslint-plugin-wrm-i18n","version":"0.3.1","keywords":["eslint","eslintplugin","eslint-plugin","Atlassian","I18n","atlassian-webresource-manager","WRM"],"author":{"name":"Atlassian Pty Ltd."},"license":"Apache-2.0","_id":"@atlassian/eslint-plugin-wrm-i18n@0.3.1","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"contributors":[{"name":"Michael Kemp","email":"mkemp@atlassian.com"}],"homepage":"https://bitbucket.org/atlassianlabs/fe-server","bugs":{"url":"https://ecosystem.atlassian.net/jira/software/c/projects/SPFE/issues/"},"dist":{"shasum":"f26bfec3a5b25b12e399e7dfb79d07057900934e","tarball":"https://registry.npmjs.org/@atlassian/eslint-plugin-wrm-i18n/-/eslint-plugin-wrm-i18n-0.3.1.tgz","fileCount":13,"integrity":"sha512-igoNz2jQkuGToZan2nxuKKfjFyVlbT7vsIp8hlos01o0lJHh921VygYMQg5YPYBZTy22nY3VItwZIvJaQvr0+g==","signatures":[{"sig":"MEUCIQCNwIUymmEStz4NmjgVfi6aLqP424yGHOD1QZnHzO5oygIgbTCt87B4ltCRHS8jyR/0CqJyjuGINto6nllBjH6spz8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27097},"main":"./lib/index.js","_from":"file:/tmp/package-1-6838277f-4da0aab9c4af296af39a0d43-1.tgz","exports":"./lib/index.js","gitHead":"622a7f318cc99f3760df5c1c90a5598b202526fd","scripts":{"lint":"eslint .","test":"jest --verbose"},"_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"},"_resolved":"/tmp/package-1-6838277f-4da0aab9c4af296af39a0d43-1.tgz","_integrity":"sha512-igoNz2jQkuGToZan2nxuKKfjFyVlbT7vsIp8hlos01o0lJHh921VygYMQg5YPYBZTy22nY3VItwZIvJaQvr0+g==","repository":{"url":"git+ssh://git@bitbucket.org/atlassianlabs/fe-server.git","type":"git","directory":"packages/i18n-properties-loader"},"_npmVersion":"10.8.2","description":"Finds invalid usages of Atlassian webresource-manager's I18n system","directories":{},"_nodeVersion":"20.19.1","dependencies":{"requireindex":"^1.2.0"},"publishConfig":{"registry":"https://packages.atlassian.com/api/npm/npm-public/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.0.0","eslint":"^7.32.0","eslint-plugin-node":"^11.1.0","eslint-plugin-eslint-plugin":"^5.0.0"},"peerDependencies":{"eslint":">=7"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-wrm-i18n_0.3.1_1748510594696_0.5334696950982352","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@atlassian/eslint-plugin-wrm-i18n","version":"0.3.2","keywords":["eslint","eslintplugin","eslint-plugin","Atlassian","I18n","atlassian-webresource-manager","WRM"],"author":{"name":"Atlassian Pty Ltd."},"license":"Apache-2.0","_id":"@atlassian/eslint-plugin-wrm-i18n@0.3.2","maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"contributors":[{"name":"Michael Kemp","email":"mkemp@atlassian.com"}],"homepage":"https://bitbucket.org/atlassianlabs/fe-server","bugs":{"url":"https://ecosystem.atlassian.net/jira/software/c/projects/SPFE/issues/"},"dist":{"shasum":"0b2904aa9628e0059501999130a5dcdbceb928f9","tarball":"https://registry.npmjs.org/@atlassian/eslint-plugin-wrm-i18n/-/eslint-plugin-wrm-i18n-0.3.2.tgz","fileCount":13,"integrity":"sha512-W646edC1Ab/uIWVPA8b8I1rXoABr6eG93Pjvay1B/kSSxl4RrvdNL78BIla+TUm/qaSr1myrnkRYPdgrVIkvvw==","signatures":[{"sig":"MEQCIAGEDbnh4LzJni2u9OstMm16qPAdJL/alBo5ZFgeQlgiAiBjp/jc4NWbPmkn7Xa56JTPom97HtPusQLOzuAA2WVu3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27460},"main":"./lib/index.js","_from":"file:/tmp/package-1-68aec745-51e3c3e12a27bfe931144a6d-2.tgz","exports":"./lib/index.js","gitHead":"70a68cbb2dd8d2c58bf493c112105b81c62330e5","scripts":{"lint":"eslint .","test":"jest --verbose"},"_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"},"_resolved":"/tmp/package-1-68aec745-51e3c3e12a27bfe931144a6d-2.tgz","_integrity":"sha512-W646edC1Ab/uIWVPA8b8I1rXoABr6eG93Pjvay1B/kSSxl4RrvdNL78BIla+TUm/qaSr1myrnkRYPdgrVIkvvw==","repository":{"url":"git+ssh://git@bitbucket.org/atlassianlabs/fe-server.git","type":"git","directory":"packages/i18n-properties-loader"},"_npmVersion":"10.8.2","description":"Finds invalid usages of Atlassian webresource-manager's I18n system","directories":{},"_nodeVersion":"20.19.3","dependencies":{"requireindex":"^1.2.0"},"publishConfig":{"registry":"https://packages.atlassian.com/api/npm/npm-public/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.0.0","eslint":"^8.57.1","eslint-plugin-node":"^11.1.0","eslint-plugin-eslint-plugin":"^5.0.8"},"peerDependencies":{"eslint":">=8"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-wrm-i18n_0.3.2_1756284750347_0.013707202735920854","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@atlassian/eslint-plugin-wrm-i18n","version":"0.3.3","description":"Finds invalid usages of Atlassian webresource-manager's I18n system","main":"./lib/index.js","exports":"./lib/index.js","repository":{"type":"git","url":"git+ssh://git@bitbucket.org/atlassianlabs/fe-server.git","directory":"packages/i18n-properties-loader"},"publishConfig":{"registry":"https://packages.atlassian.com/api/npm/npm-public/"},"scripts":{"lint":"eslint .","test":"jest --verbose"},"keywords":["eslint","eslintplugin","eslint-plugin","Atlassian","I18n","atlassian-webresource-manager","WRM"],"author":{"name":"Atlassian Pty Ltd."},"license":"Apache-2.0","homepage":"https://bitbucket.org/atlassianlabs/fe-server","bugs":{"url":"https://ecosystem.atlassian.net/jira/software/c/projects/SPFE/issues/"},"contributors":[{"name":"Michael Kemp","email":"mkemp@atlassian.com"}],"dependencies":{"requireindex":"^1.2.0"},"peerDependencies":{"eslint":">=8"},"devDependencies":{"eslint":"^8.57.1","eslint-plugin-eslint-plugin":"^5.0.8","eslint-plugin-n":"^14.0.0","mocha":"^10.0.0"},"gitHead":"63f356b9014de07d208577bd02995b58bd6117ed","_id":"@atlassian/eslint-plugin-wrm-i18n@0.3.3","_integrity":"sha512-olcN2fQTwIl4fg3KP4MVcqAWd2t+gkhhKSOVio/oE5eL1KdtFaWE+rmUSWQsuNhQi5yoS7Ll88CENF2RzmOHhA==","_resolved":"/tmp/package-1-696e14bb-716a327cbfc2ac1146d9ecf0-2.tgz","_from":"file:/tmp/package-1-696e14bb-716a327cbfc2ac1146d9ecf0-2.tgz","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-olcN2fQTwIl4fg3KP4MVcqAWd2t+gkhhKSOVio/oE5eL1KdtFaWE+rmUSWQsuNhQi5yoS7Ll88CENF2RzmOHhA==","shasum":"ac9e9ff8b41f3d57b355af39690c736428fc07a8","tarball":"https://registry.npmjs.org/@atlassian/eslint-plugin-wrm-i18n/-/eslint-plugin-wrm-i18n-0.3.3.tgz","fileCount":13,"unpackedSize":27707,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDQVEfdElsOUhiEhXDkGVsdk+so5MCimoOAMbW2EkFNhgIhAJQZ66tIRXS69s+nW9fiTrl0YKu9b6wJljLzeJZryI+q"}]},"_npmUser":{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"},"directories":{},"maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-plugin-wrm-i18n_0.3.3_1768821955302_0.8648282366870399"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-22T06:23:18.379Z","modified":"2026-01-19T11:25:55.576Z","0.3.0-12345":"2025-05-22T06:23:18.641Z","0.3.1":"2025-05-29T09:23:14.852Z","0.3.2":"2025-08-27T08:52:30.539Z","0.3.3":"2026-01-19T11:25:55.445Z"},"bugs":{"url":"https://ecosystem.atlassian.net/jira/software/c/projects/SPFE/issues/"},"author":{"name":"Atlassian Pty Ltd."},"license":"Apache-2.0","homepage":"https://bitbucket.org/atlassianlabs/fe-server","keywords":["eslint","eslintplugin","eslint-plugin","Atlassian","I18n","atlassian-webresource-manager","WRM"],"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/atlassianlabs/fe-server.git","directory":"packages/i18n-properties-loader"},"description":"Finds invalid usages of Atlassian webresource-manager's I18n system","contributors":[{"name":"Michael Kemp","email":"mkemp@atlassian.com"}],"maintainers":[{"name":"atlassianartifactteam","email":"eng-development-tooling-secrets-and-artifacts@atlassian.com"}],"readme":"> **_NOTE:_** [@atlassian/eslint-plugin-wrm-i18n](https://www.npmjs.com/package/@atlassian/eslint-plugin-wrm-i18n) replaces the old [eslint-plugin-atlassian-wrm-i18n](https://www.npmjs.com/package/eslint-plugin-atlassian-wrm-i18n) package, which is now deprecated.\n\n# eslint-plugin-atlassian-wrm-i18n\n\n![node version](https://img.shields.io/node/v/@atlassian/i18n-properties-loader.svg)\n![webpack peer dependency version](https://img.shields.io/npm/dependency-version/@atlassian/i18n-properties-loader/peer/webpack.svg)\n![npm downloads](https://img.shields.io/npm/dt/@atlassian/i18n-properties-loader.svg)\n\nHelps with using the Atlassian webresource-manager's I18n system\n\n## Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-atlassian-wrm-i18n`:\n\n```sh\nnpm install eslint-plugin-atlassian-wrm-i18n --save-dev\n```\n\n## Usage\n\nAdd `atlassian-wrm-i18n` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```js\nmodule.exports = {\n  // ...\n  plugins: ['atlassian-wrm-i18n'],\n};\n```\n\nThen configure the rules you want to use under the rules section.\n\n```js\nconst fg = require('fast-glob');\n\nconst { getAllPropertiesKeys } = require('eslint-plugin-atlassian-wrm-i18n');\n\n// The more specific the pattern, the slower finding the files will take\n// On a large project it's better to manually define each file\nconst i18nKeys = getAllPropertiesKeys(\n  fg.sync('**/src/**/*.properties', { dot: false, caseSensitiveMatch: false, onlyFiles: true }),\n);\n\nmodule.exports = {\n  // ...\n  rules: {\n    'atlassian-wrm-i18n/first-argument-is-a-string-literal': 'error',\n    'atlassian-wrm-i18n/i18n-key-starts-with-a-project-prefix': [\n      'error',\n      {\n        defaultPrefix: 'jira.gh.', // Will be suggested\n        prefixes: ['jira.frontend.'], // (optional) Additional valid prefixes\n      },\n    ],\n    'atlassian-wrm-i18n/matching-i18n-key-in-properties-file': ['error', i18nKeys],\n  },\n};\n```\n\n## Supported Rules\n\n- [first-argument-is-a-string-literal](docs/rules/first-argument-is-a-string-literal.md)\n- [i18n-key-starts-with-project-prefix](docs/rules/i18n-key-starts-with-a-project-prefix.md)\n- [matching-i18n-key-in-properties-file](docs/rules/matching-i18n-key-in-properties-file.md)\n\n## Minimum requirements\n\nThis plugin is tested against, and only supports:\n\n- ESlint 8+\n- Node 14+\n","readmeFilename":"README.md"}