File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ module.exports = {
31
31
'@typescript-eslint/no-explicit-any' : 'off' ,
32
32
'@typescript-eslint/ban-ts-comment' : 'off' ,
33
33
'svelte/no-at-html-tags' : 'off' ,
34
- 'svelte/valid-compile' : 'off'
34
+ 'svelte/valid-compile' : 'off' ,
35
+ '@typescript-eslint/no-non-null-assertion' : 'off'
35
36
}
36
37
} ;
Original file line number Diff line number Diff line change 1
1
import Notification from './Notification.svelte' ;
2
- import type { ComponentConstructorOptions , SvelteComponent } from 'svelte' ;
2
+ import type { SvelteComponent } from 'svelte' ;
3
3
4
4
type NotifyPlacement = 'right-top' | 'left-top' | 'right-bottom' | 'left-bottom' | 'center' ;
5
5
type NotifyType = 'info' | 'warning' | 'error' | 'success' ;
Original file line number Diff line number Diff line change @@ -10,5 +10,9 @@ const commitRE =
10
10
11
11
if ( ! commitRE . test ( msg ) ) {
12
12
log ( 'error' , 'commit format error' ) ;
13
+ log (
14
+ 'error' ,
15
+ 'update|optimizate|feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release'
16
+ ) ;
13
17
process . exit ( 1 ) ;
14
18
}
You can’t perform that action at this time.
0 commit comments