Skip to content

Commit 93f9e12

Browse files
authored
feat: update to recent versions of hardhat and relayer (#31)
* feat: update to recent versions of hardhat and relayer * fix: updated package-lock.json
1 parent 3e01a81 commit 93f9e12

File tree

5 files changed

+544
-493
lines changed

5 files changed

+544
-493
lines changed

.eslintignore

Lines changed: 0 additions & 26 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import eslint from "@eslint/js";
2+
import tseslint from "typescript-eslint";
3+
import prettier from "eslint-config-prettier";
4+
import globals from "globals";
5+
6+
export default tseslint.config(
7+
{
8+
ignores: [
9+
"fhevmTemp/**",
10+
"tmp/**",
11+
".coverage_artifacts/**",
12+
".coverage_cache/**",
13+
".coverage_contracts/**",
14+
"artifacts/**",
15+
"build/**",
16+
"cache/**",
17+
"coverage/**",
18+
"dist/**",
19+
"node_modules/**",
20+
"types/**",
21+
"*.env",
22+
"*.log",
23+
"coverage.json",
24+
],
25+
},
26+
eslint.configs.recommended,
27+
...tseslint.configs.recommended,
28+
prettier,
29+
{
30+
files: ["**/*.js"],
31+
languageOptions: {
32+
globals: {
33+
...globals.node,
34+
},
35+
},
36+
},
37+
{
38+
files: ["**/*.ts"],
39+
languageOptions: {
40+
parserOptions: {
41+
project: "./tsconfig.json",
42+
},
43+
},
44+
rules: {
45+
"@typescript-eslint/no-floating-promises": [
46+
"error",
47+
{ ignoreIIFE: true, ignoreVoid: true },
48+
],
49+
"@typescript-eslint/no-inferrable-types": "off",
50+
"@typescript-eslint/no-unused-vars": [
51+
"error",
52+
{ argsIgnorePattern: "_", varsIgnorePattern: "_" },
53+
],
54+
},
55+
}
56+
);

0 commit comments

Comments
 (0)