Disable preflight eslint check, so you can just check it in your code editor and CI.
npm i -D rescript-disable-eslint
Set up rescript as how its document said, then add 'disable-eslint'
to the list, for example:
"rescripts": [
[
"use-babel-config",
".babelrc.js"
],
"disable-eslint",
"worker-loader"
],