You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jsonschema/golangci.next.jsonschema.json
+1-102
Original file line number
Diff line number
Diff line change
@@ -4254,7 +4254,7 @@
4254
4254
"properties": {
4255
4255
"generated": {
4256
4256
"enum": ["strict", "lax", "disable"],
4257
-
"default": "lax"
4257
+
"default": "strict"
4258
4258
},
4259
4259
"warn-unused": {
4260
4260
"type": "boolean",
@@ -4374,107 +4374,6 @@
4374
4374
"type": "object",
4375
4375
"additionalProperties": false,
4376
4376
"properties": {
4377
-
"exclude": {
4378
-
"description": "List of regular expressions of issue texts to exclude.\nBut independently from this option we use default exclude patterns. Their usage can be controlled through `exclude-use-default`.",
4379
-
"type": "array",
4380
-
"items": {
4381
-
"type": "string"
4382
-
}
4383
-
},
4384
-
"exclude-rules": {
4385
-
"description": "Exclude configuration per-path, per-linter, per-text and per-source",
4386
-
"type": "array",
4387
-
"items": {
4388
-
"type": "object",
4389
-
"additionalProperties": false,
4390
-
"properties": {
4391
-
"path": {
4392
-
"type": "string"
4393
-
},
4394
-
"path-except": {
4395
-
"type": "string"
4396
-
},
4397
-
"linters": {
4398
-
"type": "array",
4399
-
"items": {
4400
-
"$ref": "#/definitions/linter-names"
4401
-
}
4402
-
},
4403
-
"text": {
4404
-
"type": "string"
4405
-
},
4406
-
"source": {
4407
-
"type": "string"
4408
-
}
4409
-
}
4410
-
}
4411
-
},
4412
-
"exclude-use-default": {
4413
-
"description": "Independently from option `exclude` we use default exclude patterns. This behavior can be disabled by this option.",
4414
-
"type": "boolean",
4415
-
"default": true
4416
-
},
4417
-
"exclude-case-sensitive": {
4418
-
"description": "If set to true, exclude and exclude-rules regular expressions become case sensitive.",
4419
-
"type": "boolean",
4420
-
"default": false
4421
-
},
4422
-
"exclude-generated": {
4423
-
"description": "Mode of the generated files analysis.",
4424
-
"enum": ["lax", "strict", "disable"],
4425
-
"default": "lax"
4426
-
},
4427
-
"exclude-dirs": {
4428
-
"description": "Which directories to exclude: issues from them won't be reported.",
4429
-
"type": "array",
4430
-
"items": {
4431
-
"description": "You can use regexp here. The regexp is applied on the full path.\n\"/\" will be replaced by current OS file path separator to properly work on Windows.",
"description": "Enable exclusion of directories \"vendor\", \"third_party\", \"testdata\", \"examples\", \"Godeps\", and \"builtin\".",
4440
-
"type": "boolean",
4441
-
"default": true
4442
-
},
4443
-
"exclude-files": {
4444
-
"description": "Which files to exclude: they will be analyzed, but issues from them will not be reported.",
4445
-
"type": "array",
4446
-
"items": {
4447
-
"description": "You can use regexp here. There is no need to include all autogenerated files, we confidently recognize them. If that is not the case, please let us know.\n\"/\" will be replaced by current OS file path separator to properly work on Windows.",
4448
-
"type": "string",
4449
-
"examples": [".*\\.my\\.go$"]
4450
-
},
4451
-
"default": [],
4452
-
"examples": [[".*\\.my\\.go$", "lib/bad.go"]]
4453
-
},
4454
-
"include": {
4455
-
"description": "The list of ids of default excludes to include or disable.",
4456
-
"type": "array",
4457
-
"items": {
4458
-
"enum": [
4459
-
"EXC0001",
4460
-
"EXC0002",
4461
-
"EXC0003",
4462
-
"EXC0004",
4463
-
"EXC0005",
4464
-
"EXC0006",
4465
-
"EXC0007",
4466
-
"EXC0008",
4467
-
"EXC0009",
4468
-
"EXC0010",
4469
-
"EXC0011",
4470
-
"EXC0012",
4471
-
"EXC0013",
4472
-
"EXC0014",
4473
-
"EXC0015"
4474
-
]
4475
-
},
4476
-
"default": []
4477
-
},
4478
4377
"max-issues-per-linter": {
4479
4378
"description": "Maximum issues count per one linter. Set to 0 to disable.",
0 commit comments