Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eslint-plugin] Stop warning for head element in app/layout on Windows (
#42336) ## Bug ![image](https://user-images.githubusercontent.com/13413409/199451248-051751e5-0a5b-4ee0-bcae-05d2933f0090.png) When trying to use app directory on Windows, the automatically created `Layout.tsx` get's a lint problem for having a `<head>` element. ## Solution Update the rule to check paths using `path.sep` rather than hardcoded `/` I also checked with `path.posix.sep` because some other rules was doing that (both `path.sep` and `path.posix.sep`), so I'm just following pattern
- Loading branch information