Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. eslint:
  2. module.exports = {
  3. root: true,
  4. env: {
  5. node: true,
  6. },
  7. extends: ['plugin:vue/essential', '@vue/airbnb', '@vue/prettier'],
  8. parserOptions: {
  9. parser: 'babel-eslint',
  10. },
  11. rules: {
  12. 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  13. 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  14. },
  15. };
  16.  
  17.  
  18. prettier:
  19. {
  20. "singleQuote": true,
  21. "trailingComma": "all",
  22. "printWidth": 100,
  23. "tabWidth": 3
  24. }
  25.  
  26. package.json:
  27.  
  28. {
  29. "name": "test",
  30. "version": "0.1.0",
  31. "private": true,
  32. "scripts": {
  33. "serve": "vue-cli-service serve",
  34. "build": "vue-cli-service build",
  35. "lint": "vue-cli-service lint"
  36. },
  37. "dependencies": {
  38. "axios": "^0.19.2",
  39. "core-js": "^3.6.4",
  40. "register-service-worker": "^1.6.2",
  41. "vue": "^2.6.11",
  42. "vue-router": "^3.1.5",
  43. "vuex": "^3.1.2"
  44. },
  45. "devDependencies": {
  46. "@vue/cli-plugin-babel": "^4.2.0",
  47. "@vue/cli-plugin-eslint": "^4.2.0",
  48. "@vue/cli-plugin-pwa": "^4.2.0",
  49. "@vue/cli-plugin-router": "^4.2.0",
  50. "@vue/cli-plugin-vuex": "^4.2.0",
  51. "@vue/cli-service": "^4.2.0",
  52. "@vue/eslint-config-airbnb": "^5.0.2",
  53. "@vue/eslint-config-prettier": "^6.0.0",
  54. "babel-eslint": "^10.0.3",
  55. "eslint": "^6.7.2",
  56. "eslint-plugin-import": "^2.20.1",
  57. "eslint-plugin-prettier": "^3.1.2",
  58. "eslint-plugin-vue": "^6.1.2",
  59. "prettier": "^1.19.1",
  60. "sass": "^1.25.0",
  61. "sass-loader": "^8.0.2",
  62. "vue-template-compiler": "^2.6.11"
  63. }
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement