Skip to content

Commit

Permalink
Hardhat conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
chefgonpachi committed May 13, 2021
1 parent a19c31d commit 0068e3b
Show file tree
Hide file tree
Showing 143 changed files with 709 additions and 21,577 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# don't ever lint node_modules
node_modules
# don't lint build output (make sure it's set to your correct build folder name)
dist
typechain
# don't lint nyc coverage output
coverage
11 changes: 11 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
};
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
coverage.json

# nyc test coverage
.nyc_output
Expand Down Expand Up @@ -97,13 +98,18 @@ package-lock.json

hardhat.config.js

package.json

node_modules

#Hardhat files
cache
artifacts
cache/
artifacts/

# Deployments
deployments/

# Typechain
typechain/

#certora temporary files
.certora*
Expand Down
4 changes: 4 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
require: "ts-node/register/files",
timeout: 20000,
};
15 changes: 15 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"avoid-suicide": "error",
"avoid-sha3": "warn",
"code-complexity": ["warn", 7],
"compiler-version": "off",
"max-states-count": ["error", 18],
"max-line-length": ["warn", 145],
"not-rely-on-time": "warn",
"quotes": ["warn", "double"],
"prettier/prettier": "off"
}
}
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

Copyright (C) 2021 Chef Gonpachi
Copyright (C) 2021 Chef Gonpachi <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -660,7 +660,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

Copyright (C) 2021 Chef Gonpachi
Copyright (C) 2021 Chef Gonpachi <[email protected]>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
Loading

0 comments on commit 0068e3b

Please sign in to comment.