File tree Expand file tree Collapse file tree 6 files changed +23
-1
lines changed Expand file tree Collapse file tree 6 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 14
14
node_js : ' lts/*'
15
15
- << : *test
16
16
node_js : 6
17
+ - << : *test
18
+ node_js : 4
17
19
18
20
script : npm run $SCRIPT
19
21
Original file line number Diff line number Diff line change 28
28
"eslint" : " ^5.0.0" ,
29
29
"eslint-plugin-import" : " ^2.0.0" ,
30
30
"eslint-plugin-prettier" : " ^2.0.0" ,
31
- "jest" : " ^22 .0.0" ,
31
+ "jest" : " ^21 .0.0" ,
32
32
"prettier" : " ^1.0.0" ,
33
33
"standard-version" : " ^4.0.0"
34
34
},
Original file line number Diff line number Diff line change
1
+ /* eslint-disable
2
+ strict
3
+ */
4
+
5
+ 'use strict' ;
6
+
1
7
class ValidationError extends Error {
2
8
constructor ( errors , name ) {
3
9
super ( ) ;
Original file line number Diff line number Diff line change
1
+ /* eslint-disable
2
+ strict
3
+ */
4
+
5
+ 'use strict' ;
6
+
1
7
const validateOptions = require ( './validateOptions' ) ;
2
8
3
9
module . exports = validateOptions ;
Original file line number Diff line number Diff line change 1
1
/* eslint-disable
2
+ strict,
2
3
no-param-reassign
3
4
*/
5
+
6
+ 'use strict' ;
7
+
4
8
const fs = require ( 'fs' ) ;
5
9
const path = require ( 'path' ) ;
6
10
Original file line number Diff line number Diff line change 1
1
/* eslint-disable
2
+ strict,
2
3
no-shadow
3
4
*/
5
+
6
+ 'use strict' ;
7
+
4
8
const validateOptions = require ( '../src' ) ;
5
9
6
10
test ( 'Valid' , ( ) => {
You can’t perform that action at this time.
0 commit comments