Browse Source

chore(js): Add comment to js-sdk-loader eslint config (#47340)

Evan Purkhiser 1 year ago
parent
commit
1d07fe72af
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .eslintrc.js

+ 3 - 0
.eslintrc.js

@@ -43,6 +43,9 @@ module.exports = {
       rules: {},
       rules: {},
     },
     },
     {
     {
+      // We specify rules explicitly for the sdk-loader here so we do not have
+      // eslint ignore comments included in the source file, which is consumed
+      // by users.
       files: ['**/js-sdk-loader.ts'],
       files: ['**/js-sdk-loader.ts'],
       rules: {
       rules: {
         'no-console': 'off',
         'no-console': 'off',