Invalid position given by 'prettier/prettier'
MarwaShwani opened this issue · comments
ESLint returned a point that did not exist in the document being edited.
Rule: prettier/prettier
Requested start point: 1:2 - 1:4
Debug information:
//
import React from 'react';
import {AppRegistry} from 'react-native';
import Header from './src/component/header';
//create a component
const App = () => {
return (
);
};
AppRegistry.registerComponent( 'album', () => App );
Run this line "npm run lint -- --fix" on the command terminal after saving the project.
Is this still an issue?
Yes, I can reproduce it in the package-deps repo.
Duplicate of #1249