Skip to content

Commit ab50f97

Browse files
Update editor-setup.md
1 parent eeef999 commit ab50f97

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/content/learn/editor-setup.md

-5
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,7 @@ React कम्यूनिटी में उपयोग होने वा
3838

3939
**सुनिश्चित करें कि आपने अपने प्रोजेक्ट के लिए सभी [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) नियमों को इनेबल कर दिया है।** वे महत्वपूर्ण होते हैं और सबसे गंभीर बग्स को जल्दी पकड़ते हैं। रिकमंडेड [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) प्रीसेट में वे पहले से शामिल हैं।
4040

41-
42-
<<<<<<< HEAD
4341
### फ़ॉर्मेटिंग {/*formatting*/}
44-
=======
45-
The last thing you want to do when sharing your code with another contributor is get into a discussion about [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces)! Fortunately, [Prettier](https://prettier.io/) will clean up your code by reformatting it to conform to preset, configurable rules. Run Prettier, and all your tabs will be converted to spaces—and your indentation, quotes, etc will also all be changed to conform to the configuration. In the ideal setup, Prettier will run when you save your file, quickly making these edits for you.
46-
>>>>>>> 97489434323b0c4cce78588cd0f48e3808e0eba4
4742

4843
किसी अन्य कंट्रीब्यूटर के साथ अपना कोड शेयर करते समय आखिरी चीज जो आप करना चाहते हैं वह है [टैब बनाम स्पेस](https://www.google.com/search?q=tabs+vs+spaces) के बारे में चर्चा करना! सौभाग्य से, [Prettier](https://prettier.io/) आपके कोड को पूर्व निर्धारित, विन्यास योग्य नियमों के अनुरूप फिर से फॉर्मेट करके साफ़ कर देगा। प्रीटियर चलाएँ, और आपके सभी टैब स्पेसेस में परिवर्तित हो जाएंगे - और आपके इंडेंटेशन, उद्धरण, आदि भी कॉन्फ़िगरेशन के अनुरूप बदल दिए जाएंगे। आदर्श सेटअप में, जब आप अपनी फ़ाइल सहेजेंगे तो प्रीटियर चलेगा, और आपके लिए ये संपादन शीघ्रता से करेगा
4944

0 commit comments

Comments
 (0)