{"_id":"@bitrix24/eslint-plugin-bitrix24-rules","_rev":"6-89275e8e002c75bb646351532f09b049","name":"@bitrix24/eslint-plugin-bitrix24-rules","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@bitrix24/eslint-plugin-bitrix24-rules","version":"1.0.0","keywords":["eslint"],"author":{"name":"Bitrix24"},"license":"MIT","_id":"@bitrix24/eslint-plugin-bitrix24-rules@1.0.0","maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"dist":{"shasum":"940f07520f75ace82b6a860311c08453b193055d","tarball":"https://registry.npmjs.org/@bitrix24/eslint-plugin-bitrix24-rules/-/eslint-plugin-bitrix24-rules-1.0.0.tgz","fileCount":18,"integrity":"sha512-enhrisMpxo0BX3qpa+b4iG46HHd8ogQ2Gr6MT03BanjFAUZfjSqJR+fBGCvDRv5xQ1kKmKQYxdN57m9xNu+BNQ==","signatures":[{"sig":"MEQCIHUXYnW67ikCUiYDa3HpxQJzR5PWf40s1pB2dX1WMHJIAiBtKxaC+5W/PoPL9/AlUnN6D8KEGNeVJPEIFFuLbXPBBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13811},"main":"index.js","gitHead":"fd659e448dd5ca927153b7744bf3d49691bc516b","_npmUser":{"name":"compote2","email":"compote@gmail.com"},"repository":{"url":"git+https://github.com/bitrix24/eslint-bitrix24.git","type":"git"},"_npmVersion":"9.2.0","description":"ESLint rules for the Bitrix24 JavaScript style guide","directories":{},"_nodeVersion":"19.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-bitrix24-rules_1.0.0_1685023710437_0.3127259230412984","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bitrix24/eslint-plugin-bitrix24-rules","version":"1.0.1","keywords":["eslint"],"author":{"name":"Bitrix24"},"license":"MIT","_id":"@bitrix24/eslint-plugin-bitrix24-rules@1.0.1","maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"dist":{"shasum":"5f2f32772190f59fa100387d332e03a171221276","tarball":"https://registry.npmjs.org/@bitrix24/eslint-plugin-bitrix24-rules/-/eslint-plugin-bitrix24-rules-1.0.1.tgz","fileCount":18,"integrity":"sha512-PUyKysaVXDwI/wGKEZi8m81OWf0WaSm2KfyZksmmpRdD76vefb5rPhMGJjpaBOYAM+XKDGmrKOrBe9L8O9laTw==","signatures":[{"sig":"MEUCIFRw2AfewoNgOMgd9+GqoVPJn7lA9xQ5wVnUUBacz3qxAiEA+A8yEEbf/DhtJhz2EYREG6TCsencmajBL8UXTY7XldU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13774},"main":"index.js","gitHead":"c8c06881948df2b7dd1abc4825e78fdb8e966046","_npmUser":{"name":"compote2","email":"compote@gmail.com"},"repository":{"url":"git+https://github.com/bitrix24/eslint-bitrix24.git","type":"git"},"_npmVersion":"9.6.7","description":"ESLint rules for the Bitrix24 JavaScript style guide","directories":{},"_nodeVersion":"19.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-bitrix24-rules_1.0.1_1685456826520_0.08410554001986581","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@bitrix24/eslint-plugin-bitrix24-rules","version":"1.0.2","keywords":["eslint"],"author":{"name":"Bitrix24"},"license":"MIT","_id":"@bitrix24/eslint-plugin-bitrix24-rules@1.0.2","maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"dist":{"shasum":"46f3edbd71e7247bee70cfa4293c77d91156d874","tarball":"https://registry.npmjs.org/@bitrix24/eslint-plugin-bitrix24-rules/-/eslint-plugin-bitrix24-rules-1.0.2.tgz","fileCount":18,"integrity":"sha512-5TlJOeToHG+A70AhU5gos2/SCP/EiDFBzJRARDkJ0IKOidUAubjTmFFPMb3oDgBcbURG01uWCXO3Udq4OEzWZw==","signatures":[{"sig":"MEQCIGDGbBrf9xeJfux2vnglaX32335U8yfq9pGODlI8jEzdAiAP5NyFqPrrrt7nhoDl7vb3+6OfNxxs+1vxs4tuyEV39w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13913},"main":"index.js","gitHead":"af1bfb7b6cce03d305862e771a5f43e0922d6242","_npmUser":{"name":"compote2","email":"compote@gmail.com"},"repository":{"url":"git+https://github.com/bitrix24/eslint-bitrix24.git","type":"git"},"_npmVersion":"9.6.6","description":"ESLint rules for the Bitrix24 JavaScript style guide","directories":{},"_nodeVersion":"20.2.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-bitrix24-rules_1.0.2_1685604561140_0.14285559980901175","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@bitrix24/eslint-plugin-bitrix24-rules","version":"1.0.4","keywords":["eslint"],"author":{"name":"Bitrix24"},"license":"MIT","_id":"@bitrix24/eslint-plugin-bitrix24-rules@1.0.4","maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"dist":{"shasum":"704fcfebb097c91d7281e26698a3c4c151258336","tarball":"https://registry.npmjs.org/@bitrix24/eslint-plugin-bitrix24-rules/-/eslint-plugin-bitrix24-rules-1.0.4.tgz","fileCount":22,"integrity":"sha512-XBpJXk0Puj4Dlj4VCRFd6xOuc2GefyqaELU+aWGuAL0A9keH9oLNHjy2TIQ45ajCu0PMzk9JFHG6aAzZSdVxYA==","signatures":[{"sig":"MEYCIQCQGPolMzsnl2Of54Ev9Ehfs/dAi+VJs4ceCtZeIWTHQwIhAIKBb5UV0x4E+F8NnXDk8VVeJJGOEgxHGpYVP1446LJP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38804},"main":"index.js","gitHead":"e88f6ea2beffde82728d1c465f272c796925fc99","scripts":{"test":"mocha tests/**/*.test.js"},"_npmUser":{"name":"compote2","email":"compote@gmail.com"},"repository":{"url":"git+https://github.com/bitrix24/eslint-bitrix24.git","type":"git"},"_npmVersion":"11.7.0","description":"ESLint rules for the Bitrix24 JavaScript style guide","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^11.7.5","eslint":"^8.57.1","@babel/core":"^7.28.5","@babel/eslint-parser":"^7.28.5"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-bitrix24-rules_1.0.4_1770975309336_0.3934442831155087","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@bitrix24/eslint-plugin-bitrix24-rules","version":"1.0.5","keywords":["eslint"],"author":{"name":"Bitrix24"},"license":"MIT","_id":"@bitrix24/eslint-plugin-bitrix24-rules@1.0.5","maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"dist":{"shasum":"f44a113e62a57384ae84c41bcc056432161a278b","tarball":"https://registry.npmjs.org/@bitrix24/eslint-plugin-bitrix24-rules/-/eslint-plugin-bitrix24-rules-1.0.5.tgz","fileCount":24,"integrity":"sha512-uFxqJitg5/2QolJBSu+8eY6X3QgoFgJXbsaYpc7okMekQwVzWqDxL3AyeSHt6zbcA1EVQ2bqGTMux1aq+0ZTgA==","signatures":[{"sig":"MEUCIQDQ7lRGWzBxStjthkBlL2xeuGlX2ct9hfnXZBmlz2iBjgIgSopPa2kKn1Ck/z30hSEUmm2oN0rdRZa6upvyqDruC5c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49428},"main":"index.js","gitHead":"c58bf8f69369309dfdbb040fcba7984d3216e638","scripts":{"test":"mocha tests/**/*.test.js"},"_npmUser":{"name":"compote2","email":"compote@gmail.com"},"repository":{"url":"git+https://github.com/bitrix24/eslint-bitrix24.git","type":"git"},"_npmVersion":"11.7.0","description":"ESLint rules for the Bitrix24 JavaScript style guide","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^11.7.5","eslint":"^8.57.1","@babel/core":"^7.28.5","@babel/eslint-parser":"^7.28.5"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-bitrix24-rules_1.0.5_1773749817720_0.6637509414344067","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@bitrix24/eslint-plugin-bitrix24-rules","version":"1.0.6","description":"ESLint rules for the Bitrix24 JavaScript style guide","type":"module","main":"index.js","repository":{"type":"git","url":"git+https://github.com/bitrix24/eslint-bitrix24.git"},"keywords":["eslint"],"scripts":{"test":"mocha tests/**/*.test.js"},"author":{"name":"Bitrix24"},"license":"MIT","bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","devDependencies":{"mocha":"^11.7.5","@babel/core":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint":"^8.57.1"},"gitHead":"06873e2923f334d265ac5b1a0a7600b8378093e7","_id":"@bitrix24/eslint-plugin-bitrix24-rules@1.0.6","_nodeVersion":"22.22.1","_npmVersion":"11.12.0","dist":{"integrity":"sha512-lI2pNxKdhtaSSjBgHjOwqApsedK86VOJHCbD9heK9zkqiUJJTQqbY7J+HcfDhxv1qHQQOLywWryKxTGmq8lNyw==","shasum":"5661ff9a9cce2321aa41b022348201db216f721d","tarball":"https://registry.npmjs.org/@bitrix24/eslint-plugin-bitrix24-rules/-/eslint-plugin-bitrix24-rules-1.0.6.tgz","fileCount":24,"unpackedSize":50578,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bitrix24%2feslint-plugin-bitrix24-rules@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAvF4dDu8aN7uWgGP1p00tE1+et8BCOAgk+6Gw5keZXsAiEA/vOyKB5fZFyggr0wMApBs02To+7Sm2WT+ZtYl6TXXXQ="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7adf2c07-825e-4ebe-8a8b-0a9915ecd6a9"}},"directories":{},"maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-plugin-bitrix24-rules_1.0.6_1774007463653_0.4438490420767487"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-25T14:08:30.384Z","modified":"2026-03-20T11:51:04.094Z","1.0.0":"2023-05-25T14:08:30.584Z","1.0.1":"2023-05-30T14:27:06.715Z","1.0.2":"2023-06-01T07:29:21.297Z","1.0.4":"2026-02-13T09:35:09.498Z","1.0.5":"2026-03-17T12:16:57.848Z","1.0.6":"2026-03-20T11:51:03.784Z"},"bugs":{"url":"https://github.com/bitrix24/eslint-bitrix24/issues"},"author":{"name":"Bitrix24"},"license":"MIT","homepage":"https://github.com/bitrix24/eslint-bitrix24#readme","keywords":["eslint"],"repository":{"type":"git","url":"git+https://github.com/bitrix24/eslint-bitrix24.git"},"description":"ESLint rules for the Bitrix24 JavaScript style guide","maintainers":[{"name":"compote2","email":"compote@gmail.com"},{"name":"vovkabelov","email":"i@vovkabelov.ru"}],"readme":"# @bitrix24/eslint-plugin-bitrix24-rules\n\nCustom ESLint rules for the Bitrix24 JavaScript style guide.\n\nCompatible with ESLint 8 and ESLint 9.\n\n## Installation\n\n```bash\nnpm install --save-dev @bitrix24/eslint-plugin-bitrix24-rules\n```\n\nThis plugin is included automatically when using [@bitrix24/eslint-config-bitrix24](https://github.com/bitrix24/eslint-bitrix24/tree/main/packages/eslint-config-bitrix24). Manual installation is only needed if you want to use the rules independently.\n\n## Rules\n\n| Rule | Description |\n|------|-------------|\n| `brace-on-same-line` | Enforce brace placement per construct type (Allman, 1TBS, or per-node) |\n| `need-alias` | Require Bitrix extension aliases for imports |\n| `no-bx` | Disallow direct usage of the `BX` global |\n| `no-bx-message` | Disallow `BX.message()` |\n| `no-classlist` | Disallow direct `classList` manipulation |\n| `no-eventemitter-without-namespace` | Require namespace for event emitter subscriptions |\n| `no-io-without-polyfill` | Disallow IO operations without polyfill |\n| `no-jsdd` | Disallow `jsDD` usage |\n| `no-native-dialogs` | Disallow native browser dialogs (`alert`, `confirm`, `prompt`) |\n| `no-native-dom-methods` | Disallow native DOM manipulation methods |\n| `no-native-events-binding` | Disallow native event binding |\n| `no-nil-compare` | Disallow loose comparison with `null`/`undefined` |\n| `no-private` | Disallow private class fields |\n| `no-pseudo-private` | Disallow underscore-prefixed pseudo-private properties |\n| `no-short-class-property` | Disallow short class property syntax |\n| `no-style` | Disallow direct `style` property manipulation |\n| `no-typeof` | Disallow `typeof` checks |\n| `prefer-inline-type-imports` | Prefer inline `type` keyword in imports |\n| `sort-imports` | Enforce Bitrix24 import ordering convention |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}