tsfmt 0.2.1 → 0.2.2
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.
|
@@ -138,6 +138,16 @@ class FormatterPipeline {
|
|
|
138
138
|
dryRun
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
+
if (this.config.skipReactFiles && /\.(tsx|jsx)$/.test(filePath)) {
|
|
142
|
+
return {
|
|
143
|
+
filePath,
|
|
144
|
+
originalSource,
|
|
145
|
+
currentSource: originalSource,
|
|
146
|
+
executions: [],
|
|
147
|
+
changed: false,
|
|
148
|
+
dryRun
|
|
149
|
+
};
|
|
150
|
+
}
|
|
141
151
|
const context = {
|
|
142
152
|
filePath,
|
|
143
153
|
originalSource,
|