Commit 6ae0f72 1 parent e9b8681 commit 6ae0f72 Copy full SHA for 6ae0f72
File tree 6 files changed +35
-7
lines changed
6 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module.exports = {
11
11
] ,
12
12
env : {
13
13
'es2020' : true ,
14
+ 'node' : true ,
14
15
} ,
15
16
parserOptions : {
16
17
sourceType : 'module' ,
@@ -19,6 +20,7 @@ module.exports = {
19
20
'max-len' : [ 'error' , {
20
21
code : 60 ,
21
22
ignoreRegExpLiterals : true ,
22
- } ]
23
+ ignoreUrls : true ,
24
+ } ] ,
23
25
} ,
24
26
} ;
Original file line number Diff line number Diff line change
1
+ # Autoformatter friendly markdownlint config (all formatting rules disabled)
2
+ default : true
3
+ blank_lines : false
4
+ bullet : false
5
+ html : false
6
+ indentation : false
7
+ line_length : false
8
+ spaces : false
9
+ url : false
10
+ whitespace : false
Original file line number Diff line number Diff line change
1
+ * out
2
+ * logs
3
+ plugins
4
+ user_trunk.yaml
Original file line number Diff line number Diff line change
1
+ version : 0.1
2
+ cli :
3
+ version : 0.16.1-beta
4
+ lint :
5
+ disabled :
6
+ - prettier
7
+ enabled :
8
+ - actionlint@1.6.15
9
+ - git-diff-check@SYSTEM
10
+ - gitleaks@8.11.0
11
+ - markdownlint@0.32.1
12
+ - eslint@8.22.0
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"build" : " tsc" ,
9
9
"test" : " c8 --config=etc/c8rc.json ava --config=etc/ava.config.mjs" ,
10
- "lint" : " eslint --config=etc/eslintrc.cjs -- ext=.ts src tests"
10
+ "lint" : " eslint --ext=.ts src tests"
11
11
},
12
12
"author" : " Jonathan Garbee <jonathan@garbee.me>" ,
13
13
"license" : " Unlicense" ,
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ const minutePattern = /(?<minute>[0-5]\d)/;
37
37
const secondsPattern = / (?< seconds > ( [ 0 - 5 ] \d ) | 6 0 ) / ;
38
38
/**
39
39
* Millisesconds have no defined precision.
40
- * Allowing for up to 8 since this has been seen from Java .
41
- * It may increase if another language allows for more
42
- * specificity than that.
43
- * From 0-99999999 .
40
+ * Allowing for up to 9 since this gets to nanoseconds .
41
+ * Going beyond nanoseconds seems unreasonable to expect:
42
+ * https://nickb.dev/blog/iso8601-and-nanosecond-precision-across-languages/
43
+ * From 0-999999999 .
44
44
* The period to denote them is required if MS are present.
45
45
*/
46
- const millisecondsPattern = / (?: \. (?< milliseconds > \d { 1 , 8 } ) ) ? / ;
46
+ const millisecondsPattern = / (?: \. (?< milliseconds > \d { 1 , 9 } ) ) ? / ;
47
47
48
48
/**
49
49
* Timezone is complex and difficult to break down further
You can’t perform that action at this time.
0 commit comments