upgrade rw + lint (#521)

* Various linting fixes

* Fix component name

* Upgrade to redwood 0.36.4
This commit was merged in pull request #521.
This commit is contained in:
Kurt Hutten
2021-09-20 19:08:03 +10:00
committed by GitHub
parent 39ce35b219
commit f6df9d1988
16 changed files with 161 additions and 193 deletions

View File

@@ -1,7 +1,6 @@
const express = require('express')
var cors = require('cors')
const axios = require('axios')
const { restart } = require('nodemon')
const app = express()
const port = 8080
app.use(express.json())

View File

@@ -1,5 +1,5 @@
import * as Sentry from '@sentry/node'
import { context, Config, ApolloError } from '@redwoodjs/api'
import { Config, ApolloError } from '@redwoodjs/api'
let sentryInitialized = false
if (process.env.SENTRY_DSN && !sentryInitialized) {

View File

@@ -12,7 +12,6 @@ import {
} from 'src/services/helpers'
import { requireAuth } from 'src/lib/auth'
import { requireOwnership, requireProjectOwnership } from 'src/lib/owner'
import { socialCard } from '../socialCards/socialCards'
export const projects = ({ userName }) => {
if (!userName) {