fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #375 from hey-api/fix/eslint-not-fixing-output

fix: eslint properly fixes output

authored by

Jordan Shatford and committed by
GitHub
5d500bf2 26a8914b

+8 -5
+5
.changeset/clean-cobras-learn.md
··· 1 + --- 2 + "@hey-api/openapi-ts": patch 3 + --- 4 + 5 + fix: eslint properly fixes output
+3 -5
packages/openapi-ts/src/index.ts
··· 34 34 } 35 35 } 36 36 37 - if (config.lint) { 38 - if (dependencies.eslint) { 39 - console.log('✨ Running ESLint'); 40 - sync('eslint', [config.output, '--fix', '--quiet', '--ignore-path', './.eslintignore']); 41 - } 37 + if (config.lint && dependencies.eslint) { 38 + console.log('✨ Running ESLint'); 39 + sync('eslint', [config.output, '--fix']); 42 40 } 43 41 }; 44 42