@princed/rescript-disable-eslint

Enable web worker-loader for your create-react-app project.

Usage no npm install needed!

<script type="module">
  import princedRescriptDisableEslint from 'https://cdn.skypack.dev/@princed/rescript-disable-eslint';
</script>

README

rescript-disable-eslint

Disable preflight eslint check, so you can just check it in your code editor and CI.

Usage

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"
  ],