You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have in one of my file the following line: const hasOwnProperty = Object.prototype.hasOwnProperty;
This cause eslint rule check to failure with error: TypeError: this.styleSheets[styleSheetName].filter is not a function
Rule: "react-native/no-unused-styles"
at StyleSheets.markAsUsed (/node_modules/eslint-plugin-react-native/lib/util/stylesheet.js:37:8)
at /node_modules/eslint-plugin-react-native/lib/rules/no-unused-styles.js:57:23
at Set.forEach (<anonymous>)
The text was updated successfully, but these errors were encountered:
Romick2005
added a commit
to Romick2005/eslint-plugin-react-native
that referenced
this issue
Sep 20, 2022
I have in one of my file the following line:
const hasOwnProperty = Object.prototype.hasOwnProperty;
This cause eslint rule check to failure with error:
TypeError: this.styleSheets[styleSheetName].filter is not a function
The text was updated successfully, but these errors were encountered: