mirror of
https://github.com/nodejs/node.git
synced 2025-04-28 05:25:19 +00:00

Refs: https://github.com/nodejs/node/pull/57314 PR-URL: https://github.com/nodejs/node/pull/57315 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
16 lines
282 B
JavaScript
16 lines
282 B
JavaScript
import { globals } from '../tools/eslint/eslint.config_utils.mjs';
|
|
|
|
export default [
|
|
{
|
|
files: ['benchmark/**/*.{js,mjs,cjs}'],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
},
|
|
},
|
|
rules: {
|
|
'prefer-arrow-callback': 'error',
|
|
},
|
|
},
|
|
];
|