Browse Source

adding no-console rule in pioneer eslintrc

seems needs to be added explicitly for eslint plugin in VSCode to work
Mokhtar Naamani 4 years ago
parent
commit
4a8ebfd7ac
1 changed files with 4 additions and 1 deletions
  1. 4 1
      pioneer/.eslintrc.js

+ 4 - 1
pioneer/.eslintrc.js

@@ -15,7 +15,10 @@ module.exports = {
     '@typescript-eslint/camelcase': 'off',
     'react/prop-types': 'off',
     'new-cap': 'off',
-    '@typescript-eslint/interface-name-prefix': 'off'
+    '@typescript-eslint/interface-name-prefix': 'off',
+    // why only required in VSCode!?!? is eslint plugin not working like eslint commandline?
+    // Or are we having to add this because of new versions of eslint-config-* ?
+    'no-console': 'off',
   },
   // isolate pioneer from monorepo eslint rules
   root: true