Skip to content

Commit

Permalink
ci-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nealmanaktola authored and donaldchen committed Mar 28, 2023
1 parent 293273d commit 413cae3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
plugins: ['react', 'react-native', 'import', '@typescript-eslint'],
rules: {
'no-console': 'off',
'no-unused-vars': 'off',
// Lines will be broken before binary operators
'operator-linebreak': ['error', 'before'],
// Allow imports from dev and peer dependencies
Expand Down Expand Up @@ -61,7 +62,10 @@ module.exports = {
],
'@typescript-eslint/no-unused-vars': [
'error',
{ ignoreRestSiblings: true },
{
ignoreRestSiblings: true,
argsIgnorePattern: "^_"
},
],
'@typescript-eslint/consistent-type-definitions': [
'error',
Expand Down
1 change: 1 addition & 0 deletions src/addOnMessageListenerWithWebViewKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const scriptMessageEmitter = new NativeEventEmitter(
})
);

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export default function addOnMessageListenerWithWebViewKey(webViewKey: string, listener: (event: any) => void): EmitterSubscription {
return scriptMessageEmitter.addListener('ReactNativeWebViewOnMessageWithWebViewKey', (eventData) => {
if (eventData.webViewKey === webViewKey) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 413cae3

Please sign in to comment.