linting for remix-debug done

pull/861/head
aniket-engg 4 years ago
parent 336ff73996
commit 2a98b37783
  1. 2
      libs/remix-debug/.eslintrc
  2. 2
      libs/remix-debug/src/code/breakpointManager.ts
  3. 2
      libs/remix-debug/src/debugger/debugger.ts
  4. 2
      libs/remix-debug/src/solidity-decoder/internalCallTree.ts
  5. 8
      libs/remix-debug/src/solidity-decoder/types/RefType.ts
  6. 4
      libs/remix-debug/src/solidity-decoder/types/ValueType.ts
  7. 1
      libs/remix-debug/src/trace/traceCache.ts

@ -4,7 +4,7 @@
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-this-alias": "off",
"camelcase": "off"
"dot-notation": "off"
},
"env": {
"browser": true,

@ -15,7 +15,7 @@ export class BreakpointManager {
solidityProxy
breakpoints
locationToRowConverter
/**
* constructor
*

@ -12,7 +12,7 @@ export class Debugger {
compilationResult
debugger
breakPointManager
step_manager
step_manager // eslint-disable-line camelcase
vmDebuggerLogic
constructor (options) {

@ -277,7 +277,7 @@ async function includeVariableDeclaration (tree, step, sourceLocation, scopeId,
}
}
}
// we check here if we are at the beginning inside a new function.
// if that is the case, we have to add to locals tree the inputs and output params
const functionDefinition = resolveFunctionDefinition(tree, previousSourceLocation, generatedSources)

@ -16,12 +16,12 @@ export class RefType {
this.basicType = 'RefType'
}
decodeFromStorage(input1? : any, input2? : any) {
throw new Error('This method is abstract');
decodeFromStorage (input1? : any, input2? : any) {
throw new Error('This method is abstract')
}
decodeFromMemoryInternal(input1? : any, input2? : any, input3?: any) {
throw new Error('This method is abstract');
decodeFromMemoryInternal (input1? : any, input2? : any, input3?: any) {
throw new Error('This method is abstract')
}
/**

@ -14,8 +14,8 @@ export class ValueType {
this.basicType = 'ValueType'
}
decodeValue(input? : any) {
throw new Error('This method is abstract');
decodeValue (input? : any) {
throw new Error('This method is abstract')
}
/**

@ -1,5 +1,6 @@
'use strict'
import { util } from '@remix-project/remix-lib'
// eslint-disable-next-line camelcase
const { sha3_256 } = util
export class TraceCache {

Loading…
Cancel
Save