code review changes from @alaonde to hopefully code #422 🥅

This commit is contained in:
Will Holcomb
2021-03-26 08:47:51 -04:00
committed by Alec LaLonde
parent 9fb4b4e04c
commit 51b349745f
7 changed files with 11 additions and 46 deletions

View File

@@ -20,11 +20,11 @@
"@typeit/discord": "4.0.9",
"discord.js": "12.5.1",
"dotenv": "8.2.0",
"ethers": "4.0.48",
"ethers": "5.0.32",
"graphql": "15.4.0",
"graphql-request": "3.2.0",
"graphql-tag": "2.11.0",
"node-fetch": "2.6.1",
"graphql-request": "3.2.0",
"sourcecred": "0.7.6"
},
"devDependencies": {

View File

@@ -1,5 +1,3 @@
/* eslint no-bitwise: "off" */
import { Box, ChakraProps, Flex, SVG } from '@metafam/ds';
import { FlexContainer } from 'components/Container';
import {

View File

@@ -1,5 +1,3 @@
/* eslint no-bitwise: "off" */
import {
Button,
Flex,

View File

@@ -4,7 +4,6 @@
"private": true,
"scripts": {
"dev": "concurrently \"next\" \"yarn generate --watch\"",
"serve": "concurrently \"next start\" \"watch --interval 300 'yarn build'\"",
"build": "next build",
"start": "next start",
"typecheck": "tsc",

View File

@@ -1,5 +1,4 @@
// true if the number is a power of 2
export const isPow2 = (int: number): boolean => (
// eslint-disable-next-line no-bitwise
int > 0 && (int & (int - 1)) === 0
);