chore: add ESLint to package contract wrappers (#584)
* replace tslint with eslint + add eslintrc config * few more missing packages for eslint * exclude. now eslint is running (but there are errors) * correct excludes fixes all the linter issues * no need for max warnings
This commit is contained in:
22
packages/contract-wrappers/.eslintrc
Normal file
22
packages/contract-wrappers/.eslintrc
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"env": {
|
||||
"es2021": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
||||
"overrides": [],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.json",
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"ignorePatterns": [
|
||||
"lib/**/*",
|
||||
"migrations/*",
|
||||
"src/generated-wrappers/**/*",
|
||||
"src/generated-artifacts/**/*"
|
||||
],
|
||||
"rules": {}
|
||||
}
|
||||
Reference in New Issue
Block a user