generated from ahmedali8/hardhat-js-starterkit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
32 lines (32 loc) · 808 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
env:
node: true
es2021: true
parser: "@typescript-eslint/parser"
parserOptions:
project: "tsconfig.json"
ecmaVersion: 12
sourceType: "module"
ignorePatterns: ["node_modules/**/*"]
plugins:
- "@typescript-eslint"
root: true
extends:
- "eslint:recommended"
- "plugin:@typescript-eslint/eslint-recommended"
- "plugin:@typescript-eslint/recommended"
- "prettier"
rules:
"@typescript-eslint/no-floating-promises":
- "warn"
- "ignoreIIFE": true
"ignoreVoid": true
"@typescript-eslint/no-inferrable-types": "off"
"@typescript-eslint/no-unused-vars":
- "warn"
- "argsIgnorePattern": "_"
"varsIgnorePattern": "_"
no-unused-vars: "warn"
no-extra-boolean-cast: "off"
no-constant-condition: "off"
no-async-promise-executor: "off"
no-useless-escape: "warn"