Skip to content

Releases: dilanx/craco

v6.0.0

08 Dec 15:55
Compare
Choose a tag to compare
  • Support for .cracorc and .cracorc.js #223
  • Support of EsLint with CRA4 #219

Migration Path from 5.8.0

Eslint-loader has been deleted from create-react-app in version 4.0. Now eslint is being delivered through eslint-webpack-plugin, not eslint-loader.
View Changes.

The property loaderOptions is now named pluginOptions

CRACO 5.8

    eslint: {
        enable: true /* (default value) */,
        mode: "extends" /* (default value) */ || "file",
        configure: { /* Any eslint configuration options: https://eslint.org/docs/user-guide/configuring */ },
        configure: (eslintConfig, { env, paths }) => { return eslintConfig; },
        --> loaderOptions: { /* Any eslint-loader configuration options: https://github.com/webpack-contrib/eslint-loader. */ },
        --> loaderOptions: (eslintOptions, { env, paths }) => { return eslintOptions; }
    },

CRACO 6.0

    eslint: {
        enable: true /* (default value) */,
        mode: "extends" /* (default value) */ || "file",
        configure: { /* Any eslint configuration options: https://eslint.org/docs/user-guide/configuring */ },
        configure: (eslintConfig, { env, paths }) => { return eslintConfig; },
        --> pluginOptions: { /* Any eslint-loader configuration options: https://eslint.org/docs/developer-guide/nodejs-api#%E2%97%86-new-eslint-options. */ },
        --> pluginOptions: (eslintOptions, { env, paths }) => { return eslintOptions; }
    },

v5.9.0

30 Nov 15:07
Compare
Choose a tag to compare

Support jsx-runtime for jest babel transform #216

v5.8.0

06 Nov 15:21
Compare
Choose a tag to compare

Released:

#207
#203

v5.7.0

27 Sep 22:17
Compare
Choose a tag to compare

Released:

#196
#195
Fix for #144