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.

66 lines
1.8 KiB

5 months ago
  1. {
  2. "root": true,
  3. "env": {
  4. "browser": true,
  5. "node": true,
  6. "vue/setup-compiler-macros": true,
  7. "es2021": true
  8. },
  9. "globals": {
  10. "defineEmits": "readonly",
  11. "defineProps": "readonly",
  12. "defineExpose": "readonly"
  13. },
  14. "parser": "vue-eslint-parser",
  15. "extends": [
  16. "eslint:recommended",
  17. "plugin:vue/vue3-recommended",
  18. "plugin:@typescript-eslint/recommended",
  19. "plugin:prettier/recommended",
  20. "prettier",
  21. "./.eslintrc-auto-import.json"
  22. ],
  23. "parserOptions": {
  24. "ecmaVersion": 12,
  25. "parser": "@typescript-eslint/parser",
  26. "sourceType": "module",
  27. "ecmaFeatures": {
  28. "jsx": true
  29. }
  30. },
  31. "plugins": ["vue", "@typescript-eslint", "prettier"],
  32. "rules": {
  33. "no-explicit-any": "off",
  34. "@typescript-eslint/ban-ts-ignore": "off",
  35. "@typescript-eslint/no-unused-vars": "off",
  36. "@typescript-eslint/explicit-function-return-type": "off",
  37. "@typescript-eslint/no-explicit-any": "off",
  38. "@typescript-eslint/no-var-requires": "off",
  39. "@typescript-eslint/no-empty-function": "off",
  40. "@typescript-eslint/no-use-before-define": "off",
  41. "@typescript-eslint/ban-ts-comment": "off",
  42. "@typescript-eslint/ban-types": "off",
  43. "@typescript-eslint/no-non-null-assertion": "off",
  44. "@typescript-eslint/explicit-module-boundary-types": "off",
  45. "no-var": "error",
  46. "prettier/prettier": "error",
  47. "vue/multi-word-component-names": 0,
  48. "camelcase": 2,
  49. "consistent-this": [2, "that"],
  50. "eqeqeq": 2,
  51. "no-await-in-loop": 0,
  52. "consistent-return": 0,
  53. "no-plusplus": 0,
  54. "no-unused-expressions": 0,
  55. "operator-linebreak": 0,
  56. "comma-dangle": [
  57. 2,
  58. {
  59. "arrays": "ignore",
  60. "objects": "ignore",
  61. "imports": "never",
  62. "exports": "never",
  63. "functions": "ignore"
  64. }
  65. ]
  66. }
  67. }