No Description
node-js
query-builder
postgresql
mysql
sqlite
sql
promises
async

.eslintrc 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "env": {
  3. "commonjs": true,
  4. "es6": true,
  5. "jest": true,
  6. "node": true
  7. },
  8. "extends": ["eslint:recommended", "happiness"],
  9. "rules": {
  10. "arrow-parens": ["error", "as-needed"],
  11. "callback-return": ["warn"],
  12. "constructor-super": ["error"],
  13. "curly" : ["error", "multi-line"],
  14. "no-case-declarations": "off",
  15. "no-console": ["warn"],
  16. "no-constant-condition": ["warn"],
  17. "no-dupe-args": ["error"],
  18. "no-dupe-class-members": ["error"],
  19. "no-dupe-keys": ["error"],
  20. "no-eval": ["error"],
  21. "no-extra-semi": ["warn"],
  22. "no-func-assign": ["warn"],
  23. "no-implied-eval": ["error"],
  24. "no-invalid-this": ["error"],
  25. "no-irregular-whitespace": ["warn"],
  26. "no-new-func": ["error"],
  27. "no-new-wrappers": ["error"],
  28. "no-obj-calls": ["error"],
  29. "no-this-before-super": ["error"],
  30. "no-unexpected-multiline" : ["error"],
  31. "no-unneeded-ternary": ["error"],
  32. "no-unreachable": ["warn"],
  33. "no-var": ["error"],
  34. "no-with": ["error"],
  35. "object-shorthand": ["warn", "methods"],
  36. "prefer-arrow-callback": ["warn"],
  37. "prefer-template": ["warn"],
  38. "radix": ["error"],
  39. "strict": ["error", "global"],
  40. "valid-jsdoc": ["warn"]
  41. },
  42. "parser": "babel-eslint"
  43. }