update solhint command to 6.x config customization syntax
This commit is contained in:
committed by
ernestognw
parent
51eec1a9cd
commit
b8bb17d46a
@ -19,8 +19,9 @@
|
||||
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
|
||||
"lint:js": "prettier --log-level warn --ignore-path .gitignore '**/*.{js,ts}' --check && eslint .",
|
||||
"lint:js:fix": "prettier --log-level warn --ignore-path .gitignore '**/*.{js,ts}' --write && eslint . --fix",
|
||||
"lint:sol": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --check && solhint '{contracts,test}/**/*.sol'",
|
||||
"lint:sol": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --check && npm run solhint",
|
||||
"lint:sol:fix": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --write",
|
||||
"solhint": "solhint --config solhint.config.js --noPoster '{contracts,test}/**/*.sol'",
|
||||
"clean": "hardhat clean && rimraf build contracts/build",
|
||||
"prepack": "scripts/prepack.sh",
|
||||
"generate": "scripts/generate/run.js",
|
||||
@ -100,7 +101,7 @@
|
||||
],
|
||||
"*.sol": [
|
||||
"prettier --log-level warn --ignore-path .gitignore --check",
|
||||
"solhint"
|
||||
"solhint --config solhint.config.js --noPoster"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user