diff --git a/.editorconfig b/.editorconfig index b45ed774d..e885a65c4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,7 +6,12 @@ root = true [*] charset = utf-8 end_of_line = lf -indent_size = 2 indent_style = space insert_final_newline = true trim_trailing_whitespace = true + +[*.sol] +indent_size = 4 + +[*.js] +indent_size = 2 diff --git a/contracts/token/ERC20/ERC20.sol b/contracts/token/ERC20/ERC20.sol index 5f4de3758..81f434925 100644 --- a/contracts/token/ERC20/ERC20.sol +++ b/contracts/token/ERC20/ERC20.sol @@ -217,7 +217,7 @@ contract ERC20 is IERC20 { } /** - * @dev Destoys `amount` tokens from `account`.`amount` is then deducted + * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. diff --git a/scripts/coverage.sh b/scripts/coverage.sh index ceb215def..8a8e68176 100755 --- a/scripts/coverage.sh +++ b/scripts/coverage.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -o errexit + SOLIDITY_COVERAGE=true scripts/test.sh if [ "$CI" = true ]; then