Airbnb TS Lint with Ionic 4

Hi,

I am trying to implement this linter https://www.npmjs.com/package/tslint-config-airbnb with ionic 4…

It was really simple and straightforward with Ionic 3 however with Ionic 4 it just does not work.

Basically I have created a new blank ionic app.

Ran this command “npm install tslint-config-airbnb --save-dev”

and added ’ “extends”: “tslint-config-airbnb” ’ to tslint.json in the beginning of the json file.

If I run “ng lint” from terminal I will get

Cannot find module ‘typescript’
Error: Cannot find module ‘typescript’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
at Function.Module._load (internal/modules/cjs/loader.js:535:25)
at Module.require (internal/modules/cjs/loader.js:663:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/greatestuser/Documents/Learning/Ionic/node_modules/tslint-consistent-codestyle/rules/objectShorthandPropertiesFirstRule.js:4:10)
at Module._compile (internal/modules/cjs/loader.js:734:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:745:10)
at Module.load (internal/modules/cjs/loader.js:626:32)
at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
at Function.Module._load (internal/modules/cjs/loader.js:558:3)

Any idea where could the issue be or how could I debug it?

Thank You for any suggestions, have a great day.