vara,b,c,d=0;vara=1;varb=2;varc=3;vard=0;vara=1+(b===10?5 : 4);consta=1,b=2,c=3;consta=1;constb=2;constc=3;for(vara=0,b=0;;){}for(leta=0,b=0;;){}for(consta=0,b=0;;){}exportleta,b;exportleta,b=0;// ignore non declaration option not supported
// const x = {};const y = {};x.one = y.one = 1;
// let a, b;a = b = 1
classC{[foo=0]=0}
Seamless integrations. Try Datadog Code Analysis
Datadog Code Analysis
Try this rule and analyze your code with Datadog Code Analysis
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 Analysis scans to your CI pipelines