Best Practice |
Rules to warn if best practices are not used.
Index
Rule | Description | Type | Severity |
---|---|---|---|
SPF059801: React component files should have correct extension | Files defining React components should have either the .jsx or .tsx extension | Src | Warning |
SPF059802: Specify TypeScript linting rules | Specify TypeScript linting rules to use when verifying TypeScript code | Project | Error |
SPF059803: File that doesn't define React component shouldn't use the .jsx/.tsx extension | File that doesn't define React component shouldn't use the .jsx/.tsx extension | Src | Warning |
SPF059804: Project should list its dependencies in package.json or as external resources | Project should list the packages it depends on in the package.json file or as external resources | Project | Error |
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.