full: true
plugins:
  - cleanupAttrs
  - cleanupNumericValues:
      floatPrecision: 4
      leadingZero: false
  - convertColors:
      names2hex: true
      rgb2hex: true
      shorthex: false
      shortname: false
  - convertStyleToAttrs
  - inlineStyles
  - removeAttrs:
      attrs:
        - 'data-name'
        - 'xml.space'
        - 'svg:enable-background'
        - 'svg:x'
        - 'svg:y'
        - 'svg:width'
        - 'svg:height'
  - removeComments
  - removeDesc
  - removeEmptyText
  - removeMetadata
  - removeTitle
  - removeUnusedNS
  - removeUselessDefs
  - removeXMLProcInst
  - sortAttrs:
     order: [
       'id',
       'x', 'x1', 'x2', 'cx',
       'y', 'y1', 'y2', 'cy',
       'r', 'rx', 'ry',
       'width', 'height',
       'transform',
       'fill', 'fill-opacity', 'fill-rule',
       'stroke', 'stroke-dasharray', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-width',
       'opacity',
       'points', 'd',
       'viewBox',
       'overflow',
       'paint-order',
       'version',
       'xmlns',
     ]
     xmlnsOrder: 'back'
js2svg:
  pretty: true
  indent: '  '
