1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/shared/modules
Mark Stacey 3732c5f71e
Add JSDoc ESLint rules (#12112)
ESLint rules have been added to enforce our JSDoc conventions. These
rules were introduced by updating `@metamask/eslint-config` to v9.

Some of the rules have been disabled because the effort to fix all lint
errors was too high. It might be easiest to enable these rules one
directory at a time, or one rule at a time.

Most of the changes in this PR were a result of running
`yarn lint:fix`. There were a handful of manual changes that seemed
obvious and simple to make. Anything beyond that and the rule was left
disabled.
2022-01-07 12:27:33 -03:30
..
buffer-utils.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
buffer-utils.test.js
contract-utils.js Refactor checking if address is contract into a new module. (#12354) 2021-10-20 16:12:07 +01:00
contract-utils.test.js Refactor checking if address is contract into a new module. (#12354) 2021-10-20 16:12:07 +01:00
conversion.utils.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
conversion.utils.test.js EIP-1559 V2 : Advanced gas fee modal - Max base fee and Priority fee inputs (#12619) 2021-11-29 23:10:48 +05:30
fetch-with-timeout.js
fetch-with-timeout.test.js Format shared/modules/*.tests to use jest arrow functions and use stricter comparative matcher (#12908) 2021-11-30 12:09:46 -06:00
gas.utils.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
gas.utils.test.js
hexstring-utils.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
hexstring-utils.test.js Format shared/modules/*.tests to use jest arrow functions and use stricter comparative matcher (#12908) 2021-11-30 12:09:46 -06:00
network.utils.js
random-id.js
rpc.utils.js
swaps.utils.js
transaction.utils.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
transaction.utils.test.js