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

Support flat config #3081

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,
  // ......
];

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

ljharb commented Jan 25, 2025

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

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

ygysn commented Jan 25, 2025

Ok, sorry I made a duplicate pull request

@ygysn ygysn marked this pull request as ready for review January 26, 2025 05:22
Sign up for free to join this conversation on GitHub. 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