
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@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
The npm package @zohodesk/eslint-plugin-architecturerules receives a total of 48 weekly downloads. As such, @zohodesk/eslint-plugin-architecturerules popularity was classified as not popular.
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.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.