You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Revert "Tools: Added eslint rule arrow-parens"
This reverts commit 0b6f5581f0
.
It causes too many conflicts with pull requests.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
const fs = require('fs-extra');
|
||||
|
||||
const loadCustomCss = async (filePath) => {
|
||||
const loadCustomCss = async filePath => {
|
||||
let cssString = '';
|
||||
if (await fs.pathExists(filePath)) {
|
||||
try {
|
||||
@ -16,7 +16,7 @@ const loadCustomCss = async (filePath) => {
|
||||
return cssString;
|
||||
};
|
||||
|
||||
const injectCustomStyles = async (cssFilePath) => {
|
||||
const injectCustomStyles = async cssFilePath => {
|
||||
const css = await loadCustomCss(cssFilePath);
|
||||
const styleTag = document.createElement('style');
|
||||
styleTag.type = 'text/css';
|
||||
|
Reference in New Issue
Block a user