File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
maintenance/projects/senna
projects/js-toolkit/packages/dev-server/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ module.exports = {
1212 rules : {
1313 '@liferay/no-abbreviations' : 'off' ,
1414 '@liferay/no-it-should' : 'warn' ,
15+ '@liferay/no-use-strict-in-module' : 'off' ,
1516 'curly' : 'warn' ,
1617 'default-case' : 'warn' ,
1718 'no-console' : 'warn' ,
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ function setupLiveSession(): void {
4646const CLOSE_BODY_TAG = '</body>' ;
4747const RELOAD_SNIPPET = `<script>(${ setupLiveSession . toString ( ) } )();</script>` ;
4848
49- export default ( content : string ) : string => {
49+ export default function ( content : string ) : string {
5050 return content . replace (
5151 CLOSE_BODY_TAG ,
5252 `${ RELOAD_SNIPPET } ${ CLOSE_BODY_TAG } `
5353 ) ;
54- } ;
54+ }
You can’t perform that action at this time.
0 commit comments