Skip to content

Commit

Permalink
chore(linting): fix linting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdax98 committed Jul 12, 2023
1 parent 811fdea commit 2ed2e53
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 12 additions & 1 deletion docs/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"extends": "@comet/eslint-config/react",
"ignorePatterns": [".docusaurus", "build"]
"ignorePatterns": [".docusaurus", "build"],
"rules": {
"@calm/react-intl/missing-formatted-message": "off",
"@typescript-eslint/no-unused-vars": "off"
},
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
}
}
2 changes: 0 additions & 2 deletions docs/src/theme/Playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ function Header({ children }: { children: React.ReactNode }) {
}

function LivePreviewLoader() {
// Is it worth improving/translating?
// eslint-disable-next-line @docusaurus/no-untranslated-text
return <div>Loading...</div>;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/src/theme/ReactLiveScope/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import React from "react";

// Add react-live imports you need here
let ReactLiveScope = {
Expand Down

0 comments on commit 2ed2e53

Please sign in to comment.