.lib.eslintrc 651 B

123456789101112131415161718192021222324252627
  1. {
  2. "extends": ["eslint:recommended", "plugin:node/recommended"],
  3. "env": {
  4. "browser": true
  5. },
  6. "rules": {
  7. "node/no-deprecated-api": "off",
  8. "no-console": "off",
  9. "no-unused-vars": "off",
  10. "no-empty": "off",
  11. "node/no-unsupported-features/node-builtins": "off",
  12. "no-func-assign": "off",
  13. "no-global-assign": ["error", {"exceptions": ["exports"]}],
  14. "no-fallthrough": "off",
  15. "no-constant-condition": "off",
  16. "node/no-exports-assign": "off",
  17. "no-unsafe-finally": "off"
  18. },
  19. "overrides": [
  20. {
  21. "files": [ "lib/client.js" ],
  22. "globals": {
  23. "ActiveXObject": "readable"
  24. }
  25. }
  26. ]
  27. }