mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5290] create eslint rule to ensure components use none value for encapsulation (#8585)
* ACS-5290 Create rule which prevent using different encapsulation in components than None * ACS-5290 Added documentation * ACS-5290 Updated scripts * ACS-5290 Updated documentation * ACS-5290 Added autofix * ACS-5290 Formated code * ACS-5290 Fixed lint - removed redundant comma * ACS-5290 Renaming * ACS-5290 Renaming
This commit is contained in:
@@ -51,6 +51,7 @@ A few other pages of information are also available:
|
||||
- [Process Services Cloud API](#process-services-cloud-api)
|
||||
- [Extensions API](#extensions-api)
|
||||
- [Insights API](#insights-api)
|
||||
- [ESLint Angular API](#eslint-angular-api)
|
||||
|
||||
## User guide
|
||||
|
||||
@@ -596,3 +597,19 @@ for more information about installing and using the source code.
|
||||
<!--insights end-->
|
||||
|
||||
[(Back to Contents)](#contents)
|
||||
|
||||
## ESLint Angular API
|
||||
|
||||
Contains all custom rules used by ESLint.
|
||||
|
||||
<!--eslint-angular start-->
|
||||
|
||||
### Rules
|
||||
|
||||
| Name | Description | Source link |
|
||||
|--------------------------------------------------------------------------------------------------------|-------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|
|
||||
| [Use none component view encapsulation](eslint-angular/rules/use-none-component-view-encapsulation.md) | Enforces using ViewEncapsulation.None for components. | [Source](../lib/eslint-angular/src/rules/use-none-component-view-encapsulation/use-none-component-view-encapsulation.ts) |
|
||||
|
||||
<!--eslint-angular end-->
|
||||
|
||||
[(Back to Contents)](#contents)
|
||||
|
Reference in New Issue
Block a user