mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-19 14:10:48 +02:00
Eslint tweaks (#696)
* make eslint styleguide into warnings & drop no-else-return * reintroduce max-warnings=0 * remove unnecessary eslint line disable * reintroduce no-else-return rule
This commit is contained in:
@@ -7,7 +7,7 @@ const cli = new CLIEngine({});
|
||||
module.exports = {
|
||||
"*.{js,ts,tsx}": files => {
|
||||
return (
|
||||
"eslint --fix " + files.filter(file => !cli.isPathIgnored(file)).join(" ")
|
||||
"eslint --max-warnings=0 --fix " + files.filter(file => !cli.isPathIgnored(file)).join(" ")
|
||||
);
|
||||
},
|
||||
"*.{css,scss,json,md,html,yml}": ["prettier --write"],
|
||||
|
Reference in New Issue
Block a user