Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Don't lint generated typescript declaration files #238

Merged
merged 3 commits into from
Jun 20, 2021

Conversation

hlxid
Copy link
Member

@hlxid hlxid commented Jun 17, 2021

Currently ESLint lints .ts files, including .d.ts files. This is a problem because each .ts file will generate a .d.ts file since #228. These generated files don't pass the linter because of that you currently have linting errors if you have built the project before linting. The linting action obviously wasn't affected by this because it doesn't build the project.

To fix this we need to disable linting of .d.ts files and migrate our currently manually created .d.ts files into .ts files so that they still get linted. Both of these steps are done in this PR.

@hlxid hlxid added minor Quick to implement framework Requires changes to the framework bug Something isn't working labels Jun 17, 2021
@hlxid hlxid merged commit bc0d3a4 into master Jun 20, 2021
@hlxid hlxid deleted the fix/dont-lint-declarations branch June 20, 2021 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working framework Requires changes to the framework minor Quick to implement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant