Skip to content

Commit

Permalink
CI/CD: This changes the linter config to adhere to "our" codestyle
Browse files Browse the repository at this point in the history
This changes the enum format to the const format sice enums are treated
as consts.

The linter now ignores unused parameters which are used by the
ExternalSink subclass.
  • Loading branch information
SirMoM committed May 23, 2021
1 parent 7321b90 commit 7397d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/.gdlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ comparison-with-itself: null
constant-name: '[A-Z][A-Z0-9]*(_[A-Z0-9]+)*'
duplicated-load: null
enum-element-name: '[A-Z][A-Z0-9]*(_[A-Z0-9]+)*'
enum-name: ([A-Z][a-z0-9]*)+
enum-name: '[A-Z][A-Z0-9]*(_[A-Z0-9]+)*'
expression-not-assigned: null
function-argument-name: _?[a-z][a-z0-9]*(_[a-z0-9]+)*
function-arguments-number: 10
Expand All @@ -37,4 +37,4 @@ sub-class-name: _?([A-Z][a-z0-9]*)+
trailing-whitespace: null
unnecessary-pass: null
unused-argument: null
disable: [class-definitions-order, max-file-lines, max-line-length, max-public-methods]
disable: [class-definitions-order, max-file-lines, max-line-length, max-public-methods, unused-argument]

0 comments on commit 7397d60

Please sign in to comment.