Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
d749c578
Commit
d749c578
authored
Feb 11, 2021
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remix-lib linting done
parent
2a98b377
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
.eslintrc
libs/remix-lib/.eslintrc
+2
-6
util.ts
libs/remix-lib/src/util.ts
+1
-0
No files found.
libs/remix-lib/.eslintrc
View file @
d749c578
{
{
"extends": "../../.eslintrc",
"extends": "../../.eslintrc",
"rules": {
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-this-alias": "off",
"standard/no-callback-literal": "off",
"standard/no-callback-literal": "off",
"
camelcase
": "off",
"
no-unused-vars
": "off",
"
no-unused-vars
": "off"
"
dot-notation
": "off"
},
},
"env": {
"env": {
"browser": true,
"browser": true,
...
...
libs/remix-lib/src/util.ts
View file @
d749c578
...
@@ -163,6 +163,7 @@ export function buildCallPath (index, rootCall) {
...
@@ -163,6 +163,7 @@ export function buildCallPath (index, rootCall) {
* @param {String} value - value to sha3
* @param {String} value - value to sha3
* @return {Object} - return sha3ied value
* @return {Object} - return sha3ied value
*/
*/
// eslint-disable-next-line camelcase
export
function
sha3_256
(
value
)
{
export
function
sha3_256
(
value
)
{
if
(
typeof
value
===
'string'
&&
value
.
indexOf
(
'0x'
)
!==
0
)
{
if
(
typeof
value
===
'string'
&&
value
.
indexOf
(
'0x'
)
!==
0
)
{
value
=
'0x'
+
value
value
=
'0x'
+
value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment