Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
1 answer
6k views

Setting up Auto Format on Save easily in VS Code (Visual Studio Code) for Expo React-Native

Is there a quick guide / tutorial for how to easily set up auto-code-formatting, eslint/prettier, etc. in vscode? (Specifically for code formatting of React, React-Native projects). Simply downloading ...
Masud Ahmed's user avatar
0 votes
0 answers
75 views

How do I change eslint styling organization from alphabetical?

I am using eslint to organize my styling code, but was wondering if there are different options other than alphabetical styling ordering. Currently eslint suggests I change this: Tag: { display: &...
Nick Friesen's user avatar
0 votes
1 answer
1k views

How to Set Up ESLint, Prettier, and TypeScript in React Native - Initial Configuration

I would like to ask about the initial setup for ESLint, Prettier, and TypeScript in React Native. Currently, I am using absolute paths to specify components. Could you please confirm if I am using ...
DONGNYEONG's user avatar
-1 votes
1 answer
2k views

Eslint giving error on the first line of file

What is this error on the first line of the file it came up on every file and when I hover over it, it says: Parsing error: require() of ES Module F:\web\React Native\dog_food\node_modules\eslint-...
Ramiz Qazi's user avatar
2 votes
2 answers
3k views

eslint / prettier / eslint-config-react-native-community integration with prettier extension in VS Code

So, I am trying to use ESlint in my react native project. I want to be able to use prettier extension. I have used this command to install my packages npm i -D eslint prettier @react-native-community/...
Piyush Aggarwal's user avatar