Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eslint does not work with *.ts files #3

Open
distante opened this issue Jun 27, 2021 · 0 comments
Open

eslint does not work with *.ts files #3

distante opened this issue Jun 27, 2021 · 0 comments

Comments

@distante
Copy link

I saw that eslint is hard coded to search for javascript files:

let politeEsLintHook = new PoliteHook(eslinter, /\.js$/);

This means, projects working with eslint and typescript (like angular projects) do not get any linting.

Maybe a config object can be set on package.json or a polite-linter.json file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant