[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:
AleksanderSklorz
2023-06-02 08:04:50 +02:00
committed by GitHub
parent 959f20b3a5
commit 86e9f3f22e
16 changed files with 357 additions and 8 deletions

View File

@@ -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)