Activate Linting for Typescript
Bug Description
npm run lint
.
Files are not linting when running $ Instead, the following is output to the console:
standard *.ts
.
Alternatively, files are not linting when running $ In this case, nothing is being output to the console.
Expected Behavior
Should be seeing results of linter having been run.
Possible Source
Steps to Reproduce the Bug
- Option A: from root of bridger, run linting command: $
npm run lint
- Option B: with standard installed globally, and with the proper parser and plugin installed, try running $
standard *.ts
Possible Solution
- maybe look into using a typescript linter (e.g., es-lint) directly, instead of trying to run standardjs along with es-lint parser and plugin.
Links, Screenshots, Logs
StandardJS docs regarding Typescript
Edited by Michiya