mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Enable the arrow-body-style
ESLint rule
This manually ignores some cases where the resulting auto-formatting would not, as far as I'm concerned, constitute a readability improvement or where we'd just end up with more overall indentation. Please see https://eslint.org/docs/latest/rules/arrow-body-style
This commit is contained in:
parent
998184a00e
commit
f9a384d711
20 changed files with 78 additions and 82 deletions
|
@ -2359,8 +2359,8 @@ class CanvasGraphics {
|
|||
const color = IR[1];
|
||||
const baseTransform = this.baseTransform || getCurrentTransform(this.ctx);
|
||||
const canvasGraphicsFactory = {
|
||||
createCanvasGraphics: ctx => {
|
||||
return new CanvasGraphics(
|
||||
createCanvasGraphics: ctx =>
|
||||
new CanvasGraphics(
|
||||
ctx,
|
||||
this.commonObjs,
|
||||
this.objs,
|
||||
|
@ -2370,8 +2370,7 @@ class CanvasGraphics {
|
|||
optionalContentConfig: this.optionalContentConfig,
|
||||
markedContentStack: this.markedContentStack,
|
||||
}
|
||||
);
|
||||
},
|
||||
),
|
||||
};
|
||||
pattern = new TilingPattern(
|
||||
IR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue