@fluidframework/azure-end-to-end-tests 2.74.0 → 2.81.0

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.cjs DELETED
@@ -1,64 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- const importInternalModulesAllowedForTest = [
7
- // Allow import of Fluid Framework external API exports.
8
- "@fluidframework/*/{beta,alpha,legacy}",
9
- "fluid-framework/{beta,alpha,legacy}",
10
-
11
- // Allow import of Fluid Framework non-production test-utils APIs.
12
- "@fluidframework/*/test-utils",
13
-
14
- // Allow imports from sibling and ancestral sibling directories,
15
- // but not from cousin directories. Parent is allowed but only
16
- // because there isn't a known way to deny it.
17
- "*/index.js",
18
-
19
- // Should `telemetry-utils` provide support through `/test-utils` instead of `/internal`?
20
- "@fluidframework/telemetry-utils/internal",
21
-
22
- // Should `test-*utils` provide support through `/test-utils` instead of `/internal`?
23
- "@fluidframework/test-utils/internal",
24
- "@fluidframework/test-runtime-utils/internal",
25
- ];
26
-
27
- module.exports = {
28
- extends: [require.resolve("@fluidframework/eslint-config-fluid"), "prettier"],
29
- rules: {
30
- "prefer-arrow-callback": "off",
31
- "@typescript-eslint/strict-boolean-expressions": "off", // requires strictNullChecks=true in tsconfig
32
-
33
- // #region TODO: remove these once this config has been updated to use our "recommended" base instead of our deprecated minimal one.
34
- "@typescript-eslint/consistent-type-exports": [
35
- "error",
36
- { fixMixedExportsWithInlineTypeSpecifier: true },
37
- ],
38
- "@typescript-eslint/consistent-type-imports": [
39
- "error",
40
- { fixStyle: "inline-type-imports" },
41
- ],
42
- "@typescript-eslint/no-import-type-side-effects": "error",
43
- // #endregion
44
- },
45
- overrides: [
46
- {
47
- // Rules only for test files
48
- files: ["*.spec.ts", "*.test.ts", "**/test/**"],
49
- rules: {
50
- // Some deprecated APIs are permissible in tests; use `warn` to keep them visible
51
- "import-x/no-deprecated": "warn",
52
- "import-x/no-internal-modules": [
53
- "error",
54
- {
55
- allow: importInternalModulesAllowedForTest,
56
- },
57
- ],
58
- },
59
- },
60
- ],
61
- parserOptions: {
62
- project: ["./src/test/tsconfig.json"],
63
- },
64
- };