You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/API.md
+58-2Lines changed: 58 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -64,13 +64,13 @@ if (result.status !== ResultStatus.Succeeded) {
64
64
65
65
> See the provided `.d.ts` TypeScript typings for full descriptions of inputs and outputs.
66
66
67
-
## Standalone API
67
+
## Standalone Lint Conversion API
68
68
69
69
> ⚠ This area of code is still considered experimental.
70
70
> Use at your own risk.
71
71
> Please file an issue on GitHub if you'd like to see changes.
72
72
73
-
Portions of the individual steps within `convertTSLintConfig` are each available as exported functions as well.
73
+
Portions of the individual lint conversion steps within `convertTSLintConfig` are each available as exported functions as well.
74
74
75
75
***[`findOriginalConfigurations`](#findOriginalConfigurations)** takes in an object of original configuration locations and retrieves their raw and computed contents.
76
76
***[`findReportedConfiguration`](#findReportedConfiguration)** runs a config print command and parses its output as JSON.
@@ -136,3 +136,59 @@ const raw = joinConfigConversionResults(summarizedConfiguration, originalConfigu
If running alongside a lint config conversion, pass the filled out `ruleEquivalents` map for more accurate conversions of TSLint rules whose ESLint equivalents change on different arguments:
0 commit comments