-
Notifications
You must be signed in to change notification settings - Fork 53
Migrate to ESLint 9 with flat config #5690
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
base: master
Are you sure you want to change the base?
Conversation
|
Co-authored-by: jmfrancois <19857479+jmfrancois@users.noreply.github.com>
Co-authored-by: jmfrancois <19857479+jmfrancois@users.noreply.github.com>
Co-authored-by: jmfrancois <19857479+jmfrancois@users.noreply.github.com>
Co-authored-by: jmfrancois <19857479+jmfrancois@users.noreply.github.com>
… and JSON syntax Co-authored-by: jmfrancois <19857479+jmfrancois@users.noreply.github.com>
|
Storybook for this PR deployed on this github page |
Migrates from ESLint 8 (EOL) to ESLint 9 using the new flat config format. Removes the
talend-scripts lintabstraction in favor of direct ESLint invocation.Changes
@talend/eslint-config
.eslintrc.jsontoeslint.config.jsflat config format@talend/scripts-core
lintcommand with deprecation messageexit(1)All packages (36 modified)
"talend-scripts lint"to"eslint ."eslint.config.jsreferencing shared config in each package (51 total)Usage
Before:
{ "scripts": { "lint": "talend-scripts lint ./src/**/*.js" } }After:
{ "scripts": { "lint": "eslint ." } }With optional customization:
Breaking Changes
talend-scripts lintcommand removed.eslintrc.*files ignored by ESLint 9)Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.