2026-04-03
- eslint OK - import OK - jsdoc OK - node OK - oxc OK - promise OK
This commit is contained in:
parent
93dd909919
commit
7e91de4cb2
22 changed files with 2703 additions and 1600 deletions
12
rules/node.ts
Normal file
12
rules/node.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import type { DummyRuleMap } from "oxlint";
|
||||
|
||||
const nodeRules: DummyRuleMap = {
|
||||
"node/global-require": "deny",
|
||||
"node/handle-callback-err": "allow",
|
||||
"node/no-exports-assign": "deny",
|
||||
"node/no-new-require": "deny",
|
||||
"node/no-path-concat": "deny",
|
||||
"node/no-process-env": "deny",
|
||||
};
|
||||
|
||||
export default nodeRules;
|
||||
Loading…
Add table
Add a link
Reference in a new issue