UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

7 lines (5 loc) 239 B
// Prettier offers a clean way to define ignored properties. const ignoredProperties = new Set(['loc', 'range', 'comments']); function clean(/* ast, newObj, parent */) {} clean.ignoredProperties = ignoredProperties; export default clean;