mirror of
https://github.com/robonen/tools.git
synced 2026-03-20 19:04:46 +00:00
18 lines
265 B
TypeScript
18 lines
265 B
TypeScript
import type { OxlintConfig } from '../types';
|
|
|
|
/**
|
|
* Node.js-specific rules.
|
|
*/
|
|
export const node: OxlintConfig = {
|
|
plugins: ['node'],
|
|
|
|
env: {
|
|
node: true,
|
|
},
|
|
|
|
rules: {
|
|
'node/no-exports-assign': 'error',
|
|
'node/no-new-require': 'error',
|
|
},
|
|
};
|