2026-04-03
- eslint OK - import OK - jsdoc OK - node OK - oxc OK - promise OK
This commit is contained in:
parent
93dd909919
commit
09b660d265
22 changed files with 2250 additions and 1597 deletions
|
|
@ -1,12 +1,12 @@
|
|||
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"],
|
||||
"functional/immutable-data": "deny",
|
||||
"functional/no-let": "deny",
|
||||
"functional/no-throw-statements": "deny",
|
||||
"functional/no-try-statements": "deny",
|
||||
"functional/prefer-property-signatures": "deny",
|
||||
"functional/readonly-type": ["deny", "generic"],
|
||||
};
|
||||
|
||||
export default functionalRules;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue