Some breaking change in prettier 3.0.0 (published to npm 3 days ago) made make format return errors:
[error] No parser could be inferred for file "atomic-swap/ethereum/block/testdata/UTContract.sol".
[error] No parser could be inferred for file "atomic-swap/ethereum/contracts/AggregatorV3Interface.sol".
[error] No parser could be inferred for file "atomic-swap/ethereum/contracts/TestERC20.sol".
[error] No parser could be inferred for file "atomic-swap/ethereum/contracts/Secp256k1.sol".
[error] No parser could be inferred for file "atomic-swap/ethereum/contracts/SwapCreator.sol".
This PR updates the checks github workflow (and the documentation) to use prettier@2.8.8 instead of prettier's latest stable version.
Some breaking change in prettier 3.0.0 (published to npm 3 days ago) made
make format
return errors:This PR updates the checks github workflow (and the documentation) to use
prettier@2.8.8
instead of prettier's latest stable version.