-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: clean up eslint config (#558)
* chore: remove extreneous lint rules and ignore statements * chore: add rule to sort imports alphabetically
- Loading branch information
Showing
15 changed files
with
55 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
// eslint-disable-next-line import/no-unassigned-import | ||
import './globals.scss' | ||
|
||
export const metadata = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ import type { Key } from '../vendor/deno.land/x/[email protected]/index.ts' | |
import { compile, pathToRegexp } from '../vendor/deno.land/x/[email protected]/index.ts' | ||
import { getCookies } from '../vendor/deno.land/[email protected]/http/cookie.ts' | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ Inlined/re-implemented types │ | ||
└─────────────────────────────────────────────────────────────────────────┘ | ||
|
@@ -86,7 +86,7 @@ export type RoutesManifest = { | |
dynamicRoutes: DynamicRoute[] | ||
} | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ packages/next/src/shared/lib/escape-regexp.ts │ | ||
└─────────────────────────────────────────────────────────────────────────┘ | ||
|
@@ -104,7 +104,7 @@ export function escapeStringRegexp(str: string) { | |
return str | ||
} | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ packages/next/src/shared/lib/router/utils/querystring.ts │ | ||
└─────────────────────────────────────────────────────────────────────────┘ | ||
|
@@ -125,7 +125,7 @@ export function searchParamsToUrlQuery(searchParams: URLSearchParams): ParsedUrl | |
return query | ||
} | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ packages/next/src/shared/lib/router/utils/parse-url.ts │ | ||
└─────────────────────────────────────────────────────────────────────────┘ | ||
|
@@ -156,7 +156,7 @@ export function parseUrl(url: string): ParsedUrl { | |
} | ||
} | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ packages/next/src/shared/lib/router/utils/prepare-destination.ts │ | ||
│ — Changed to use WHATWG Fetch `Request` instead of │ | ||
|
@@ -392,7 +392,7 @@ function unescapeSegments(str: string) { | |
return str.replace(/__ESC_COLON_/gi, ':') | ||
} | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ packages/next/src/shared/lib/router/utils/is-dynamic.ts │ | ||
└─────────────────────────────────────────────────────────────────────────┘ | ||
|
@@ -404,7 +404,7 @@ export function isDynamicRoute(route: string): boolean { | |
return TEST_ROUTE.test(route) | ||
} | ||
|
||
/* | ||
/* | ||
┌─────────────────────────────────────────────────────────────────────────┐ | ||
│ packages/next/shared/lib/router/utils/middleware-route-matcher.ts │ | ||
└─────────────────────────────────────────────────────────────────────────┘ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
tests/fixtures/nx-integrated/apps/custom-dist-dir/next.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters