gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
995B

  1. /////////////////////////////////////////////////////////////
  2. //
  3. // pgAdmin 4 - PostgreSQL Tools
  4. //
  5. // Copyright (C) 2013 - 2020, The pgAdmin Development Team
  6. // This software is released under the PostgreSQL Licence
  7. //
  8. //////////////////////////////////////////////////////////////
  9. module.exports = {
  10. 'env': {
  11. 'browser': true,
  12. 'es6': true,
  13. 'amd': true,
  14. 'jasmine': true,
  15. },
  16. 'extends': [
  17. 'eslint:recommended',
  18. ],
  19. 'parserOptions': {
  20. 'ecmaVersion': 2018,
  21. 'sourceType': 'module',
  22. },
  23. 'plugins': [
  24. ],
  25. 'globals': {
  26. '_': true,
  27. 'module': true,
  28. },
  29. 'rules': {
  30. 'indent': [
  31. 'error',
  32. 2
  33. ],
  34. 'linebreak-style': 0,
  35. 'quotes': [
  36. 'error',
  37. 'single'
  38. ],
  39. 'semi': [
  40. 'error',
  41. 'always'
  42. ],
  43. 'comma-dangle': [
  44. 'error',
  45. 'always-multiline'
  46. ],
  47. 'no-console': ["error", { allow: ["warn", "error"] }],
  48. // We need to exclude below for RegEx case
  49. "no-useless-escape": 0,
  50. },
  51. };
上海开阖软件有限公司 沪ICP备12045867号-1