A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/typescript-eslint/typescript-eslint/issues/8554 below:

[rule-tester] support multipass fixes · Issue #8554 · typescript-eslint/typescript-eslint · GitHub

Before You File a Proposal Please Confirm You Have Done The Following... Relevant Package

utils

My proposal is suitable for this project Description

eslint/eslint#18007 was rejected as a breaking change enhancement.

Given this impacts us directly (eg #8251) we should build this into our fork.

I propose the following changes:

  1. if the test case has output and the output value is a string and the test case requires more than 1 pass to fix then the test case fails with a message like "test requires multiple fixes to resolve due to overlapping fix ranges - please use the array form of output to declare all of the expected fix passes".
  2. accept an array for output which declares the expected fix passes for a test case.
Additional Info

No response

rubiesonthesky, auvred, JoshuaKGoldberg, StyleShit, armano2 and 2 morekirkwaiblinger


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4