Skip to content

Add tsc and eslint to pre-commit#9131

Merged
balloob merged 2 commits intodevfrom
add-precommit
May 7, 2021
Merged

Add tsc and eslint to pre-commit#9131
balloob merged 2 commits intodevfrom
add-precommit

Conversation

@bramkragten
Copy link
Copy Markdown
Member

Proposed change

Add tsc and eslint to pre-commit

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@@ -0,0 +1,5 @@
module.exports = {
"*.ts": () => "tsc -p tsconfig.json",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"*.ts": () => "tsc -p tsconfig.json",
"*.ts": () => "tsc -p tsconfig.json --noEmit",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is already in our tsconfig right?

@balloob balloob merged commit 83cabca into dev May 7, 2021
@balloob balloob deleted the add-precommit branch May 7, 2021 22:07
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants