27 Commits

Author SHA1 Message Date
DominikIwanek
709e65aae2 Angular 18 upgrade 2025-04-28 08:10:12 +02:00
Mykyta Maliarchuk
09636b377d
[ACS-9211] Update license headers (#4372) 2025-02-04 12:11:48 +01:00
MichalKinas
f5ca67cc25
[ACS-9042] Introduce Crowdin related workflows and Crowdin config (#4281)
* [ACS-9042] Introduce Crowdin related workflows and Crowdin config

* [ACS-9042] Proper checkout action version
2024-12-05 10:30:03 +01:00
MichalKinas
cacc4149fa
[ACS-8956] Add new ESLint rule for self-closing tags (#4211) 2024-10-31 09:54:23 +01:00
Adam Świderski
cbbb733551
[ACS-4894] [E2E] Added new e2e for update folder rules (#3929)
* [ACS-4892] [E2E] Created new tests for adding folder rules

* [ACS-4892] deleted the unused if enum

* [ACS-4894] Added update folder rules tests

* [ACS-4894] sonar fix 1

* [ACS-4894] sonar fix 2

* [ACS-4894] sonar fix 3

* [ACS-4894] review fixes 1

* [ACS-4894] review fixes 2

* [ACS-4894] review fixes 3

* [ACS-4894] comments deleted

* [ACS-4894] eslint fix
2024-07-16 13:21:05 +02:00
Adam Świderski
147fca0036
[ACS-8062] [E2E] Playwright eslint turned back on (#3877) 2024-06-07 14:05:18 +02:00
Adam Świderski
7c92f39127
[ACS-5016] [E2E] delete actions migrated to playwright (#3868)
* [ACS-5016] [E2E] delete actions migrated to playwright

* [ACS-5016] sonar fix 1

* [ACS-5016] sonar fix 2

* [ACS-5016] upload.effects.spec.ts reverted

* [ACS-5016] upload-file.test.ts reverted

* [ACS-5016] review fix 1
2024-06-04 10:54:30 +02:00
tomson
dd8f97afc1
[MNT-24034] Display updated properties after edit folder in dialog (#3671) 2024-04-11 09:38:42 +02:00
Adam Świderski
0cac392bdc
[ACS-7304] [E2E] beforeEach and afterAll hooks updated for special permissions tests (#3753)
* [ACS-7304] beforeEach and afterAll hooks updated for special permissions tests

* [ACS-7304] readded hruser and admin to config
2024-04-09 14:59:16 +02:00
Grzegorz Jaśkowski
4408eb4489
[ACS-7311] add no-angular-material-selectors eslint rule (#3732)
* [ACS-7311] add no-angular-material-selectors rule, fix errors

* [ACS-7311] fix faulty unit tests
2024-04-04 16:45:06 +02:00
Adam Świderski
d9391bef51
[ACS-7453] updated license header to 2024 (#3747)
* [ACS-7453] updated license header to 2024

* [ACS-7453] Updated the rest of licenses manually to 2024

* [ACS-7453] review changes
2024-03-29 12:35:49 +01:00
Adam Świderski
132ce1f75e
[ACS-7451] playwright eslint plugin introduced (#3746) 2024-03-29 11:42:58 +01:00
MichalKinas
69c00fc403
Sonarcloud issues fixes (#3499)
* Sonarcloud issues fixes

* Code smell fixes

* Refactoring to remove new code duplications

* Sonarcloud code smell fixes part I

* Sonarcloud code smell fixes part II

* Missing code smell fix

* Add new ESLint rules to cover fixed SonarCloud issues

* Add missing command

* Add missing is existing check
2023-11-03 06:43:06 -04:00
Denys Vuika
18542ebf8b
migrate to nx 16 (#3465)
* migrate to nx 16

* lock file
2023-10-05 12:12:54 -04:00
Denys Vuika
9106608398
ESLint fixes and unified lint targets (#3424)
* optimise lint targets

* fix eslint config files

* fix app coverage settings

* tune eslint to warn about optional chains
2023-09-08 09:00:00 +01:00
AleksanderSklorz
cc13551d2f
[ACA-4709] ensure all components have encapsulation set to none (#3271)
* ACA-4709 Added use-none-component-view-encapsulation eslint rule and correct part of components

* ACA-4709 More changes for encapsulation

* ACA-4709 Installed eslint-plugin-eslint-angular dependency

* ACA-4709 Corrected rest places with did not use none encapsulation

* ACA-4709 Exclude process inline templates plugin from spec files
2023-06-13 12:38:41 +02:00
swapnil-verma-gl
d125fe5ff9
[ACS-5088] Replaced function calls in templates with variable references (#3227)
* [ACS-5088] Replaced method calls in templates with variables

* [ACS-5088] Replaced method calls in templates with variables

* [ACS-5088] Replaced method calls for *ngIf and *ngFor with variables - Batch 1 (WIP)

* [ACS-5088] Replaced method calls for *ngIf and *ngFor with variables - Batch 2 (WIP)

* [ACS-5088] Replaced instances of $any with cast pipe. Replaced other instances of method calls in templates with variables

* [ACS-5088] Resolved test cases

* [ACS-5088] Resolved test cases in aca-content library

* [ACS-5088] Resolved test cases in aca-shared library

* [ACS-5088] Resolved test cases in aca-folder-rules library

* [ACS-5088] Reverted usage of cast pipe to $any()

* [ACS-5088] Fixed incorrect revert

* [ACS-5088] Resolved code review findings - shortened expressions and made onDestroy subjects use void instead of boolean

* [ACS-5088] Resolved code review findings - changed parameter name in sort function

* [ACS-5088] Resolved code review findings - added 'void' type to onDestroy subjects

* [ACS-5088] Upgraded eslint version to 8.41.0. Added "@angular-eslint/template/no-call-expression" rule to prevent function calls in templates unless needed (reports warnings)

* [ACS-5088] Resolved typo in ToggleFavoriteComponent
2023-06-06 04:32:19 -04:00
Mykyta Maliarchuk
5eeb57c1e9
[ACA-4711] ACA: Enable checking accessibility in eslint (#3231)
* [ACA-4711] updated  @angular-eslint/eslint-plugin-template

* [ACA-4711] removed deprecated rules

* [ACA-4711] removed comma

* [ACA-4711] resolve accessibility issues
2023-05-25 08:07:51 -04:00
Denys Vuika
fd495f6e95
code cleanup (#3210)
* code cleanup

* rollback changes

* remove dead code

* remove debug app config

* cleanup unused locales

* no-unused-vars rule

* test fixes and cleanup

* remove unnecessary translate modules
2023-05-22 08:23:35 +01:00
MichalKinas
5fa5ac4117
[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
Nikita Maliarchuk
7245e994c5
[ACS-4959] Update license headers to reflect Hyland Copyright Guidelines (#3115)
* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
2023-04-13 04:32:30 -04:00
Denys Vuika
86c0bbb998
[ACS-4837] eslint spellcheck support (#3072)
* eslint spellcheck support

* restore node memory settings for linting
2023-03-17 05:31:23 -04:00
Denys Vuika
fa68c6fcf4
Angular 13 upgrade (#2493)
* upgrade to Angular 13

* upgrade datetime picker libs

* upgrade to eslint 13

* fix eslint issues

* downgrade datetime picker

* fix scss builds

* use proper node version on travis

* fix e2e check

* fix test run

* upgrade ngrx to 13

* use latest ADF 5.x

* add missing ban plugin for eslint

* use latest ADF 5.x branch

* use latest ADF 5.x

* use latest ADF

* sync libs with adf and apps

* Updating to the right version of mat-datetime-picker

* Fix Test Suites: Search - AAE-10222

* Satisfy linter

* upgrade to adf 5.0.0-angular.13

* upgrade adf to 5.0.0-angular.13.1

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-08-09 18:39:25 +01:00
Pablo Martinez Garcia
1b61687a1d
Add eslint ban rule (#2517) 2022-05-05 14:06:36 +02:00
Vito
31d677c12d
Removing eslint react weird plugin (#2483)
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-03-29 15:05:07 +01:00
Vito
965c640318
Added missing template rules and rxjs packages (#2439) 2022-02-10 10:49:32 +00:00
Vito
23262d0949
[AAE-7101] - Introduced Eslint to ACA and added some fix to avoid errors (#2424)
* Conversion to ESlint

* Fixed ESLINT for ACA

* [AAE-6638] - typo in eslint file

* [AAE-6638] - attempt to fix problem on linting

* Check caching to improve lint speed

* Improved eslint for content-app

* Added new cache

* Remove cache file

* Removed eslintcache

* Attempt to make eslint run on travis

* Slow ng lint on travis

* Fixed eslint error
2022-02-09 08:40:04 +00:00