@openmrs/esm-billing-app 1.0.2-pre.767 → 1.0.2-pre.770
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +16 -2
- package/dist/main.js +1 -1
- package/dist/openmrs-esm-billing-app.js +1 -1
- package/dist/openmrs-esm-billing-app.js.buildmanifest.json +2 -2
- package/dist/routes.json +1 -1
- package/e2e/core/test.ts +1 -1
- package/e2e/fixtures/api.ts +1 -1
- package/e2e/support/github/Dockerfile +1 -1
- package/package.json +4 -1
- package/src/bills-table/bills-table.test.tsx +1 -1
- package/src/invoice/invoice.test.tsx +1 -1
- package/src/invoice/payments/payment-form/payment-form.test.tsx +4 -2
- package/src/invoice/payments/payments.test.tsx +2 -2
- package/src/left-panel-link.test.tsx +1 -4
package/.eslintrc
CHANGED
|
@@ -2,13 +2,27 @@
|
|
|
2
2
|
"env": {
|
|
3
3
|
"node": true
|
|
4
4
|
},
|
|
5
|
-
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
|
5
|
+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:jest-dom/recommended"],
|
|
6
|
+
"overrides": [
|
|
7
|
+
{
|
|
8
|
+
"files": ["**/*.test.tsx"],
|
|
9
|
+
"extends": ["plugin:testing-library/react"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"files": ["e2e/**/*.ts"],
|
|
13
|
+
"extends": ["plugin:playwright/recommended"],
|
|
14
|
+
"rules": {
|
|
15
|
+
"testing-library/prefer-screen-queries": "off",
|
|
16
|
+
"react-hooks/rules-of-hooks": "off"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
],
|
|
6
20
|
"parser": "@typescript-eslint/parser",
|
|
7
21
|
"parserOptions": {
|
|
8
22
|
"project": true,
|
|
9
23
|
"tsconfigRootDir": "__dirname"
|
|
10
24
|
},
|
|
11
|
-
"plugins": ["@typescript-eslint", "import", "react-hooks"],
|
|
25
|
+
"plugins": ["@typescript-eslint", "import", "jest-dom", "react-hooks", "testing-library"],
|
|
12
26
|
"root": true,
|
|
13
27
|
"rules": {
|
|
14
28
|
// The following rules need `noImplicitAny` to be set to `true` in our tsconfig. They are too restrictive for now, but should be reconsidered in future
|