diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 9e0782c4..00000000 --- a/.eslintrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "root": true, - "parserOptions": { - "project": "./tsconfig.json", - "tsconfigRootDir": "." - } -} \ No newline at end of file diff --git a/.eslintrc.yml b/.eslintrc.yml new file mode 100644 index 00000000..9d45a733 --- /dev/null +++ b/.eslintrc.yml @@ -0,0 +1,6 @@ +--- +root: true + +parserOptions: + ecmaVersion: latest + sourceType: module \ No newline at end of file diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 2736dece..af4a5e84 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -61,4 +61,3 @@ jobs: VALIDATE_MARKDOWN: false VALIDATE_GITLEAKS: false VALIDATE_JSCPD: false - TYPESCRIPT_ES_CONFIG_FILE: .eslintrc diff --git a/contracts/.eslintrc b/contracts/.eslintrc deleted file mode 100644 index f912b29d..00000000 --- a/contracts/.eslintrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": [ - "../.eslintrc" - ], - "parserOptions": { - "project": "./tsconfig.json", - "tsconfigRootDir": "." - } -} \ No newline at end of file diff --git a/contracts/.eslintrc.yml b/contracts/.eslintrc.yml new file mode 100644 index 00000000..b98fe9df --- /dev/null +++ b/contracts/.eslintrc.yml @@ -0,0 +1,5 @@ +--- +root: true + +parserOptions: + project: tsconfig.json \ No newline at end of file