0.0.2
en cours: règles ESLint/Oxlint - eslint OK - imports EN COURS
This commit is contained in:
parent
63781a6119
commit
93dd909919
14 changed files with 2293 additions and 1509 deletions
12
rules/functional.ts
Normal file
12
rules/functional.ts
Normal file
|
|
@ -0,0 +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"],
|
||||
};
|
||||
|
||||
export default functionalRules;
|
||||
Loading…
Add table
Add a link
Reference in a new issue