0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 20:29:23 +01:00
nodejs/benchmark/eslint.config_partial.mjs

18 lines
332 B
JavaScript
Raw Normal View History

import { requireEslintTool } from '../tools/eslint.config_utils.mjs';
const globals = requireEslintTool('globals');
export default [
{
files: ['benchmark/**/*.{js,mjs,cjs}'],
languageOptions: {
globals: {
...globals.node,
},
},
rules: {
'prefer-arrow-callback': 'error',
},
},
];