UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

11 lines (10 loc) 204 B
export const FileLevelConstant = { print: ({ node, path, print }) => [ path.call(print, 'typeName'), ' constant ', node.name, ' = ', path.call(print, 'initialValue'), ';' ] };