{"_id":"@banyudu/eslint-plugin-i18n","name":"@banyudu/eslint-plugin-i18n","dist-tags":{"latest":"2.2.0"},"versions":{"2.2.0":{"name":"@banyudu/eslint-plugin-i18n","version":"2.2.0","description":"Internationalization's linting rules for ESLint","keywords":["eslint","eslintplugin","eslint-plugin","i18n","internationalization","l10n","localization"],"author":{"name":"chejen"},"main":"index.js","scripts":{"lint":"eslint **/*.js","lint:fix":"eslint **/*.js --fix","lint-staged":"lint-staged","test":"nyc --reporter=lcov mocha tests/**/*.js","coverage":"codecov","prepare":"husky install"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"repository":{"type":"git","url":"git+https://github.com/chejen/eslint-plugin-i18n.git"},"devDependencies":{"codecov":"^3.8.2","eslint":"^7.28.0","eslint-config-google":"~0.14.0","husky":"^6.0.0","lint-staged":"^11.0.0","mocha":"^9.0.0","nyc":"^15.1.0"},"lint-staged":{"*.js":["npm test","eslint --fix","git add"]},"engines":{"node":">=12.0.0"},"license":"MIT","_id":"@banyudu/eslint-plugin-i18n@2.2.0","gitHead":"e2942f02570481b03f9f9bc7d223ac5c40c0f968","bugs":{"url":"https://github.com/chejen/eslint-plugin-i18n/issues"},"homepage":"https://github.com/chejen/eslint-plugin-i18n#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-+V6Kvz1fGTSfx0WLEyXaYbKNCMBKa8YGZB5+qgUE3N+AXV0DdgVAStfaK0ORiaNbxBQGmpk+IgMq45Tj+6JCQQ==","shasum":"5a17995b9062505f6a9e096caa097880a8ead0df","tarball":"https://registry.npmjs.org/@banyudu/eslint-plugin-i18n/-/eslint-plugin-i18n-2.2.0.tgz","fileCount":17,"unpackedSize":18965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYFGpVMBMWaBeAWkj92s/jNzLloIBHyoQj2lxDRw31DAiAsJQ+HzwTcD+qzhIMybz2AHpu+7DLjFFDtUESQo6WdXw=="}]},"_npmUser":{"name":"banyudu","email":"banyudu@gmail.com"},"directories":{},"maintainers":[{"name":"banyudu","email":"banyudu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-i18n_2.2.0_1705152230375_0.7185146255911925"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-13T13:23:50.270Z","2.2.0":"2024-01-13T13:23:50.617Z","modified":"2024-01-13T13:23:50.888Z"},"maintainers":[{"name":"banyudu","email":"banyudu@gmail.com"}],"description":"Internationalization's linting rules for ESLint","homepage":"https://github.com/chejen/eslint-plugin-i18n#readme","keywords":["eslint","eslintplugin","eslint-plugin","i18n","internationalization","l10n","localization"],"repository":{"type":"git","url":"git+https://github.com/chejen/eslint-plugin-i18n.git"},"author":{"name":"chejen"},"bugs":{"url":"https://github.com/chejen/eslint-plugin-i18n/issues"},"license":"MIT","readme":"[![NPM License][npm-license-image]][npm-license-url]\n[![NPM Version][npm-version-image]][npm-version-url]\n[![NPM Downloads][npm-downloads-image]][npm-downloads-url]\n[![Ubuntu CI Status][github-actions-linux-image]][github-actions-linux-url]\n[![Windows CI Status][github-actions-win-image]][github-actions-win-url]\n[![Coverage Status][codecov-image]][codecov-url]\n\n[npm-license-image]: https://img.shields.io/npm/l/eslint-plugin-i18n.svg\n[npm-license-url]: https://www.npmjs.com/package/eslint-plugin-i18n\n[npm-version-image]: https://img.shields.io/npm/v/eslint-plugin-i18n.svg\n[npm-version-url]: https://www.npmjs.com/package/eslint-plugin-i18n\n[npm-downloads-image]: https://img.shields.io/npm/dt/eslint-plugin-i18n.svg\n[npm-downloads-url]: https://www.npmjs.com/package/eslint-plugin-i18n\n[github-actions-linux-image]: https://github.com/chejen/eslint-plugin-i18n/actions/workflows/linux.yml/badge.svg\n[github-actions-linux-url]: https://github.com/chejen/eslint-plugin-i18n/actions/workflows/linux.yml\n[github-actions-win-image]: https://github.com/chejen/eslint-plugin-i18n/actions/workflows/windows.yml/badge.svg\n[github-actions-win-url]: https://github.com/chejen/eslint-plugin-i18n/actions/workflows/windows.yml\n[codecov-image]: https://codecov.io/github/chejen/eslint-plugin-i18n/branch/master/graph/badge.svg?branch=master\n[codecov-url]: https://app.codecov.io/gh/chejen/eslint-plugin-i18n?branch=master\n\n\neslint-plugin-i18n\n===================\n\nESLint rules for internationalization.\n\n# Installation\n\nInstall [ESLint](https://www.github.com/eslint/eslint) as a dev-dependency:\n\n```sh\n$ npm install --save-dev eslint\n```\n\nInstall ` eslint-plugin-i18n` as a dev-dependency:\n\n```sh\n$ npm install --save-dev eslint-plugin-i18n\n```\n\n# Configuration\n\nAdd `plugins` section to your `.eslintrc` and specify eslint-plugin-i18n as a plugin:\n\n```json\n{\n  \"plugins\": [\n    \"i18n\"\n  ]\n}\n```\n\nFinally, enable the rules that you would like to use.\n\n```json\n{\n  \"rules\": {\n    \"i18n/no-chinese-character\": 1,\n    \"i18n/no-greek-character\": 1,\n    \"i18n/no-japanese-character\": 1,\n    \"i18n/no-korean-character\": 1,\n    \"i18n/no-russian-character\": 1,\n    \"i18n/no-thai-character\": 1\n  }\n}\n```\n\n\n# List of supported rules\n\n* [no-chinese-character](docs/rules/no-chinese-character.md): Prevent usage of Chinese characters.\n* [no-greek-character](docs/rules/no-greek-character.md): Prevent usage of Greek characters.\n* [no-japanese-character](docs/rules/no-japanese-character.md): Prevent usage of Japanese characters.\n* [no-korean-character](docs/rules/no-korean-character.md): Prevent usage of Korean characters.\n* [no-russian-character](docs/rules/no-russian-character.md): Prevent usage of Russian characters.\n* [no-thai-character](docs/rules/no-thai-character.md): Prevent usage of Thai characters.\n\n\n# License\n\neslint-plugin-i18n is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n\n\n# Changelog\n\n## v2.1.0 - June 17, 2021\n- Added rule options to support identifier linting.\n- Dropped the support of node < 12 for development environment (due to lint-staged and mocha)\n\n## v2.0.0 - July 4, 2020\n- Dropped support for node < 10\n- Added JSX support\n","readmeFilename":"README.md"}