File tree 4 files changed +19
-15
lines changed
4 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"root" : true ,
3
- "extends" : [" standard" ],
4
- "rules" : {
5
- "space-before-function-paren" : " off"
6
- }
3
+ "extends" : [" standard" , " prettier" ]
7
4
}
Original file line number Diff line number Diff line change 1
1
import { todo } from '../index.js'
2
2
3
- export default ( { log } ) => async ( check = true ) => {
4
- log . debug ( { check } , 'Input' )
5
- const result = todo ( check )
6
- if ( ! result ) throw new Error ( 'Check was not truthy.' )
7
- return result
8
- }
3
+ export default ( { log } ) =>
4
+ async ( check = true ) => {
5
+ log . debug ( { check } , 'Input' )
6
+ const result = todo ( check )
7
+ if ( ! result ) throw new Error ( 'Check was not truthy.' )
8
+ return result
9
+ }
Original file line number Diff line number Diff line change 69
69
"ava" : " ^3.3.0" ,
70
70
"aws-sdk" : " 2.804.0" ,
71
71
"eslint" : " ^7.4.0" ,
72
+ "eslint-config-prettier" : " ^8.3.0" ,
72
73
"eslint-config-standard" : " ^16.0.0" ,
73
74
"eslint-plugin-import" : " ^2.18.2" ,
74
75
"eslint-plugin-node" : " ^11.0.0" ,
75
76
"eslint-plugin-promise" : " ^5.1.0" ,
76
77
"nodemon" : " ^2.0.7" ,
77
78
"npm-run-all" : " ^4.1.2" ,
78
79
"nyc" : " ^15.0.0" ,
79
- "prettier" : " ^2.0.2 " ,
80
+ "prettier" : " ^2.3.0 " ,
80
81
"serverless" : " ^2.38.0" ,
81
82
"serverless-domain-manager" : " ^5.0.0" ,
82
83
"serverless-jetpack" : " ^0.10.8" ,
Original file line number Diff line number Diff line change @@ -2972,6 +2972,11 @@ escape-string-regexp@^4.0.0:
2972
2972
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
2973
2973
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
2974
2974
2975
+ eslint-config-prettier@^8.3.0 :
2976
+ version "8.3.0"
2977
+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a"
2978
+ integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==
2979
+
2975
2980
eslint-config-standard@^16.0.0 :
2976
2981
version "16.0.2"
2977
2982
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-16.0.2.tgz#71e91727ac7a203782d0a5ca4d1c462d14e234f6"
@@ -6380,10 +6385,10 @@ prepend-http@^2.0.0:
6380
6385
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
6381
6386
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
6382
6387
6383
- prettier@^2.0.2 :
6384
- version "2.2.1 "
6385
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1 .tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5 "
6386
- integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q ==
6388
+ prettier@^2.3.0 :
6389
+ version "2.3.0 "
6390
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0 .tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18 "
6391
+ integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w ==
6387
6392
6388
6393
pretty-ms@^7.0.1 :
6389
6394
version "7.0.1"
You can’t perform that action at this time.
0 commit comments