overmindbots / core

Core monorepo with our apps and packages
1 stars 0 forks source link

Fix tslint config #149

Open monitz87 opened 6 years ago

monitz87 commented 6 years ago

Running tslint through the CLI throws the following warnings:

No valid rules have been specified for JavaScript files
Warning: member-ordering - Bad member kind: public-before-private

The first one is because in packages/tsconfig.base.json we have set allowJs: true but there are no jsRules specified.

The second one is because the member-ordering rule has changed in the newer tslint versions, and we are using deprecated members. New rule: https://palantir.github.io/tslint/rules/member-ordering/