UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

14 lines 460 B
// Prettier offers a clean way to define ignored properties. const ignoredProperties = new Set([ 'loc', 'range', 'comments', // this function is defined at constructor time so it won't pass AST // comparisons. 'isEmpty' ]); // eslint-disable-next-line @typescript-eslint/no-empty-function function clean( /* ast, newObj, parent */) { } clean.ignoredProperties = ignoredProperties; export default clean; //# sourceMappingURL=clean.js.map