@typescript-eslint/rule-tester 8.11.0 → 8.11.1-alpha.1

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.
@@ -141,7 +141,7 @@ function formatErrors(errors) {
141
141
  * @throws {Error} For any config invalid per the schema.
142
142
  */
143
143
  function validateConfigSchema(config, source) {
144
- validateSchema ||= ajv.compile(flat_config_schema_1.flatConfigSchema);
144
+ validateSchema ??= ajv.compile(flat_config_schema_1.flatConfigSchema);
145
145
  if (!validateSchema(config)) {
146
146
  throw new Error(`ESLint configuration in ${source} is invalid:\n${formatErrors(
147
147
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/rule-tester",
3
- "version": "8.11.0",
3
+ "version": "8.11.1-alpha.1",
4
4
  "description": "Tooling to test ESLint rules",
5
5
  "files": [
6
6
  "dist",
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
50
50
  "dependencies": {
51
- "@typescript-eslint/typescript-estree": "8.11.0",
52
- "@typescript-eslint/utils": "8.11.0",
51
+ "@typescript-eslint/typescript-estree": "8.11.1-alpha.1",
52
+ "@typescript-eslint/utils": "8.11.1-alpha.1",
53
53
  "ajv": "^6.12.6",
54
54
  "json-stable-stringify-without-jsonify": "^1.0.1",
55
55
  "lodash.merge": "4.6.2",
@@ -62,7 +62,7 @@
62
62
  "@jest/types": "29.6.3",
63
63
  "@types/json-stable-stringify-without-jsonify": "^1.0.2",
64
64
  "@types/lodash.merge": "4.6.9",
65
- "@typescript-eslint/parser": "8.11.0",
65
+ "@typescript-eslint/parser": "8.11.1-alpha.1",
66
66
  "chai": "^4.4.1",
67
67
  "eslint-visitor-keys": "^4.0.0",
68
68
  "espree": "^10.0.1",