Skip to content

Commit

Permalink
remove unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeyTM committed Feb 9, 2023
1 parent 471a70f commit 5a9b9a3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions config/eslint/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
"@typescript-eslint",
],
rules: {
"@nomiclabs/only-hardhat-plugin-error": "off",
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": [
"error",
Expand Down Expand Up @@ -92,7 +91,7 @@ module.exports = {
},
{
selector: ["objectLiteralProperty"],
format: null
format: null,
},
{
selector: ["objectLiteralMethod"],
Expand Down Expand Up @@ -138,9 +137,12 @@ module.exports = {
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"@typescript-eslint/restrict-template-expressions": ["error", {
allowAny: true,
}],
"@typescript-eslint/restrict-template-expressions": [
"error",
{
allowAny: true,
},
],
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
Expand Down Expand Up @@ -220,8 +222,11 @@ module.exports = {
},
],
"use-isnan": "error",
"no-restricted-imports": ["error", {
patterns: ["hardhat/src", "@nomiclabs/*/src"]
}],
"no-restricted-imports": [
"error",
{
patterns: ["hardhat/src", "@nomiclabs/*/src"],
},
],
},
};

0 comments on commit 5a9b9a3

Please sign in to comment.