Skip to content

Commit

Permalink
Remove strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Sep 5, 2024
1 parent ebeb4c8 commit 3e4c6e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions packages/compat/src/fixup-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export function fixupRule(ruleDefinition) {
currentNode =
args[methodName === "onCodePathSegmentLoop" ? 2 : 1];

// @ts-expect-error -- method.call is any from Object.entries, but we know its type is fine
return method.call(visitor, ...args);
};

Expand All @@ -172,7 +171,6 @@ export function fixupRule(ruleDefinition) {
visitor[methodName] = (...args) => {
currentNode = args[0];

// @ts-expect-error -- method.call is any from Object.entries, but we know its type is fine
return method.call(visitor, ...args);
};
}
Expand Down
8 changes: 1 addition & 7 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
"emitDeclarationOnly": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"target": "ES2022",

// TODO: Over time, enable these strict options
"noImplicitAny": false,
"strictNullChecks": false,
"useUnknownInCatchVariables": false
"target": "ES2022"
}
}

0 comments on commit 3e4c6e5

Please sign in to comment.