Fix linter
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
NEXT_DEPLOY_ENV=development
|
||||
; NEXT_SENTRY_DSN=
|
||||
NEXT_PUBLIC_API_URL=https://api.dev.sahkoinsinoorikilta.fi/api
|
||||
NEXT_PUBLIC_SITE_URL=https://dev.sahkoinsinoorikilta.fi
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
NEXT_DEPLOY_ENV=production
|
||||
; NEXT_SENTRY_DSN=
|
||||
NEXT_PUBLIC_API_URL=https://api.sahkoinsinoorikilta.fi/api
|
||||
NEXT_PUBLIC_SITE_URL=https://sahkoinsinoorikilta.fi
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
NEXT_DEPLOY_ENV=test
|
||||
NEXT_PUBLIC_API_URL=https://api.dev.sahkoinsinoorikilta.fi/api
|
||||
NEXT_PUBLIC_SITE_URL=https://dev.sahkoinsinoorikilta.fi
|
||||
|
||||
@@ -34,6 +34,8 @@ module.exports = {
|
||||
],
|
||||
"react/jsx-props-no-spreading": "off",
|
||||
"react/jsx-one-expression-per-line": "off",
|
||||
"react/require-default-props": "off",
|
||||
"react/default-props-match-prop-types": "off",
|
||||
// Temp
|
||||
"react/no-array-index-key": "warn",
|
||||
"jsx-a11y/label-has-associated-control": "off",
|
||||
|
||||
@@ -4,9 +4,7 @@ import ReactMde from "react-mde";
|
||||
import { WidgetProps } from "@rjsf/core";
|
||||
import MarkdownStyles from "@views/common/MarkdownStyles";
|
||||
|
||||
type MarkdownEditorWidgetProps = Omit<WidgetProps, "options"> & {
|
||||
options: unknown;
|
||||
};
|
||||
type MarkdownEditorWidgetProps = WidgetProps;
|
||||
|
||||
const Container = styled.div`
|
||||
background: white;
|
||||
|
||||
Reference in New Issue
Block a user