Passed
Push — master ( ce6d06...ce52a2 )
by Zhenyu
01:16
created

src/index.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 13
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
mnd 0
bc 0
fnc 1
dl 0
loc 13
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
import inputValidation from './decorator';
2
import { FOO, BAR } from './constants';
3
import { allStrings, join } from './utils';
4
5
/**
6
 * An example function just to show the build and ci pipeline works.
7
 *
8
 * @returns {string} Hello world.
9
 */
10
export default () =>
11
  inputValidation({
12
    validator: allStrings,
13
  })(join)(FOO, BAR);
14