Skip to content

Commit f30d382

Browse files
style: adopt code style to rules
1 parent 9f7fdda commit f30d382

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

test/unit/partials/config/index.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
21
import { PluginOptions, RemoteUser } from '@verdaccio/types';
2+
33
import { VerdaccioGitlabConfig } from '../../../../src/gitlab';
44
import { UserDataGroups } from '../../../../src/authcache';
5-
65
import logger from '../logger';
76
import { UserData } from '../../../../src/authcache';
87

@@ -12,14 +11,14 @@ const verdaccioGitlabConfig: VerdaccioGitlabConfig = {
1211
};
1312

1413
const options: PluginOptions<VerdaccioGitlabConfig> = {
15-
//@ts-ignore
14+
// @ts-ignore
1615
config: {},
17-
//@ts-ignore
16+
// @ts-ignore
1817
logger: logger
1918
};
2019

21-
const user: string = 'myUser';
22-
const pass: string = 'myPass';
20+
const user = 'myUser';
21+
const pass = 'myPass';
2322
const remoteUser: RemoteUser = {
2423
real_groups: ['myGroup', 'anotherGroup/myProject', user],
2524
groups: ['myGroup', 'anotherGroup/myProject', user],

0 commit comments

Comments
 (0)