@checkdigit/eslint-plugin 6.6.0-PR.75-4a28 → 6.6.0-PR.75-aede

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/src/index.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  import addUrlDomain, { ruleId as addUrlDomainRuleId } from './agent/add-url-domain';
10
+ import agentTestWiring, { ruleId as agentTestWiringRuleId } from './agent/agent-test-wiring';
10
11
  import fetchResponseBodyJson, { ruleId as fetchResponseBodyJsonRuleId } from './agent/fetch-response-body-json';
11
12
  import fetchResponseHeaderGetter, {
12
13
  ruleId as fetchResponseHeaderGetterRuleId,
@@ -77,6 +78,7 @@ export default {
77
78
  [noUnusedServiceVariablesRuleId]: noUnusedServiceVariables,
78
79
  [noUnusedImportsRuleId]: noUnusedImports,
79
80
  [fixFunctionCallArgumentsRuleId]: fixFunctionCallArguments,
81
+ [agentTestWiringRuleId]: agentTestWiring,
80
82
  },
81
83
  configs: {
82
84
  all: {
@@ -110,6 +112,7 @@ export default {
110
112
  [`@checkdigit/${noUnusedServiceVariablesRuleId}`]: 'off',
111
113
  [`@checkdigit/${noUnusedImportsRuleId}`]: 'off',
112
114
  [`@checkdigit/${fixFunctionCallArgumentsRuleId}`]: 'off',
115
+ [`@checkdigit/${agentTestWiringRuleId}`]: 'off',
113
116
  // --- agent rules END ---
114
117
  },
115
118
  },
@@ -147,6 +150,12 @@ export default {
147
150
  [`@checkdigit/${fixFunctionCallArgumentsRuleId}`]: 'error',
148
151
  },
149
152
  },
153
+ {
154
+ files: ['*.spec.ts'],
155
+ rules: {
156
+ [`@checkdigit/${agentTestWiringRuleId}`]: 'error',
157
+ },
158
+ },
150
159
  ],
151
160
  },
152
161
  'agent-phase-2-production': {