File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/code-analyzer-eslint-engine/src Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,13 @@ export class LegacyBaseConfigFactory {
2828
2929 return {
3030 globals : {
31- // Mark $A as known global for Aura: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_jsapi_dollarA.htm
32- "$A" : "readonly" ,
31+ // Mark variables as known globals for Aura
32+ "$A" : "readonly" , // See: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_jsapi_dollarA.htm
33+ "$Browser" : "readonly" , // See: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/expr_source.htm
34+ "$ContentAsset" : "readonly" , // ^
35+ "$Label" : "readonly" , // ^
36+ "$Locale" : "readonly" , // ^
37+ "$Resource" : "readonly" // ^
3338 } ,
3439 overrides : overrides
3540 } ;
You can’t perform that action at this time.
0 commit comments