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.

4 年之前
2 年之前
4 年之前
2 年之前
4 年之前
2 年之前
4 年之前
4 年之前
123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "root": true,
  3. "parser": "@babel/eslint-parser",
  4. "parserOptions": {
  5. "sourceType": "module"
  6. },
  7. "env": {
  8. "es6": true,
  9. "node": true,
  10. "browser": true
  11. },
  12. "plugins": ["prettier"],
  13. "extends": ["eslint:recommended", "plugin:prettier/recommended"],
  14. "globals": {
  15. "__namespace": false,
  16. "__cmdOut":false,
  17. "echarts": false,
  18. "mapv": false,
  19. "DC": false,
  20. "Cesium": false
  21. },
  22. "rules": {
  23. "global-require": 0,
  24. "indent": 0,
  25. "no-new": 0,
  26. "camelcase": 0,
  27. "padded-blocks": 0,
  28. "no-unused-vars": 0,
  29. "no-trailing-spaces": 0,
  30. "no-mixed-spaces-and-tabs": 0,
  31. "space-before-function-paren": [0, "always"],
  32. "no-multiple-empty-lines": 0,
  33. "no-prototype-builtins": 0,
  34. "no-loss-of-precision":0
  35. }
  36. }