Use Prettier for JS files (#3913)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -29,7 +29,7 @@ const argv = require('yargs/yargs')()
|
||||
mode: {
|
||||
alias: 'compileMode',
|
||||
type: 'string',
|
||||
choices: [ 'production', 'development' ],
|
||||
choices: ['production', 'development'],
|
||||
default: 'development',
|
||||
},
|
||||
ir: {
|
||||
@ -46,8 +46,7 @@ const argv = require('yargs/yargs')()
|
||||
alias: 'coinmarketcapApiKey',
|
||||
type: 'string',
|
||||
},
|
||||
})
|
||||
.argv;
|
||||
}).argv;
|
||||
|
||||
require('@nomiclabs/hardhat-truffle5');
|
||||
require('hardhat-ignore-warnings');
|
||||
@ -106,7 +105,7 @@ if (argv.gas) {
|
||||
outputFile: argv.gasReport,
|
||||
coinmarketcap: argv.coinmarketcap,
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
if (argv.coverage) {
|
||||
require('solidity-coverage');
|
||||
|
||||
Reference in New Issue
Block a user