Skip to content

Commit 7676a91

Browse files
committed
--fix should respect --quiet
1 parent 7595d8a commit 7676a91

3 files changed

Lines changed: 191 additions & 191 deletions

File tree

gradlew.bat

Lines changed: 94 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/eslint/src/executors/lint/lint.impl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ Please see https://nx.dev/recipes/tips-n-tricks/eslint for full guidance on how
170170
);
171171
}
172172

173-
// output fixes to disk, if applicable based on the options
174-
await ESLint.outputFixes(lintResults);
175-
176173
// if quiet, only show errors
177174
if (normalizedOptions.quiet) {
178175
console.debug('Quiet mode enabled - filtering out warnings\n');
179176
lintResults = ESLint.getErrorResults(lintResults);
180177
}
181178

179+
// output fixes to disk, if applicable based on the options
180+
await ESLint.outputFixes(lintResults);
181+
182182
const formatter = await eslint.loadFormatter(normalizedOptions.format);
183183

184184
const formattedResults = await formatter.format(lintResults);

packages/react-native/src/generators/application/files/app/android/gradlew.bat

Lines changed: 94 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)