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
The ESLint formatter for Create React App currently outputs in this format:
src/components/entity/visits/VisitCategoriesDefaultPage.jsx
Line 55:9: Duplicate key 'content' no-dupe-keys
However, in VS Code's terminal, you are only able to click on the file path (and thus, are taken to the top of the file). Instead, I'd like to be taken to the exact line number.
One way to achieve this would have formatter include the line:column with the file, such as:
src/components/entity/visits/VisitCategoriesDefaultPage.jsx:55:9
Line 55:9: Duplicate key 'content' no-dupe-keys
Any ideas? For example, is it possible to choose a custom ESLint formatter (without having to eject)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The ESLint formatter for Create React App currently outputs in this format:
However, in VS Code's terminal, you are only able to click on the file path (and thus, are taken to the top of the file). Instead, I'd like to be taken to the exact line number.
One way to achieve this would have formatter include the line:column with the file, such as:
Any ideas? For example, is it possible to choose a custom ESLint formatter (without having to eject)?
Beta Was this translation helpful? Give feedback.
All reactions