UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

8 lines (6 loc) 310 B
// Prettier offers a clean way to define ignored properties. const ignoredProperties = new Set(['loc', 'range', 'comments']); // eslint-disable-next-line @typescript-eslint/no-empty-function function clean(/* ast, newObj, parent */): void {} clean.ignoredProperties = ignoredProperties; export default clean;