Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. {
  2. "extends": [
  3. "eslint:recommended",
  4. "plugin:vue/recommended"
  5. ],
  6. "env": {
  7. "amd": true,
  8. "browser": true,
  9. "es6": true,
  10. "jquery": true,
  11. "node": true
  12. },
  13. "parser": "vue-eslint-parser",
  14. "parserOptions": {
  15. "parser": "babel-eslint",
  16. "sourceType": "module",
  17. "allowImportExportEverywhere": true
  18. },
  19. "globals": {
  20. "dashboard": "writable",
  21. "_": "readonly"
  22. },
  23. "rules": {
  24. "linebreak-style": ["error", "unix"],
  25. "semi": ["error", "always"],
  26. "radix": ["error", "always"],
  27. "yoda": ["error"],
  28. "no-shadow": ["error"],
  29. "no-use-before-define": ["error"],
  30. "no-cond-assign": ["error", "always"],
  31. "no-eval": ["error"],
  32. "no-eq-null": ["error"],
  33. "no-else-return": ["error"],
  34. "no-empty-function": ["error"],
  35. "no-extend-native": ["error"],
  36. "no-implicit-coercion": ["error"],
  37. "no-implicit-globals": ["error"],
  38. "no-implied-eval": ["error"],
  39. "no-invalid-this": ["warn"],
  40. "no-lone-blocks": ["error"],
  41. "no-loop-func": ["error"],
  42. "no-return-assign": ["error"],
  43. "no-script-url": ["error"],
  44. "no-self-compare": ["error"],
  45. "no-sequences": ["error"],
  46. "no-unmodified-loop-condition": ["error"],
  47. "no-unused-expressions": ["error"],
  48. "no-useless-return": ["error"],
  49. "no-multi-spaces": ["error"],
  50. "no-with": ["error"],
  51. "no-warning-comments": ["off"],
  52. "no-param-reassign": ["warn"],
  53. "no-debugger": ["warn"],
  54. "no-alert": ["warn"],
  55. "no-console": "off",
  56. "array-bracket-spacing": ["error", "never"],
  57. "comma-dangle": ["error", "never"],
  58. "block-spacing": ["error", "never"],
  59. "brace-style": ["error", "stroustrup"],
  60. "camelcase": "off",
  61. "comma-spacing": ["error"],
  62. "comma-style": "error",
  63. "computed-property-spacing": ["error", "never"],
  64. "eol-last": ["error", "always"],
  65. "func-call-spacing": ["error", "never"],
  66. "function-paren-newline": ["error", "never"],
  67. "key-spacing": "error",
  68. "no-lonely-if": "error",
  69. "no-mixed-operators": "error",
  70. "no-multiple-empty-lines": "error",
  71. "no-nested-ternary": "error",
  72. "no-trailing-spaces": "error",
  73. "space-in-parens": ["error", "never"],
  74. "operator-linebreak": ["error", "before"],
  75. "padded-blocks": ["error", "never"],
  76. "vue/html-indent": ["error", "tab"],
  77. "vue/script-indent": [
  78. "error",
  79. "tab",
  80. {
  81. "baseIndent": 1,
  82. "switchCase": 1,
  83. "ignoreComments": true
  84. }
  85. ],
  86. "vue/html-self-closing": "off",
  87. "vue/multiline-html-element-content-newline": "off",
  88. "vue/require-component-is": "off",
  89. }
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement