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 Using expect in jest unit tests under /shared (#11413) 2021-06-29 10:50:18 -07:00
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 @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
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 Add gas utils shared module (#11452) 2021-07-07 11:13:40 -05:00
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 Add custom network RPC method (#9724) 2021-02-12 09:25:58 -06:00
random-id.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
rpc.utils.js Using values from shared/constants/time to represent timing values (#11241) 2021-06-10 12:27:03 -07:00
swaps.utils.js Swaps support for local testnet (#10658) 2021-03-18 07:50:06 -02:30
transaction.utils.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
transaction.utils.test.js Add methods to easily detect transaction type based on gas fields (#11382) 2021-06-28 10:23:17 -05:00