Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix eslint react warning

Sara Vieiraacd7f034344a
diff --git a/.eslintrc.json b/.eslintrc.json
index 70a12f47d9..510077c177 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -19,6 +19,11 @@
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
+ "settings": {
+ "react": {
+ "version": "detect"
+ }
+ },
"rules": {
// It's too dumb to understand properly what's defined in ts
"react/prop-types": 0,