-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[PdfSource]: implementation for extraction sources in pdf (#12)
* fix[projectList]: filtering with is statement not working * feat[PdfSource]: implementation for extraction sources in pdf * fix[PdfHighlight]: ci test failure * fix[ci_errors]: ignore public folder for prettier * prettier pdf worker file * feat[pdf]: minor improvements * feat[pdf]: improve code and add additional checks * fix[pdf_viewer]: custom size for highlight pdf * refactor(pdf): move file to ee folder
- Loading branch information
1 parent
f906d35
commit 1f4bbd7
Showing
15 changed files
with
79,951 additions
and
156 deletions.
There are no files selected for viewing
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,4 +1,19 @@ | ||
module.exports = { | ||
"*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"], | ||
"*.{json,css,md}": ["prettier --write"], | ||
"**/*.{js,jsx,ts,tsx}": (filenames) => { | ||
const filteredFiles = filenames.filter( | ||
(file) => !file.startsWith("public/"), | ||
); | ||
if (filteredFiles.length === 0) return []; | ||
return [ | ||
`eslint --fix ${filteredFiles.join(" ")}`, | ||
`prettier --write ${filteredFiles.join(" ")}`, | ||
]; | ||
}, | ||
"**/*.{css,scss,md}": (filenames) => { | ||
const filteredFiles = filenames.filter( | ||
(file) => !file.startsWith("public/"), | ||
); | ||
if (filteredFiles.length === 0) return []; | ||
return [`prettier --write ${filteredFiles.join(" ")}`]; | ||
}, | ||
}; |
Oops, something went wrong.