MSP-6673 Up lint
This commit is contained in:
1 parent
12e8436da6
commit
04b5eef606
6 files changed
+6
No files matched your search
@@ -17,6 +17,7 @@ linters:
|
|||||||
- tagalign # не всегда имеет смысл
|
- tagalign # не всегда имеет смысл
|
||||||
- varnamelen # очень индивидуально (db)
|
- varnamelen # очень индивидуально (db)
|
||||||
- wsl # расставление пробелов очень индивидуально
|
- wsl # расставление пробелов очень индивидуально
|
||||||
|
- wsl_v5 # расставление пробелов очень индивидуально
|
||||||
settings:
|
settings:
|
||||||
cyclop:
|
cyclop:
|
||||||
max-complexity: 15 # по умолчанию 10 мало
|
max-complexity: 15 # по умолчанию 10 мало
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ func TestAccessListSuite(t *testing.T) {
|
|||||||
|
|
||||||
type AccessListSuite struct {
|
type AccessListSuite struct {
|
||||||
suite.Suite
|
suite.Suite
|
||||||
|
|
||||||
test *test.Test
|
test *test.Test
|
||||||
testDb *dbt.TestDb
|
testDb *dbt.TestDb
|
||||||
api *client.Client
|
api *client.Client
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ func TestApplicationGroupSuite(t *testing.T) {
|
|||||||
|
|
||||||
type AppGroupSuite struct {
|
type AppGroupSuite struct {
|
||||||
suite.Suite
|
suite.Suite
|
||||||
|
|
||||||
test *test.Test
|
test *test.Test
|
||||||
testDb *dbt.TestDb
|
testDb *dbt.TestDb
|
||||||
domainRepo repository.Domain
|
domainRepo repository.Domain
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ func TestApplicationSuite(t *testing.T) {
|
|||||||
|
|
||||||
type ApplicationSuite struct {
|
type ApplicationSuite struct {
|
||||||
suite.Suite
|
suite.Suite
|
||||||
|
|
||||||
test *test.Test
|
test *test.Test
|
||||||
testDb *dbt.TestDb
|
testDb *dbt.TestDb
|
||||||
domainRepo repository.Domain
|
domainRepo repository.Domain
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ func TestBaselineSuite(t *testing.T) {
|
|||||||
|
|
||||||
type BaselineSuite struct {
|
type BaselineSuite struct {
|
||||||
suite.Suite
|
suite.Suite
|
||||||
|
|
||||||
test *test.Test
|
test *test.Test
|
||||||
testDb *dbt.TestDb
|
testDb *dbt.TestDb
|
||||||
baseline baseline.Service
|
baseline baseline.Service
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ func TestSecureSuite(t *testing.T) {
|
|||||||
|
|
||||||
type SecureSuite struct {
|
type SecureSuite struct {
|
||||||
suite.Suite
|
suite.Suite
|
||||||
|
|
||||||
test *test.Test
|
test *test.Test
|
||||||
testDb *dbt.TestDb
|
testDb *dbt.TestDb
|
||||||
api *client.Client
|
api *client.Client
|
||||||
|
|||||||
Reference in new issue
Block a user