Files
alfresco-content-app/.eslintrc.e2e.json
T
Adam Świderski 19270e256c [ACS-10956] Update eslint configuration for all automated tests related files (#4991)
* [ACS-10956] ACS-10956 updates eslint for more files

* [ACS-10956] eslint update

* Revert package-lock.json changes

* Revert package-lock.json to develop version

* testing eslint changes 1

* [ACS-10956] updated eslint for e2e folder

* [ACS-10956] added eslint for aca-playwright-shared file

* Sync package-lock.json with develop

* [ACS-10956] eslint e2e now uses playwright and angular plugin.

* [ACS-10956] changed error to warn for no-angular-material-selectors

* [ACS-10956] two rules turned off for aca-playwright-shared

* [ACS-10956] reverted changes for spec files

* [ACS-10956] changed back to error

* [ACS-10956] first eslint fixes

* [ACS-10956] more eslint fixes

* [ACS-10956] more eslint fixes pt 23

* [ACS-10956] last lintfix fixes

* [ACS-10956] sonar fixes 1

* [ACS-10956] reverted package-lock.json

* [ACS-10956] test fixes after the eslint changes 1

* [ACS-10956] sonar fix2

* [ACS-10956] test fixes after eslint update 24
2026-01-30 15:23:48 +01:00

38 lines
1.5 KiB
JSON

{
"extends": ["plugin:playwright/playwright-test"],
"plugins": ["@alfresco/eslint-angular"],
"rules": {
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"max-lines": "off",
"@alfresco/eslint-angular/no-angular-material-selectors": "error",
"no-empty-pattern": "off",
"playwright/expect-expect": "off",
"playwright/max-nested-describe": "off",
"playwright/missing-playwright-await": "error",
"playwright/no-conditional-expect": "off",
"playwright/no-conditional-in-test": "off",
"playwright/no-duplicate-hooks": "error",
"playwright/no-element-handle": "warn",
"playwright/no-eval": "warn",
"playwright/no-focused-test": "error",
"playwright/no-force-option": "warn",
"playwright/no-nested-step": "warn",
"playwright/no-networkidle": "warn",
"playwright/no-page-pause": "error",
"playwright/no-raw-locators": "warn",
"playwright/no-skipped-test": "error",
"playwright/no-standalone-expect": "error",
"playwright/no-unsafe-references": "warn",
"playwright/no-useless-await": "warn",
"playwright/no-useless-not": "warn",
"playwright/no-wait-for-selector": "warn",
"playwright/no-wait-for-timeout": "off",
"playwright/prefer-web-first-assertions": "off",
"playwright/valid-describe-callback": "warn",
"playwright/valid-expect": "warn",
"playwright/valid-expect-in-promise": "off",
"playwright/valid-title": "off"
}
}