Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WRR-1005: Updated Eslint to version 9 #359

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## unreleased

### lint

* Updated Enact ESLint config to `9.1.5` including eslint related modules and set temporary ESLINT_USE_FLAT_CONFIG env variable.

### pack

* Changed classnames to be hashed when production build.
Expand Down
2 changes: 2 additions & 0 deletions commands/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const globOpts = {
nodir: true
};

process.env.ESLINT_USE_FLAT_CONFIG = 'false';

function displayHelp() {
let e = 'node ' + path.relative(process.cwd(), __filename);
if (require.main !== module) e = 'enact lint';
Expand Down
Loading