logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

.eslintrc.js (680B)


  1. module.exports = {
  2. root: true,
  3. parserOptions: {
  4. parser: '@babel/eslint-parser',
  5. sourceType: 'module'
  6. },
  7. // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
  8. extends: [
  9. 'standard',
  10. 'plugin:vue/recommended'
  11. ],
  12. // required to lint *.vue files
  13. plugins: [
  14. 'vue'
  15. ],
  16. // add your custom rules here
  17. rules: {
  18. // allow paren-less arrow functions
  19. 'arrow-parens': 0,
  20. // allow async-await
  21. 'generator-star-spacing': 0,
  22. // allow debugger during development
  23. 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
  24. 'vue/require-prop-types': 0,
  25. 'vue/multi-word-component-names': 0
  26. }
  27. }