ObjectExpression()

in scripts/prettier-plugin/index.js [47:57]


    ObjectExpression(node) {
      const { properties } = node;
      properties.sort((a, b) => {
        const { key: aKey } = a;
        const { key: bKey } = b;
        if (aKey.type === 'Identifier' && bKey.type === 'Identifier') {
          return aKey.name.localeCompare(bKey.name);
        }
        return 0;
      });
    },