Angular 13 custom TypeScript rules

Angular 13 custom TypeScript rules

File: tsconfig.json "compilerOptions": { "allowSyntheticDefaultImports": true, "noImplicitAny": true, "esModuleInterop": true, "strictPropertyInitialization": false, // to keep backward compatibility "strictNullChecks": false // to keep backward compatibility }
read more
Individual TSLint rules for subdirectory

Individual TSLint rules for subdirectory

In case you want to have different TSLint rules for a subdirectory, for example a different Angular component selector rule, you just need 2 steps to achieve this. Create a tslint.json in your subdirectory root. Extend from the deafult tslint.json...
read more
Simple Loading Stack with Ionic 3

Simple Loading Stack with Ionic 3

This is a simple Angular Service which handles multiple ionic 3 loaders at the same time. The most recent loader is displayed on top. If it is finished, and other loaders are still pending, the next recent will be shown....
read more
Separate Module for Angular Material Modules

Separate Module for Angular Material Modules

If you are using Angular Material in your website or app, you can create a separate module for importing all material modules separated from your app.module.ts to avoid getting your code unreadable. Be aware, that you should only import that...
read more