logo

pleroma-fe

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

eslint.config.mjs (787B)


  1. import vue from "eslint-plugin-vue";
  2. import js from "@eslint/js";
  3. import globals from "globals";
  4. export default [
  5. ...vue.configs['flat/recommended'],
  6. js.configs.recommended,
  7. {
  8. files: ["**/*.js", "**/*.mjs", "**/*.vue"],
  9. ignores: ["build/*.js", "config/*.js"],
  10. languageOptions: {
  11. ecmaVersion: 2024,
  12. sourceType: "module",
  13. parserOptions: {
  14. parser: "@babel/eslint-parser",
  15. },
  16. globals: {
  17. ...globals.browser,
  18. ...globals.mocha,
  19. ...globals.chai,
  20. ...globals.commonjs,
  21. ...globals.serviceworker
  22. }
  23. },
  24. rules: {
  25. 'arrow-parens': 0,
  26. 'generator-star-spacing': 0,
  27. 'no-debugger': 0,
  28. 'vue/require-prop-types': 0,
  29. 'vue/multi-word-component-names': 0,
  30. }
  31. }
  32. ]