forked from Consensys/solc-typed-ast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (35 loc) · 1.21 KB
/
.eslintrc.json
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
33
34
35
36
{
"parser": "@typescript-eslint/parser",
"env": {
"node": true,
"es6": true
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"rules": {
"no-var": "error",
"no-constant-condition": "off",
"comma-dangle": ["error", "never"],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/array-type": ["error", { "default": "array-simple" }],
"@typescript-eslint/explicit-module-boundary-types": [
"error",
{ "allowArgumentsExplicitlyTypedAsAny": true }
]
},
"ignorePatterns": [
"src/types/typeStrings/typeString_parser_header.ts",
"src/types/typeStrings/typeString_parser.ts",
"src/compile/inference/file_level_definitions_parser_header.ts",
"src/compile/inference/file_level_definitions_parser.ts"
]
}