Skip to content

Commit

Permalink
Pre-run tsc before linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Apr 22, 2024
1 parent 37112aa commit bd75691
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ build-plugin-transform-runtime-dist:
watch:
$(MAKEJS) watch

code-quality: tscheck
$(MAKEJS) lint
code-quality: lint

tscheck:
$(MAKEJS) tscheck
Expand Down
4 changes: 2 additions & 2 deletions Makefile.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Makefile.source.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ target["clone-license"] = function () {
*/

target["lint"] = function () {
// Pre-run tscheck, otherwise typescript-eslint
// will run it by itsels
target["tscheck"]();
env(
() => {
yarn(EslintArgs);
Expand Down

0 comments on commit bd75691

Please sign in to comment.