Fix missing preact.h import, enable lint for that

Fixes #2539
This commit is contained in:
Renée Kooi 2020-09-21 11:41:06 +02:00
parent 90589c3f1c
commit 25b232eccc
No known key found for this signature in database
GPG key ID: 9940E33D1A44ADBF
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@
"jsx-quotes": ["error", "prefer-double"],
"compat/compat": ["error"],
"react/jsx-handler-names": ["warn"], // maybe we want to do this in the future?
"react/react-in-jsx-scope": ["error"],
"jsdoc/check-alignment": ["warn"],
"jsdoc/check-examples": ["warn"],

View file

@ -1,3 +1,4 @@
const { h } = require('preact')
const { Plugin } = require('@uppy/core')
const Translator = require('@uppy/utils/lib/Translator')
const DashboardUI = require('./components/Dashboard')