Skip to content

Commit 40a764f

Browse files
Fixed issue where a string that fits exactly would be pushed into a l… (#540)
* Fixed issue where a string that fits exactly would be pushed into a line break (#531) Co-authored-by: John Fercher <4752636+johnfercher@users.noreply.github.com> * fix: golangci-lint --------- Co-authored-by: Franco Valencia <franco.avalencia@gmail.com>
1 parent a072085 commit 40a764f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+124
-146
lines changed

.golangci.yml

Lines changed: 6 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,23 @@
11
run:
22
timeout: 5m
33
modules-download-mode: readonly
4-
skip-files:
5-
- cmd/*
6-
- mocks/*
7-
- internal/fpdf/*
8-
- internal/fixture
4+
issues:
5+
exclude-files:
6+
- cmd/*
7+
- mocks/*
8+
- internal/fpdf/*
9+
- internal/fixture
910

1011
linters-settings:
1112
lll:
1213
line-length: 140
1314
gocritic:
1415
enabled-checks:
15-
- appendAssign
16-
- argOrder
17-
- assignOp
18-
- badCall
19-
- badCond
2016
- boolExprSimplify
21-
- captLocal
22-
- caseOrder
23-
- codegenComment
2417
- commentedOutCode
2518
- commentedOutImport
26-
- commentFormatting
27-
- defaultCaseOrder
28-
- deprecatedComment
29-
- dupArg
30-
- dupBranchBody
31-
- dupCase
3219
- dupImport
33-
- dupSubExpr
34-
- elseif
35-
- exitAfterDefer
36-
- flagDeref
37-
- flagName
38-
- ifElseChain
39-
- mapKey
40-
- newDeref
41-
- offBy1
42-
- regexpMust
43-
- singleCaseSwitch
44-
- sloppyLen
4520
- stringXbytes
46-
- switchTrue
47-
- typeSwitchVar
48-
- underef
49-
- unlambda
50-
- unslice
51-
- valSwap
52-
- wrapperFunc
5321

5422
linters:
5523
disable-all: true

docs/assets/pdf/addpagev2.pdf

1.45 KB
Binary file not shown.

docs/assets/pdf/autorow.pdf

1.31 KB
Binary file not shown.

docs/assets/pdf/backgroundv2.pdf

-10 Bytes
Binary file not shown.

docs/assets/pdf/barcodegridv2.pdf

1.88 KB
Binary file not shown.

docs/assets/pdf/billingv2.pdf

-3 Bytes
Binary file not shown.

docs/assets/pdf/cellstylev2.pdf

6.4 KB
Binary file not shown.

docs/assets/pdf/compressionv2.pdf

-2 Bytes
Binary file not shown.
397 Bytes
Binary file not shown.

docs/assets/pdf/customfontv2.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)