linting fix

pull/2368/head
Aniket-Engg 3 years ago committed by yann300
parent 20049fc416
commit 238a13afb8
  1. 2
      libs/remix-ws-templates/src/templates/erc20/scripts/ethers.ts
  2. 2
      libs/remix-ws-templates/src/templates/remixDefault/scripts/ethers.ts
  3. 2
      libs/remix-ws-templates/tsconfig.lib.json
  4. 7
      workspace.json

@ -12,7 +12,7 @@ export const deploy = async (contractName: string, args: Array<any>, from?: stri
// 'web3Provider' is a remix global variable object // 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner() const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner()
let factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer); const factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer);
let contract let contract
if (from) { if (from) {

@ -9,7 +9,7 @@ export const deploy = async (contractName: string, args: Array<any>, from?: stri
// 'web3Provider' is a remix global variable object // 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner() const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner()
let factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer); const factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer);
let contract let contract
if (from) { if (from) {

@ -11,5 +11,5 @@
"**/*.spec.ts", "**/*.spec.ts",
"tests/" "tests/"
], ],
"include": ["**/*.ts", "**/*.sol"] "include": ["**/*.ts"]
} }

@ -1222,9 +1222,12 @@
"projectType": "library", "projectType": "library",
"architect": { "architect": {
"lint": { "lint": {
"builder": "@nrwl/linter:eslint", "builder": "@nrwl/linter:lint",
"options": { "options": {
"lintFilePatterns": ["libs/remix-ws-templates/**/*.ts"] "linter": "eslint",
"config": "libs/remix-ws-templates/.eslintrc",
"tsConfig": ["libs/remix-ws-templates/tsconfig.lib.json"],
"exclude": ["**/node_modules/**"]
} }
} }
} }

Loading…
Cancel
Save