Skip to content

Commit 6472007

Browse files
chore: apply new lint rules
1 parent 24b8ab3 commit 6472007

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

maintenance/projects/senna/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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',

projects/js-toolkit/packages/dev-server/src/reload.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ function setupLiveSession(): void {
4646
const CLOSE_BODY_TAG = '</body>';
4747
const 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+
}

0 commit comments

Comments
 (0)