Skip to content

Support flat config #3081

New issue

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

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

Already on ? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Support flat config #3081

wants to merge 9 commits into from

Conversation

ygysn
Copy link

@ygysn ygysn commented Jan 25, 2025

Pull request for support flat config.

Example:

// eslint.config.cjs
const airbnb = require('eslint-config-airbnb/flat');

module.exports = [
  ...airbnb,
  // ......
];
// eslint.config.mjs
import airbnb from 'eslint-config-airbnb/flat';

export default [
  ...airbnb,
  // ......
];

@ygysnygysn changed the title Support flat config and remove duplicate code Support flat config Jan 25, 2025
@ljharbljharb mentioned this pull request Jan 25, 2025
@ljharb
Copy link
Collaborator

Please do not file duplicate pull requests; if you want to change one, reuse it.

@ygysnygysn marked this pull request as draft January 25, 2025 22:03
@ygysn
Copy link
Author

Ok, sorry I made a duplicate pull request

@ygysnygysn marked this pull request as ready for review January 26, 2025 05:22
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants