.eslintrc.js 406 B

1234567891011121314151617181920
  1. module.exports = {
  2. globals: {
  3. __webpack_nonce__: true,
  4. __webpack_public_path__: true,
  5. _: true,
  6. $: true,
  7. moment: true,
  8. escapeHTML: true,
  9. oc_userconfig: true,
  10. dayNames: true,
  11. firstDay: true,
  12. },
  13. extends: ['@nextcloud'],
  14. rules: {
  15. 'no-tabs': 'warn',
  16. // TODO: make sure we fix this as this is bad vue coding style.
  17. // Use proper sync modifier
  18. 'vue/no-mutating-props': 'warn',
  19. },
  20. }