mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-05 22:56:11 +00:00
refactor: update eslint disable comments after config changes (#2602)
# Summary * update eslint-disable comments after config changes * run bundle exec pod install in tests-example
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import React from 'react';
|
||||
|
||||
import ColorTest from './ColorTest';
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -24,6 +24,7 @@ export function isUriAnAndroidResourceIdentifier(uri?: string) {
|
||||
|
||||
export async function loadAndroidRawResource(uri: string) {
|
||||
try {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const RNSVGRenderableModule: any =
|
||||
// neeeded for new arch
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
|
||||
@@ -182,6 +182,7 @@ export default class Svg extends Shape<SvgProps> {
|
||||
props.transform = gStyle.transform;
|
||||
gStyle.transform = undefined;
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
props.transform = extractTransformSvgView(props as any);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user