-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
- Loading branch information
1 parent
772abf6
commit f03a803
Showing
13 changed files
with
546 additions
and
564 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const eslint = require("@eslint/js"); | ||
const tseslint = require("typescript-eslint"); | ||
const eslintConfigPrettier = require("eslint-config-prettier"); | ||
/* eslint-enable @typescript-eslint/no-var-requires */ | ||
|
||
module.exports = tseslint.config( | ||
{ | ||
files: ["**/*.{js,ts}"], | ||
extends: [ | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...tseslint.configs.stylistic, | ||
eslintConfigPrettier, | ||
], | ||
plugins: { | ||
"@typescript-eslint": tseslint.plugin, | ||
}, | ||
languageOptions: { | ||
ecmaVersion: "latest", | ||
parser: tseslint.parser, | ||
parserOptions: { | ||
project: true, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ignores: [ | ||
"node_modules/**", | ||
"interface/**", | ||
"lib/**", | ||
"cache/**", | ||
"typechain-types/**", | ||
"artifacts/**", | ||
"forge-artifacts/**", | ||
"coverage/**", | ||
"bin/**", | ||
"out/**", | ||
], | ||
}, | ||
); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const eslint = require("@eslint/js"); | ||
const tseslint = require("typescript-eslint"); | ||
const next = require("@next/eslint-plugin-next"); | ||
const react = require("eslint-plugin-react"); | ||
const reactHooks = require("eslint-plugin-react-hooks"); | ||
const eslintConfigPrettier = require("eslint-config-prettier"); | ||
/* eslint-enable @typescript-eslint/no-var-requires */ | ||
|
||
module.exports = tseslint.config( | ||
{ | ||
files: ["**/*.{js,ts,tsx}"], | ||
extends: [ | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...tseslint.configs.stylistic, | ||
eslintConfigPrettier, | ||
], | ||
plugins: { | ||
"@typescript-eslint": tseslint.plugin, | ||
"@next/next": next, | ||
react: react, | ||
"react-hooks": reactHooks, | ||
}, | ||
rules: { | ||
...next.configs.recommended.rules, | ||
...react.configs["jsx-runtime"].rules, | ||
...reactHooks.configs.recommended.rules, | ||
}, | ||
languageOptions: { | ||
ecmaVersion: "latest", | ||
parser: tseslint.parser, | ||
parserOptions: { | ||
project: true, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ignores: ["node_modules/**", ".next/**", "next-env.d.ts", "dist/**"], | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule forge-std
updated
3 files
+1 −1 | src/StdJson.sol | |
+51 −33 | src/mocks/MockERC20.sol | |
+46 −32 | src/mocks/MockERC721.sol |
Submodule openzeppelin-contracts
updated
23 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.