dreipol/pandora

View on GitHub
eslint/eslint-vue.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
  extends: ['plugin:vue/recommended', 'plugin:prettier/recommended'],
  rules: {
    'vue/attributes-order': [
      'error',
      {
        order: [
          'OTHER_ATTR',
          'DEFINITION',
          'LIST_RENDERING',
          'CONDITIONALS',
          'RENDER_MODIFIERS',
          'OTHER_DIRECTIVES',
          'GLOBAL',
          'UNIQUE',
          'TWO_WAY_BINDING',
          'EVENTS',
          'CONTENT',
        ],
      },
    ],
    'vue/order-in-components': [
      'error',
      {
        order: [
          'el',
          'name',
          'parent',
          'functional',
          'delimiters',
          'comments',
          'components',
          'directives',
          'filters',
          'extends',
          'mixins',
          'inheritAttrs',
          'provide',
          'inject',
          'model',
          'props',
          'propsData',
          'data',
          'computed',
          'methods',
          'watch',
          'LIFECYCLE_HOOKS',
          'events',
          'template',
          'render',
          'renderError',
        ],
      },
    ],
  },
}