12 lines
385 B
TypeScript
12 lines
385 B
TypeScript
import type { DummyRuleMap } from "oxlint";
|
|
|
|
const functionalRules: DummyRuleMap = {
|
|
"functional/immutable-data": "error",
|
|
"functional/no-let": "error",
|
|
"functional/no-throw-statements": "error",
|
|
"functional/no-try-statements": "error",
|
|
"functional/prefer-property-signatures": "error",
|
|
"functional/readonly-type": ["error", "generic"],
|
|
};
|
|
|
|
export default functionalRules;
|