-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(eslint): show eslint warnings and errors on projects using Flas…
…hlight as a submodule (#193) * chore(.eslintrc.js): replace .eslintignore with ignore patterns Why? Because only one .eslintignore file is used by the ESLint command, whereas all .eslintrc files are used. So it is a better practice to use "ignorePatterns" in .eslintrc * chore(.eslintrc.js): match files in rule even from parent * chore(ServerApp): add dependencies in useEffect * refacto(processVideoFile): avoid using switch fallthrough to get FFmpeg binary * chore(AppiumDriver): remove unused variable * chore(MDXComponents): extract module contents to variable * chore(MDXComponents): remove unused import * chore(AppiumDriver): use correct type for error * chore(shell): use correct type for error * feat(processVideoFile): use FFmpeg-osx-64 for darwin all archs
- Loading branch information
Showing
7 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
/* eslint-disable import/no-unresolved */ | ||
import React from "react"; | ||
// Import the original mapper | ||
import MDXComponents from "@theme-original/MDXComponents"; | ||
import Contact from "@site/src/components/Contact.mdx"; | ||
|
||
export default { | ||
const _module = { | ||
// Re-use the default mapping | ||
...MDXComponents, | ||
// Map the "<Highlight>" tag to our Highlight component | ||
// `Highlight` will receive all props that were passed to `<Highlight>` in MDX | ||
Contact, | ||
}; | ||
|
||
export default _module; |