interfaceFoo{name: string;}interfaceFoo{name: string;}interfaceBar{age: number;}// valid because extending multiple interfaces can be used instead of a union type
interfaceBazextendsFoo,Bar{}interfaceFoo{name: string;}interfaceFoo{props: string;}classBar{}
Seamless integrations. Try Datadog Code Security
Datadog Code Security
Try this rule and analyze your code with Datadog Code Security
How to use this rule
1
2
rulesets:- typescript-code-style # Rules to enforce TypeScript code style.
Create a static-analysis.datadog.yml with the content above at the root of your repository
Use our free IDE Plugins or add Code Security scans to your CI pipelines