{"_id":"@boristype/eslint-plugin","name":"@boristype/eslint-plugin","dist-tags":{"latest":"0.1.0-alpha.5"},"versions":{"0.1.0-alpha.5":{"name":"@boristype/eslint-plugin","version":"0.1.0-alpha.5","description":"ESLint plugin with custom rules for BorisType/BorisScript development","main":"build/index.js","types":"build/index.d.ts","keywords":["eslint","eslintplugin","eslint-plugin","boristype","borisscript"],"author":{"name":"punkhomov"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/BorisType/BorisType.git"},"bugs":{"url":"https://github.com/BorisType/BorisType/issues"},"homepage":"https://github.com/BorisType/BorisType#readme","publishConfig":{"access":"public"},"engines":{"node":">=22.0.0"},"peerDependencies":{"eslint":">=9.0.0"},"devDependencies":{"@types/eslint":"^9.0.0","@types/node":"^24.7.2","eslint":"^9.0.0","typescript":"^5.9.2","@typescript-eslint/parser":"^8.0.0"},"scripts":{"build":"tsc","dev":"tsc --watch","test":"node --test build/**/*.test.js"},"_id":"@boristype/eslint-plugin@0.1.0-alpha.5","_integrity":"sha512-Tq7lKZISGO4DSgA3zxOHinVo4zSJYwSEhdAhZQE1rd+5piLM6rLvshH8sUa1TZXuqQLnjlWvpiE91Gkxw/M33Q==","_resolved":"C:\\Users\\vomoh\\AppData\\Local\\Temp\\2491cca6e8fd4c1a4cf69fbc0e622188\\boristype-eslint-plugin-0.1.0-alpha.5.tgz","_from":"file:boristype-eslint-plugin-0.1.0-alpha.5.tgz","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-Tq7lKZISGO4DSgA3zxOHinVo4zSJYwSEhdAhZQE1rd+5piLM6rLvshH8sUa1TZXuqQLnjlWvpiE91Gkxw/M33Q==","shasum":"92a492b55ac8db185dabfe860433d0a2d150985f","tarball":"https://registry.npmjs.org/@boristype/eslint-plugin/-/eslint-plugin-0.1.0-alpha.5.tgz","fileCount":39,"unpackedSize":45783,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC0u2XgjJc+qp4IzollcalQ/+m7Hw/4aJ+O2d8/18T7HwIhAJAarDWn603TbJCljvZMi3aTLPnDsle1KCCINDiul4tx"}]},"_npmUser":{"name":"punkhomov","email":"punkhomov@gmail.com"},"directories":{},"maintainers":[{"name":"punkhomov","email":"punkhomov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-plugin_0.1.0-alpha.5_1773077116981_0.5488490107732336"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-09T17:25:16.903Z","0.1.0-alpha.5":"2026-03-09T17:25:17.130Z","modified":"2026-03-09T17:25:17.327Z"},"maintainers":[{"name":"punkhomov","email":"punkhomov@gmail.com"}],"description":"ESLint plugin with custom rules for BorisType/BorisScript development","homepage":"https://github.com/BorisType/BorisType#readme","keywords":["eslint","eslintplugin","eslint-plugin","boristype","borisscript"],"repository":{"type":"git","url":"git+https://github.com/BorisType/BorisType.git"},"author":{"name":"punkhomov"},"bugs":{"url":"https://github.com/BorisType/BorisType/issues"},"license":"MIT","readme":"# @boristype/eslint-plugin\n\nESLint плагин с кастомными правилами для разработки на BorisType/BorisScript.\n\n## Описание\n\nBorisScript — это ограниченное подмножество JavaScript с собственными ограничениями платформы. Этот плагин помогает выявлять неподдерживаемые конструкции ещё на этапе написания TypeScript-кода, до транспиляции.\n\n## Установка\n\n```bash\nnpm install --save-dev @boristype/eslint-plugin\n```\n\n## Конфигурация\n\n### Flat Config (ESLint 9+)\n\n```js\n// eslint.config.js\nimport boristypePlugin from \"@boristype/eslint-plugin\";\nimport tsParser from \"@typescript-eslint/parser\";\n\nexport default [\n  {\n    files: [\"src/**/*.ts\"],\n    languageOptions: {\n      parser: tsParser,\n    },\n    plugins: {\n      \"@boristype\": boristypePlugin,\n    },\n    rules: {\n      \"@boristype/no-async-await\": \"error\",\n      \"@boristype/no-generators\": \"error\",\n      \"@boristype/no-prototype\": \"error\",\n      \"@boristype/no-class-declaration\": \"error\",\n    },\n  },\n];\n```\n\n## Правила\n\n| Правило                                                      | Описание                         | Рекомендовано |\n| ------------------------------------------------------------ | -------------------------------- | ------------- |\n| [no-async-await](./docs/rules/no-async-await.md)             | Запрещает async/await            | ✅            |\n| [no-generators](./docs/rules/no-generators.md)               | Запрещает генераторы и yield     | ✅            |\n| [no-prototype](./docs/rules/no-prototype.md)                 | Запрещает prototype в любом виде | ✅            |\n| [no-class-declaration](./docs/rules/no-class-declaration.md) | Запрещает объявление классов     | ✅            |\n\n## Разработка\n\n### Сборка\n\n```bash\npnpm run build\n```\n\n### Тестирование\n\n```bash\npnpm test\n```\n","readmeFilename":"README.md","_rev":"1-82b70dff9ef1c968f0095bb5f6257b6d"}