
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@zohodesk/eslint-plugin-architecturerules
Advanced tools
| Name | Description |
|---|---|
| import-dependencies | The outer layer must not directly use or import functionalities from the inner layer. Interaction with the inner layer should strictly occur through defined interfaces. |
| spinal-case-folder | Enforce folder name to be in spinal-case (kebab-case)(kebab-case). |
| pascal-case-file | Enforce file name to be in PascalCase |
| no-external-library | Avoid using external libraries in layers where their use is restricted. |
| no-comments | Comments are not permitted in the source code. If comments are necessary, use block comments in the format. |
| no-unused-vars | Variables that are declared and not used anywhere in the code. |
| return-void | Function expression must return void. |
| exceed-line-code | Ensure that file length should have specific length. |
| no-defaultprops | Do not use logical expressions to initialize properties. |
| should-implement | Every class must implement or extend an interface, explicitly or implicitly. |
| no-businesslogic | Ensure That there is no Business logic . |
| define-property-schema | The declaration of a variable should specify its type explicitly, and the use of any or object should be avoided. |
| snake-case-identifier | Identifier should be SNAKE_CASE |
| type-should-be-constant | Types should always use the CONSTANT naming style. |
| path-alias | Don't use path alias in current directory files path impots. use in appropriate imports alias. |
| no-nested-property | Do not access nested properties directly. Always use destructuring to extract and use required properties. |
| single-factory | Each entity should have its own dedicated factory for creation. Avoid creating multiple entities within a single factory class or class |
| no-hook-used | React hooks must not be used or invoked directly |
| define-contract-schema | Define property contract schema properly. Avoid any or object type. |
| method-not-invoke | Ensure that violated method should not invoked |
| avoid-deprecated-method | Do not use methods or functions that are marked as deprecated |
| avoid-local-state | Do not reassign, manipulate, or update the state directly without utilizing native methods or utilities provided by the framework. |
| proper-action-definition | Should have Action Type default export |
| file-structure-validation | Should Have a Proper Folder Structure |
| proper-action-usage | Avoid using console statements in the source code. |
| destructuring-props | Proper destructure usage in jsx or tsx expression container |
| method-contract | declare method based on define contract |
| import-require | import required |
| proper-export | export properly |
FAQs
architecture rules
We found that @zohodesk/eslint-plugin-architecturerules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.