Skip to content

Commit 4ec3371

Browse files
committed
Fix lint for parameter decorator fixtures
1 parent 64548d1 commit 4ec3371

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.eslintrc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
module.exports = {
44
root: true,
5+
ignorePatterns: [
6+
// These fixtures intentionally exercise AssemblyScript-only syntax that
7+
// TypeScript's parser rejects before lint rules can run.
8+
"tests/compiler/parameter-decorators.ts",
9+
"tests/transform/parameter-decorators.ts"
10+
],
511
parser: "@typescript-eslint/parser",
612
plugins: [
713
"@typescript-eslint",

src/program.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ import {
129129
IndexSignatureNode,
130130
InterfaceDeclaration,
131131
MethodDeclaration,
132-
ModuleDeclaration,
133132
NamespaceDeclaration,
134133
ReturnStatement,
135134
SwitchCase,

0 commit comments

Comments
 (0)