Skip to content

Commit 0876121

Browse files
authored
chore: fix linting error (#251)
1 parent b925331 commit 0876121

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

eslint.config.mjs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,9 @@ export default [
154154

155155
"node/no-extraneous-import": ["error"],
156156

157-
"node/file-extension-in-import": [
158-
"error",
159-
"always",
160-
{
161-
".js": "never",
162-
".ts": "never",
163-
".tsx": "never",
164-
},
165-
],
157+
"node/file-extension-in-import": ["off"],
166158

167-
"node/no-missing-import": ["error"],
159+
"node/no-missing-import": ["off"],
168160
"node/no-unpublished-import": ["error"],
169161
"node/exports-style": ["error", "module.exports"],
170162
"node/no-callback-literal": ["off"],

src/script/generic.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import type {
66
VElement,
77
VGenericExpression,
88
} from "../ast/index"
9-
// eslint-disable-next-line node/no-extraneous-import -- ignore
109
import type { TSESTree } from "@typescript-eslint/utils"
1110
import type {
1211
Reference,

src/script/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ import { DEFAULT_ECMA_VERSION } from "../script-setup/parser-options"
5454
import type { LinesAndColumns } from "../common/lines-and-columns"
5555
import type { ParserObject } from "../common/parser-object"
5656
import { isEnhancedParserObject, isParserObject } from "../common/parser-object"
57-
// eslint-disable-next-line node/no-extraneous-import -- ignore
5857
import type { TSESTree } from "@typescript-eslint/utils"
5958
import type { GenericProcessInfo } from "./generic"
6059
import { extractGeneric } from "./generic"

typings/esquery/index.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
* See LICENSE file in root directory for full license.
55
*/
66

7-
import type { Node } from "../../src/ast"
8-
// eslint-disable-next-line @mysticatea/node/no-missing-import
9-
import type { VisitorKeys } from "../eslint-visitor-keys"
7+
import type { Node } from "../../src/ast/index"
8+
import type { VisitorKeys } from "eslint-visitor-keys"
109

1110
export type Selector =
1211
| AdjacentSelector

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy