Dont use CommonJS (require, module.exports) anywhere (#24913)

This commit is contained in:
Renaud Chaput
2023-05-09 03:08:47 +02:00
committed by GitHub
parent 89269e4b71
commit 955179fc55
17 changed files with 79 additions and 41 deletions

View File

@ -1,3 +1,6 @@
/* eslint-disable import/no-commonjs --
We need to use CommonJS here as its imported into a preval file (`emoji_compressed.js`) */
/* @preval */
const fs = require('fs');