Metis portal provides a user-friendly frontend for the Metis API which is written in Vue.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
529 B

4 years ago
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. 'extends': [
  7. 'plugin:vue/essential',
  8. 'eslint:recommended'
  9. ],
  10. parserOptions: {
  11. parser: 'babel-eslint'
  12. },
  13. rules: {
  14. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  15. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
  16. },
  17. overrides: [
  18. {
  19. files: [
  20. '**/__tests__/*.{j,t}s?(x)',
  21. '**/tests/unit/**/*.spec.{j,t}s?(x)'
  22. ],
  23. env: {
  24. jest: true
  25. }
  26. }
  27. ]
  28. }