Skip to content
Snippets Groups Projects
Unverified Commit 98a32432 authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Disable ESLint in CI again (#869)

This should speed up builds in CI, and must not have gotten caught when
upgrading `react-scripts`.
ref: arackaf/customize-cra#278
parent 7abbdcc5
No related branches found
No related tags found
No related merge requests found
...@@ -2,16 +2,18 @@ const path = require('path'); ...@@ -2,16 +2,18 @@ const path = require('path');
const { const {
addWebpackResolve, addWebpackResolve,
disableEsLint,
override, override,
overrideDevServer, overrideDevServer,
babelInclude, babelInclude,
} = require('customize-cra'); } = require('customize-cra');
if (process.env.CI) {
process.env.DISABLE_ESLINT_PLUGIN = 'true';
}
module.exports = { module.exports = {
webpack: override( webpack: override(
babelInclude([path.resolve('src'), path.resolve('../loot-core')]), babelInclude([path.resolve('src'), path.resolve('../loot-core')]),
process.env.CI && disableEsLint(),
addWebpackResolve({ addWebpackResolve({
extensions: [ extensions: [
...(process.env.IS_GENERIC_BROWSER ...(process.env.IS_GENERIC_BROWSER
......
---
category: Maintenance
authors: [j-f1]
---
Disable ESLint when building in CI (since we have a separate linting job)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment