No TSLint file in downloaded version
Hi there
I don't see the tslint file in the Angular downloaded version (latest, demo3). Could you give me that file to start linting the code for my project with your template?
Thank you.
Replies (4)
Hi, thanks for checking on the configuration files! It's likely you don't see the TSLint file (tslint.json) because TSLint has been officially deprecated in favor of ESLint for modern Angular projects. We recommend setting up your project with an ESLint configuration instead, as it is the current standard for code linting in Angular. If you still require the TSLint file, you might find an older version in the theme's history, but moving to ESLint is the best long-term solution.
Hi,
We don't have tslint file in our project, we have eslint instead (Angular CLI created it).
Regards,
Keenthemes support
Yes, because I found this guide in your documentation
tslint.json Linting configuration for TSLint together with Codelyzer, used when running ng lint. Linting helps keep your code style consistent.
Anyway, do you make any custom rules for Metronic?
Thank you
We are going to stay with the rules which were set up by default when you are creating a project with Angular CLI. Users can use any custom rules they wanted, there are no any restrictions, cause it's just a preference.
Regards,
Keenthemes support