@zohodesk/eslint-plugin-architecturerules
v0.0.4
Published
architecture rules
Downloads
487
Maintainers
Keywords
Readme
| Name | Description
| :----------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| import-dependencies-rule | Outer layer methods and objects should not used in inner layer.
| spinal-case-folder-rule | Enforce folder name to be in spinal-case (kebab-case).
| pascal-case-file-rule | Enforce file name to be in PascalCase.
| no-external-library-rule | No External library used in Specific layers.
| no-comments-rule | Disallow comments in source code.
| no-unused-vars | Variables that are declared and not used anywhere in the code.
| no-returnStatement-rule | Only return void.
| exceed-lineCode-rule | Exceed Code Line.
| no-defaultProps-rule | Disallow direct modification of props in React components. error.
| should-implement-rule | Ensure classes either directly or indirectly implement the UseCase interface.
| no-businessLogic-rule | Ensure That there is no Business logic .
| define-property-schema | Define property schema.
| snake-case-identifier | Identifier should be SNAKE_CASE.
| type-should-be-constant | Type should be CONSTANT.
| path-alias-rule | Avoid path alias.
| no-nested-rule | Enforce specifying rules to disable in eslint-disable
comments.
| single-factory-rule | Single Factory Pattern.
| no-react-hooksUsed-rule | Remove react Hooks in View Layer.
| define-contract-schema-rule | Define property contract schema properly. Avoid any or object type.
| method-not-invoke | Ensure That there is violated method not invoked.
| avoid-deprecated-method | Avoid Using Deprecated Method"
| avoid-local-state | Should have init method to create or update state. Avoid reassigning, manipulate or update state without native methods