Skip to content

Commit

Permalink
chore: remove lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnwesson committed Mar 1, 2024
1 parent a3cc567 commit d664423
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (fs.existsSync(appEnvConfigPathJs)) {
envConfigPath = appEnvConfigPathJs;
} else if (fs.existsSync(appEnvConfigPathJsx)) {
envConfigPath = appEnvConfigPathJsx;
};
}

module.exports = {
testURL: 'http://localhost/',
Expand Down
6 changes: 3 additions & 3 deletions config/webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ const resolvePrivateEnvConfig = require('../lib/resolvePrivateEnvConfig');
const getLocalAliases = require('./getLocalAliases');

// Provides the env.config object that is available in local development so that devserver port number
// can be assigned below. If no env.config exists (JS or JSX), then it provides an empty object.
// can be assigned below. If no env.config exists (JS or JSX), then it provides an empty object.
let envConfig = {};
const envConfigPathJs = path.resolve(process.cwd(),'./env.config.js');
const envConfigPathJs = path.resolve(process.cwd(), './env.config.js');
const envConfigPathJsx = path.resolve(process.cwd(), './env.config.jsx');

if (fs.existsSync(envConfigPathJs)) {
envConfig = require(envConfigPathJs);
} else if (fs.existsSync(envConfigPathJsx)) {
envConfig = require(envConfigPathJsx);
};
}

// Add process env vars. Currently used only for setting the
// server port and the publicPath
Expand Down
4 changes: 2 additions & 2 deletions config/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ if (envConfigPath) {
const envConfigFilename = envConfigPath.slice(envConfigPath.indexOf('env.config'));
fs.copyFileSync(envConfigPath, envConfigFilename);

let newConfigFilepath = path.resolve(process.cwd(), envConfigFilename);
const newConfigFilepath = path.resolve(process.cwd(), envConfigFilename);
envConfig = require(newConfigFilepath);
};
}

// Add process env vars. Currently used only for setting the PUBLIC_PATH.
dotenv.config({
Expand Down

0 comments on commit d664423

Please sign in to comment.