Linting & Code Style

Last updated 7 months ago

FoalTS comes up with a pre configuration for the linter TSLint.

TSLint is an extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.

Source: https://palantir.github.io/tslint/‚Äč

This configuration is stored in the json file tslint.json.

You can run the linting with this command:

npm run lint