Commit 2a98b377 authored by aniket-engg's avatar aniket-engg

linting for remix-debug done

parent 336ff739
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-this-alias": "off", "@typescript-eslint/no-this-alias": "off",
"camelcase": "off" "dot-notation": "off"
}, },
"env": { "env": {
"browser": true, "browser": true,
......
...@@ -15,7 +15,7 @@ export class BreakpointManager { ...@@ -15,7 +15,7 @@ export class BreakpointManager {
solidityProxy solidityProxy
breakpoints breakpoints
locationToRowConverter locationToRowConverter
/** /**
* constructor * constructor
* *
......
...@@ -12,7 +12,7 @@ export class Debugger { ...@@ -12,7 +12,7 @@ export class Debugger {
compilationResult compilationResult
debugger debugger
breakPointManager breakPointManager
step_manager step_manager // eslint-disable-line camelcase
vmDebuggerLogic vmDebuggerLogic
constructor (options) { constructor (options) {
......
...@@ -277,7 +277,7 @@ async function includeVariableDeclaration (tree, step, sourceLocation, scopeId, ...@@ -277,7 +277,7 @@ async function includeVariableDeclaration (tree, step, sourceLocation, scopeId,
} }
} }
} }
// we check here if we are at the beginning inside a new function. // 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 // if that is the case, we have to add to locals tree the inputs and output params
const functionDefinition = resolveFunctionDefinition(tree, previousSourceLocation, generatedSources) const functionDefinition = resolveFunctionDefinition(tree, previousSourceLocation, generatedSources)
......
...@@ -16,12 +16,12 @@ export class RefType { ...@@ -16,12 +16,12 @@ export class RefType {
this.basicType = 'RefType' this.basicType = 'RefType'
} }
decodeFromStorage(input1? : any, input2? : any) { decodeFromStorage (input1? : any, input2? : any) {
throw new Error('This method is abstract'); throw new Error('This method is abstract')
} }
decodeFromMemoryInternal(input1? : any, input2? : any, input3?: any) { decodeFromMemoryInternal (input1? : any, input2? : any, input3?: any) {
throw new Error('This method is abstract'); throw new Error('This method is abstract')
} }
/** /**
......
...@@ -14,8 +14,8 @@ export class ValueType { ...@@ -14,8 +14,8 @@ export class ValueType {
this.basicType = 'ValueType' this.basicType = 'ValueType'
} }
decodeValue(input? : any) { decodeValue (input? : any) {
throw new Error('This method is abstract'); throw new Error('This method is abstract')
} }
/** /**
......
'use strict' 'use strict'
import { util } from '@remix-project/remix-lib' import { util } from '@remix-project/remix-lib'
// eslint-disable-next-line camelcase
const { sha3_256 } = util const { sha3_256 } = util
export class TraceCache { export class TraceCache {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment